cargo-modify

Crates.iocargo-modify
lib.rscargo-modify
version0.3.1
sourcesrc
created_at2021-04-19 13:56:51.063837
updated_at2021-04-19 16:12:26.146092
descriptionallows changes to the cargo toml via cmd line
homepagehttps://github.com/extrawurst/cargo-modify
repositoryhttps://github.com/extrawurst/cargo-modify
max_upload_size
id386667
size6,397
(extrawurst)

documentation

README

cargo-modify

Currently a proof of concept for being able to switch the new resolver on/off via a cmd line call during a CI build job.

usage

run cargo modify in a folder that contains a Cargo.toml:

# set new resolver
cargo modify new-resolver
# same as above
cargo modify new-resolver --v2=true
# remove 'resolver' from Cargo.toml
cargo modify new-resolver --v2=false

Caution this will reorder your Cargo.toml arbitrarily. Primary use-case is to do on-the-fly changes on a CI

more

later we could use this to allow arbitrary edits on a Cargo.toml, ideas welcome.

Commit count: 9

cargo fmt