#cargo #feature #features #serde #modify #install #preview

app cargo-feature

Allows conveniently modify features of crate

3 unstable releases

✓ Uses Rust 2018 edition

0.2.0 Mar 25, 2020
0.1.1 Mar 23, 2020
0.1.0 Mar 23, 2020

MIT license

41KB
225 lines

cargo-feature

preview

Install

cargo install cargo-feature

Usage

# add serde_derive feature to build-dependency of serde
cargo feature serde b+serde_derive

# add HtmlDivElement feature to dependency of web_sys 
cargo feature web_sys n+HtmlDivElement

# same as above but remove
cargo feature web_sys n-HtmlDivElement

Dependencies

~5MB
~86K SLoC