#cargo-toml #outdated #cargo-check #workspace #deps #cargo-subcommand #dependencies

bin+lib cargo-upgrades

Checks if dependencies in Cargo.toml are up to date. Compatible with workspaces and path dependencies.

21 stable releases

new 2.2.0 Mar 8, 2025
2.1.3 Dec 21, 2024
2.1.2 Jul 14, 2024
2.0.1 Mar 28, 2024
0.9.0 Jul 22, 2019

#121 in Cargo plugins

Download history 346/week @ 2024-11-20 492/week @ 2024-11-27 395/week @ 2024-12-04 349/week @ 2024-12-11 415/week @ 2024-12-18 260/week @ 2024-12-25 415/week @ 2025-01-01 386/week @ 2025-01-08 404/week @ 2025-01-15 309/week @ 2025-01-22 312/week @ 2025-01-29 449/week @ 2025-02-05 433/week @ 2025-02-12 476/week @ 2025-02-19 426/week @ 2025-02-26 589/week @ 2025-03-05

2,028 downloads per month

GPL-3.0+

18KB
338 lines

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.


lib.rs:

Install with:

cargo install cargo-upgrades

Dependencies

~5–24MB
~469K SLoC