Crates.io | cargo-upgrades |
lib.rs | cargo-upgrades |
version | 2.1.2 |
source | src |
created_at | 2019-07-22 15:58:23.770476 |
updated_at | 2024-07-14 17:28:47.699982 |
description | Checks if dependencies in Cargo.toml are up to date. Compatible with workspaces and path dependencies. |
homepage | https://lib.rs/cargo-upgrades |
repository | https://gitlab.com/kornelski/cargo-upgrades |
max_upload_size | |
id | 150781 |
size | 42,070 |
cargo upgrades
Shows which dependencies in Cargo.toml
can be upgraded to a newer version. It's similar to cargo-outdated, but has a simpler implementation, so it won't complain about path dependencies or potential version conflicts. Simply checks whether there is a newer (stable) version for each dependency.
cargo install -f cargo-upgrades
In a Rust/Cargo project directory:
cargo upgrades
or
cargo upgrades --manifest-path=/path/to/Cargo.toml
If you have cargo-edit
installed, you can run cargo upgrade
(without s
) to automatically bump all dependencies to their latest versions.