#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

new 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

#252 in Cargo plugins

Download history 67/week @ 2023-12-23 77/week @ 2023-12-30 72/week @ 2024-01-06 76/week @ 2024-01-13 80/week @ 2024-01-20 100/week @ 2024-01-27 128/week @ 2024-02-03 107/week @ 2024-02-10 184/week @ 2024-02-17 122/week @ 2024-02-24 118/week @ 2024-03-02 153/week @ 2024-03-09 125/week @ 2024-03-16 400/week @ 2024-03-23 458/week @ 2024-03-30 317/week @ 2024-04-06

1,324 downloads per month
Used in 2 crates (via external-ip)

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–15MB
~187K SLoC