Cargo Features
[dependencies]
cargo-generate = { version = "0.22.0", default-features = false, features = ["vendored-libgit2", "vendored-openssl"] }
- default = vendored-libgit2
-
The
vendored-libgit2
feature is set by default whenevercargo-generate
is added without
somewhere in the dependency tree.default-features = false - vendored-libgit2 default
-
Enables vendored-libgit2 of git2
- vendored-openssl
-
Enables vendored-openssl of git2, vendored of openssl
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.