Cargo is Rust’s superb package manager and can be used both for installing rust packages and managing a crate’s dependencies.
binstall
If you would rather not compile every package you install with cargo from source, you can utilize cargo-binstall.
Simply install it
cargo install cargo-binstallThen replace cargo install with cargo binstall for every installation command.
Note that there has to be a binary package available.
update
Cargo doesn’t have a native update command. Normally you would simply perform another install command instead.
There is a package, though. Install it using binstall.
cargo binstall cargo-updateTo now update all packages, simply do
cargo install-update -a