-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
crate home MSRV bumped in "compatible version" #14944
Comments
cc @ehuss |
MSRV bumps are generally recognized as minor, not major changes, see https://doc.rust-lang.org/nightly/cargo/reference/semver.html#env-new-rust |
We previously discussed this in #13270. Per that discussion, I'm closing this. |
This is reasonable, while I'd ask a bit details on cargo's mechanism. When I specify "foo = 1.2", will it gets auto resolved to 1.3.x? That is, when I specify "home = 0.5.9", it could be resolved to "home = 0.5.11". But if we specify "foo = 1.2", it would only resolves to 1.2.x? If so, then "minor changes" means different things in these two situations. |
That said, you can bump MSRV when bump 1.2 to 1.3, and build won't break with the most common dependency string. But from 0.5.9 to 0.5.11 does. |
I see https://doc.rust-lang.org/nightly/cargo/reference/resolver.html#semver-compatibility
Then I'm fine with Rust's definition now .. let me see how to get used to it. |
Build environment changes are not usually included in semver in Rust. If not, Rust itself would be on v20 or so with glibc, AndroidNDK, Linux Kernel, etc changes. Foundational crates like In 1.84 we'll have an opt-in MSRV-aware resolver. You can have it generate your lockfile and than use whatever version of Cargo you want. |
Cool! Is there a tracking issue I can watch on? |
Missed that one |
The sudden version restriction is causing problems with my builds too. |
|
I don't use the home crate directly. |
I've identified the cause. |
Problem
I have this dependency in
cargo.toml
:Such breaking changes deserve 0.6.0.
Steps
Possible Solution(s)
yank 0.5.11 and release 0.6.0
Notes
No response
Version
The text was updated successfully, but these errors were encountered: