cargo-upgrades

Crates.iocargo-upgrades
lib.rscargo-upgrades
version2.1.2
sourcesrc
created_at2019-07-22 15:58:23.770476
updated_at2024-07-14 17:28:47.699982
descriptionChecks if dependencies in Cargo.toml are up to date. Compatible with workspaces and path dependencies.
homepagehttps://lib.rs/cargo-upgrades
repositoryhttps://gitlab.com/kornelski/cargo-upgrades
max_upload_size
id150781
size42,070
Kornel (kornelski)

documentation

README

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.

Installation

cargo install -f cargo-upgrades

Usage

In a Rust/Cargo project directory:

cargo upgrades

or

cargo upgrades --manifest-path=/path/to/Cargo.toml

Bonus

If you have cargo-edit installed, you can run cargo upgrade (without s) to automatically bump all dependencies to their latest versions.

Commit count: 32

cargo fmt