Crates.io | cargo-upgrades |
lib.rs | cargo-upgrades |
version | |
source | src |
created_at | 2019-07-22 15:58:23.770476+00 |
updated_at | 2025-03-08 00:12:59.608056+00 |
description | Checks if dependencies in Cargo.toml are up to date. Compatible with workspaces and path dependencies. |
homepage | https://lib.rs/cargo-upgrades |
repository | https://gitlab.com/kornelski/cargo-upgrades |
max_upload_size | |
id | 150781 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
cargo install -f cargo-upgrades
In a Rust/Cargo project directory:
cargo upgrades
or
cargo upgrades --manifest-path=/path/to/Cargo.toml
If you have cargo-edit
installed, you can run cargo upgrade
(without s
) to automatically bump all dependencies to their latest versions.