| Crates.io | cargo-set |
| lib.rs | cargo-set |
| version | 0.1.2 |
| created_at | 2024-05-05 15:23:12.120848+00 |
| updated_at | 2024-05-05 15:46:08.176997+00 |
| description | a Cargo.toml file editor cli tool |
| homepage | https://github.com/nidrs/nidrs.git |
| repository | https://github.com/nidrs/nidrs.git |
| max_upload_size | |
| id | 1230278 |
| size | 23,191 |
This is a Cargo plugin for quickly setting up the contents of a Cargo.toml file.
cargo install cargo-set
./Cargo.toml:
[package]
name = "cargo-set"
version = "0.1.0"
publish = 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:
[package]
name = "test"
version = "0.2.0"
publish = false