cargo-ver

Crates.iocargo-ver
lib.rscargo-ver
version0.2.3
sourcesrc
created_at2021-08-27 23:09:55.945477
updated_at2021-10-14 13:58:05.870491
descriptionA cargo extension to manage crate versions.
homepage
repositoryhttps://github.com/insomnimus/cargo-ver
max_upload_size
id443276
size18,954
(insomnimus)

documentation

README

cargo-ver

cargo-ver is a cargo extension to manage crate versions.

Usage

This command should always be invoked from cargo.


# show the current version
$ cargo ver
0.1.0
# set the crate version to 0.2.5
$ cargo ver set 0.2.5
updated version: 0.1.0 -> 0.2.5
# bump the major version
# short: cargo ver b maj
$ cargo ver bump major
updated version: 0.2.5 -> 1.0.0

Installation

Option 1: From crates.io

cargo install --locked cargo-ver

Option 2: Clone the project

git clone github.com/insomnimus/cargo-ver
cd cargo-ver
git checkout main
cargo install --locked --path .
Commit count: 6

cargo fmt