Crates.io | cargo-ver |
lib.rs | cargo-ver |
version | 0.2.3 |
source | src |
created_at | 2021-08-27 23:09:55.945477 |
updated_at | 2021-10-14 13:58:05.870491 |
description | A cargo extension to manage crate versions. |
homepage | |
repository | https://github.com/insomnimus/cargo-ver |
max_upload_size | |
id | 443276 |
size | 18,954 |
cargo-ver
is a cargo extension to manage crate versions.
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
cargo install --locked cargo-ver
git clone github.com/insomnimus/cargo-ver
cd cargo-ver
git checkout main
cargo install --locked --path .