When no version is specified, reuse existing locked versions #12046
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-add
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
When developing #12039, I ran
cargo add clap
into the xtask but that picked the latest clap version, causing more churn to the lockfile than I thought was appropriate for my change.Proposed Solution
Check the lockfile for the highest version that is semver compatible with the latest version.
clap
" problem (criterion)Alternatives
Notes
See also killercup/cargo-edit#41
The text was updated successfully, but these errors were encountered: