Cargo Features
[dependencies]
cargo-edit = { version = "0.13.0", default-features = false, features = ["add", "rm", "upgrade", "set-version", "cli", "color", "test-external-apis"] }
- default = add, rm, set-version, upgrade
-
These default features are set whenever
cargo-edit
is added without
somewhere in the dependency tree.default-features = false - add default = cli
-
Required by the cargo-add binary
- rm default = cli
-
Required by the cargo-rm binary
- upgrade default = cli
-
Required by the cargo-upgrade binary
- set-version default = cli
-
Required by the cargo-set-version binary
- cli add rm set-version upgrade = clap, color
- color cli?
-
Enables auto of concolor-control
- test-external-apis
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.