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

bin+lib cargo-upgrades

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

18 stable releases

2.1.1 Apr 16, 2024
2.0.1 Mar 28, 2024
2.0.0 Aug 17, 2023
1.3.7 May 28, 2023
0.9.0 Jul 22, 2019

#249 in Cargo plugins

Download history 73/week @ 2024-01-14 84/week @ 2024-01-21 104/week @ 2024-01-28 120/week @ 2024-02-04 118/week @ 2024-02-11 177/week @ 2024-02-18 124/week @ 2024-02-25 117/week @ 2024-03-03 149/week @ 2024-03-10 130/week @ 2024-03-17 428/week @ 2024-03-24 451/week @ 2024-03-31 503/week @ 2024-04-07 792/week @ 2024-04-14 543/week @ 2024-04-21 412/week @ 2024-04-28

2,286 downloads per month

GPL-3.0+

15KB
283 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 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

~4–14MB
~180K SLoC