3 releases

0.1.2 May 5, 2024
0.1.1 May 5, 2024
0.1.0 May 5, 2024

#272 in #cargo-toml

Download history 254/week @ 2024-05-05 4/week @ 2024-05-12 6/week @ 2024-05-19

264 downloads per month

MIT license

7KB
63 lines

cargo set

REPO

This is a Cargo plugin for quickly setting up the contents of a Cargo.toml file.

Install

cargo install cargo-set

Use

./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

About

nidrs

Dependencies

~2.6–3.5MB
~68K SLoC