Skip to content
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

Cargo has built in install+upgrade functionality #130

Closed
hayalci opened this issue Mar 24, 2020 · 2 comments
Closed

Cargo has built in install+upgrade functionality #130

hayalci opened this issue Mar 24, 2020 · 2 comments
Labels

Comments

@hayalci
Copy link

hayalci commented Mar 24, 2020

cargo install command in stable cargo now supports install+upgrade functionality

e.g. https://doc.rust-lang.org/stable/cargo/commands/cargo-install.html

EXAMPLES
Install or upgrade a package from crates.io:
$ cargo install ripgrep

This was covered in rust-lang/cargo#6797 and PR rust-lang/cargo#7560

It doesn't cover the 'upgrade all packages' use case, but it's still a good idea to mention this development in the repository README.md.

@nabijaczleweli
Copy link
Owner

Thanks for the heads-up!

From a cursory glance and a short test, this doesn't seem much different from cargo's behaviour heretofor, except for adding another file with god-knows-what; at least it doesn't look like we have to parse it.

@nabijaczleweli
Copy link
Owner

Released in v4.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants