-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Cargo install has no way of upgrading #1997
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
Comments
I just had to deal with this again yesterday... It would also be kind of nice to have |
FWIW, there's a (non official) Cargo subcommand that does this. |
@japaric that's nice (it doesn't always compile tho...), but this should really be part of cargo proper and not relegated to a subcommand. |
Some related things I'd like from cargo:
I try to move toward repository versions of things once they land (e.g. This probably belongs in a separate RFC, but I feel it's relevant to the discussion here and I'd like to see resolution on this before submitting a separate RFC. |
@beatgammit https://crates.io/crates/cargo-update has all of that. |
Sweet, thanks! In that case, I'm on board with not doing this in Honestly, |
Is this still true? |
When |
rust-lang/cargo#9527 further expands on this to include updating all installed packages |
It'd be nice if there were a
cargo install --upgrade
or similar flag that wouldcargo install --force
a crate if its version has been bumped. This could be configured to only allow major, minor, or bugfix releases.The text was updated successfully, but these errors were encountered: