Skip to content

Conversation

sorairolake
Copy link
Contributor

@sorairolake sorairolake commented Sep 20, 2025

The rust-version field defines the MSRV of the crate. I think this is especially useful for library crates.

See https://doc.rust-lang.org/cargo/reference/rust-version.html for more detail about this field.

@oconnor663
Copy link
Member

My habit has been not to set this when it's just a maximum of the MSRV of dependencies (as opposed to some recent language/stdlib feature that this crate is using itself). It seems like it tends to become stale over time as dependencies publish new versions. Is there a "community consensus" about how to manage this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants