#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.

20 stable releases

new 2.1.3 Dec 21, 2024
2.1.2 Jul 14, 2024
2.1.1 Apr 16, 2024
2.0.1 Mar 28, 2024
0.9.0 Jul 22, 2019

#192 in Cargo plugins

Download history 277/week @ 2024-08-31 365/week @ 2024-09-07 496/week @ 2024-09-14 289/week @ 2024-09-21 216/week @ 2024-09-28 289/week @ 2024-10-05 338/week @ 2024-10-12 290/week @ 2024-10-19 321/week @ 2024-10-26 377/week @ 2024-11-02 274/week @ 2024-11-09 271/week @ 2024-11-16 489/week @ 2024-11-23 421/week @ 2024-11-30 384/week @ 2024-12-07 256/week @ 2024-12-14

1,591 downloads per month

GPL-3.0+

16KB
289 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

~13–30MB
~627K SLoC