Cargo Features
[dependencies]
cargo-edit-9 = { version = "0.9.3", default-features = false, features = ["add", "rm", "upgrade", "set-version", "cli", "color", "test-external-apis", "vendored-openssl", "vendored-libgit2"] }
- default = add, rm, set-version, upgrade, vendored-libgit2
-
These default features are set whenever
cargo-edit-9
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
- vendored-openssl
-
Enables vendored-openssl of git2 ^0.16.1
- vendored-libgit2 default
-
Enables vendored-libgit2 of git2 ^0.16.1
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.