Skip to content

A tool for stabilizing and upgrading rust dependencies in a project's `Cargo.toml`

Notifications You must be signed in to change notification settings

kaikalii/cargo-stabilize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A tool for stabilizing and upgrading rust dependencies in a project's `Cargo.toml`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages