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

app cargo-feature

Allows conveniently modify features of crate

11 unstable releases (4 breaking)

0.5.2 Apr 8, 2021
0.5.1 Mar 29, 2021
0.5.0 Nov 18, 2020
0.4.3 Nov 5, 2020
0.1.1 Mar 23, 2020
Download history 17/week @ 2021-02-23 19/week @ 2021-03-02 22/week @ 2021-03-09 24/week @ 2021-03-16 44/week @ 2021-03-23 43/week @ 2021-03-30 77/week @ 2021-04-06 64/week @ 2021-04-13 39/week @ 2021-04-20 19/week @ 2021-04-27 27/week @ 2021-05-04 28/week @ 2021-05-11 34/week @ 2021-05-18 8/week @ 2021-05-25 14/week @ 2021-06-01 28/week @ 2021-06-08

155 downloads per month

MIT license

97KB
262 lines

cargo-feature

preview

Install

cargo install cargo-feature

Usage

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

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

# you can skip typing +
cargo feature web_sys HtmlDivElement

# same as above but remove
cargo feature web_sys ^HtmlDivElement

Dependencies

~6MB
~113K SLoC