Crates.io | cargo-stabilize |
lib.rs | cargo-stabilize |
version | 0.2.0 |
source | src |
created_at | 2018-09-21 22:49:30.347557 |
updated_at | 2024-04-03 14:15:31.103899 |
description | A simple tool which replaces all version wildcards ("*") in your `Cargo.toml` with the newest version of the crate. It can also upgrade dependencies that already have versions. |
homepage | |
repository | https://github.com/kaikalii/cargo-stabilize |
max_upload_size | |
id | 85902 |
size | 15,895 |
This is simple tool which replaces all version wildcards (*
) in your Cargo.toml
with the newest version of the crate. It can also upgrade dependencies that already have versions.
To install, simply run:
cargo install cargo-stabilize
There are two primary ways to use it. Be warned: Using this tool will reformat your entire Cargo.toml
and delete any comments therein. No non-comment information will be lost.
cargo stabilize
will replace all *
dependency versions with the newest version of that crate.cargo stabilize --upgrade
will do the same thing, as well as upgrading the versions of all dependencies whose versions are not the newest.