#dependencies #upgrade #outdated #subcommand

bin+lib cargo-upgrades

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

21 stable releases

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

#111 in Cargo plugins

Download history 374/week @ 2024-12-20 340/week @ 2024-12-27 405/week @ 2025-01-03 370/week @ 2025-01-10 388/week @ 2025-01-17 327/week @ 2025-01-24 355/week @ 2025-01-31 457/week @ 2025-02-07 430/week @ 2025-02-14 451/week @ 2025-02-21 403/week @ 2025-02-28 675/week @ 2025-03-07 444/week @ 2025-03-14 410/week @ 2025-03-21 369/week @ 2025-03-28 343/week @ 2025-04-04

1,679 downloads per month

GPL-3.0+

18KB
338 lines

Install with:

cargo install cargo-upgrades

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.

Dependencies

~5–24MB
~471K SLoC