mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

Respect `package.rust-version` when generating lockfile, so that a package with an old MSRV will never get an incompatible lockfile, even when using the latest Cargo. Users are still able to edit the `version` field in the lockfile manually, if they intend to switch to a specific lockfile version.