#cargo-version #version #cargo #cargo-toml #cli #command-line #incrementation

app cargo-incversion

A cargo plugin to increment the Cargo.toml's version in command line

3 releases

0.1.2 Dec 28, 2020
0.1.1 Dec 28, 2020
0.1.0 Dec 28, 2020

#566 in Cargo plugins

MPL-2.0 license

11KB
271 lines

cargo-incversion

Command line utility to increment cargo version.

Installation

  • Run cargo install cargo-incversion

Usage

cargo-incversion [OPTIONS]

OPTIONS

  • -M : Increments the major part of the version field by one
  • -m : Increments the minor part of the version field by one
  • -p : Increments the patch part of the version field by one
  • -c <version> : Sets the version field of Cargo.toml to <version>

Dependencies

~1–12MB
~74K SLoC