Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Declare minimum Rust version #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aborgna-q
Copy link

Adds the MSRV to Cargo.toml, so it gets listed on crates.io (and it can be read by the Rust-version aware resolver).

6422a96 updated the crate to edition 2024, so it only compiles with rust>=1.85.

The badge on the README will render the correct version once the next release is published.

@musicinmybrain
Copy link
Contributor

musicinmybrain commented Mar 18, 2025

Alternatively, you might choose to reconsider using edition 2024 so quickly, because you might not have intended to impose MSRV 1.85 on everything that uses this crate directly or indirectly (and doesn’t yet use the Rust-version-aware resolver).

Explicitly declaring an MSRV is a good idea, either way.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants