#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

#172 in Cargo plugins

Download history 251/week @ 2024-07-29 190/week @ 2024-08-05 318/week @ 2024-08-12 332/week @ 2024-08-19 352/week @ 2024-08-26 265/week @ 2024-09-02 366/week @ 2024-09-09 501/week @ 2024-09-16 270/week @ 2024-09-23 223/week @ 2024-09-30 308/week @ 2024-10-07 328/week @ 2024-10-14 287/week @ 2024-10-21 330/week @ 2024-10-28 372/week @ 2024-11-04 258/week @ 2024-11-11

1,272 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
~614K SLoC