4 releases (2 breaking)
0.3.0 | Mar 5, 2023 |
---|---|
0.2.0 | Feb 25, 2023 |
0.1.1 | Feb 25, 2023 |
0.1.0 | Feb 25, 2023 |
#657 in Cargo plugins
610KB
254 lines
Cargo Upgrade
This tool is designed to help you upgrade your globally installed cargo binaries to the latest version.
Installation
cargo install cargo-upgrade-command
Available Commands
cargo upgrade
This command will upgrade all of your globally installed cargo binaries to the latest version.
cargo upgrade --outdated
This command will show you if any of your globally installed cargo binaries are out of date.
alias: cargo upgrade -o
or cargo upgrade o
or cargo upgrade list
How it works
To get outdated binaries, it will parse cargo install --list
and then compare the version of each crate with the version in cargo search <crate> --limit=1
.
Then if upgrading, it will run cargo install --locked <crate>
.
Dependencies
~0.1–10MB
~44K SLoC