#make #cargo-toml #version #patch #increment #minor #rust

yanked lmake_semver

Increments the patch or minor version in Cargo.toml

0.1.12 Aug 14, 2021
0.1.11 Aug 22, 2020
0.1.6 Apr 24, 2020
0.1.1 Apr 23, 2020

#8 in #minor

MIT license

15KB
160 lines

lmake_semver

🔴OBSOLETE, 🔴DEPRECATED, 🔴DEFUNCT!
It was replaced by the crate cargo-auto



\

version: 0.1.11 date: 2020-08-22 authors: Luciano Bestia
Increments the patch or minor version in Cargo.toml.

Lines in Rust code Lines in Doc comments Lines in Comments Lines in examples Lines in tests

Install

cargo install lmake_semver

Run

Run it with this arguments:

lmake_semver --increment=patch
lmake_semver --increment=minor

Development

Documentation:
https://lucianobestia.github.io/lmake_semver
List of prepared make tasks for development: build, run, doc, publish,...
cargo make

cargo crev reviews and advisory

It is recommended to always use cargo-crev
to verify the trustworthiness of each of your dependencies, including this one.
Please, spread this info.
On the web use url to read crate reviews example:
<web.crev.dev/rust-reviews/crate/num-traits/>

Tasks in Makefile.toml

Libraries use semver. On every build release you can increment patch.

[tasks.release]
description = "cargo build release"
clear = true
dependencies = [
    "semver_increment_patch",
    "build_release",
]

[tasks.semver_increment_patch]
clear = true
private = true
description = "increment semver patch"
script= ["lmake_semver --increment=patch"]

Dependencies

~3.5–5MB
~80K SLoC