#cargo #man #file #version #field #table #set

app cargo-man

CLI tool to improve Cargo file management

7 releases

0.1.2 Dec 1, 2021
0.1.1 Nov 12, 2021
0.0.4 Oct 5, 2021
0.0.2 Aug 27, 2021
0.0.1 Jul 8, 2021

#670 in Cargo plugins

MIT license

16KB
370 lines

Cargo-man

Crates.io Crates.io License Contributors

The man is a simples CLI sub-command from cargo, that helps you manage your Cargo.toml file.

Install:

To install the sub-command you just need to execute the following command:

cargo install cargo-man

Usage:

To use the CLI you must inform the fields you want it to return or change using the flag --field or -f:

cargo man -f version
0.1.0

If you want to attribute a new value just use the flag --set or -s

cargo man -f version -s 1.0.0
1.0.0

By default, cargo-man looks at the package table, but you can change that by anything that you want it

cargo man -t dependencies -f something
1.0.0

Dependencies

~4MB
~73K SLoC