cargo-stabilize

Crates.iocargo-stabilize
lib.rscargo-stabilize
version0.2.0
sourcesrc
created_at2018-09-21 22:49:30.347557
updated_at2024-04-03 14:15:31.103899
descriptionA 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
repositoryhttps://github.com/kaikalii/cargo-stabilize
max_upload_size
id85902
size15,895
Kai Schmidt (kaikalii)

documentation

README

Description

View on crates.io

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.

Installation

To install, simply run:

cargo install cargo-stabilize

Usage

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.
Commit count: 5

cargo fmt