-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
When no version is specified, reuse existing locked versions #12046
Comments
I originally rejected killercup/cargo-edit#41 because of workspace inheritance but I find that I don't tend to use it for dependencies, preferring to keep that information more local |
I wouldn't even oppose to having an opt-in option to use older versions. |
Flags work well when the user runs the command very regularly or if they realize they missed it and can go back, find it, and run it again. Thats not the case with Flags also come with a cost. The more knobs you offer users, the more they have to search for to find what they are doing or give up and not use the nice feature. The more features we add, the lower the value users get for that feature and every other feature in By default
#10608 is exploring heuristics to add dependencies to There is no |
While I previously avoided from #15180 (comment)
|
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
We already will auto pick
workspace.dependencies
See also killercup/cargo-edit#41
The text was updated successfully, but these errors were encountered: