cargo-set-0.1.2 is not a library.
cargo set
This is a Cargo plugin for quickly setting up the contents of a Cargo.toml file.
Install
cargo install cargo-set
Use
./Cargo.toml:
[]
= "cargo-set"
= "0.1.0"
= true
Run:
cargo set package.name "test"
cargo set package.version "\"0.2.0\""
cargo set package.publish false
!: Numeric strings need to be wrapped in
\"0.2.0\"
. Currently, only setting Int, Float, Bool, and String is supported.
Update ./Cargo.toml:
[]
= "test"
= "0.2.0"
= false