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

19 stable releases

2.1.2 Jul 14, 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

#174 in Cargo plugins

Download history 334/week @ 2024-08-16 328/week @ 2024-08-23 280/week @ 2024-08-30 377/week @ 2024-09-06 473/week @ 2024-09-13 324/week @ 2024-09-20 207/week @ 2024-09-27 299/week @ 2024-10-04 327/week @ 2024-10-11 304/week @ 2024-10-18 330/week @ 2024-10-25 338/week @ 2024-11-01 296/week @ 2024-11-08 271/week @ 2024-11-15 430/week @ 2024-11-22 413/week @ 2024-11-29

1,461 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.

Dependencies

~13–30MB
~616K SLoC