#tool #cli #command-line-tool #version #patch #configuration #cargo

app cargo-epublish

a simple tool for patch the version of configuration of crate

1 unstable release

0.0.2 Jun 12, 2022

#115 in #patch

MIT/Apache

13KB
266 lines

reference

this tool obeys the semantic in the link https://semver.org/.

Note

this binary executable file is only compatible with windows, if you run it on the linux, some unexpected errors may stick you. Besides, it's only a newbie's exercise demo.

install

cargo install cargo-epublish

usage

add a section like below pieces into Cargo.toml or customized toml configuration file

[max-versions]
minor = 10
patch = 10

you can patch/minor/major your crate version

cargo epublish patch
// the same as 
cargo epublish -u patch

Dependencies

~4–6MB
~104K SLoC