-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify MSRV #101
Specify MSRV #101
Conversation
That would be a great plan if rust-version affected version selection, but it does not. |
In general, I'm not against, but you'd need |
Ah dammit, I thought I'd read that somewhere!
It was stabilized in |
https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field @kchibisov It says 1.56 here. As @Lokathor notes, this setting (afaik) only produces more helpful error messages, akin to "your rust compiler version is too low" rather than bailing on unstabilized std interfaces or unknown/disallowed syntax (for example) that is generally very hard to parse/understand for end-users/consumers. |
There's other MSRV elsewhere and I do not want to get into it much here but the short story is that a number of people are motivated to make Until then I'm happy to at least have the version set... but the rest of it about msrv bumps only being minor version bumps, that I'm not sure I'm willing to agree with. Sound good to everyone? |
@Lokathor When that happens, that'll be the MSRV on which resolution according to |
The user would need the newer (probably! the feature isn't precisely designed or implemented yet after all.) |
I also don't predict much need to move with msrv for this crate long term since the idea is to just be a data carrier in as plain a way as possible. Ideally once things are set we stop touching them, and new window managers come out rarely. |
The |
The only bump that will happen is when |
Which will be possible in 1.64: rust-lang/rust#94501 |
Note that the intention here is that bumping MSRV is not a breaking change! An example:
v0.5.1
with therust-version
field specified.rust-version
, and releasev0.5.2
v0.5.1
EDIT: Forget that.