Cargo Features
[dependencies]
cargo = { version = "0.92.0", default-features = false, features = ["vendored-openssl", "vendored-libgit2", "all-static", "http-transport-curl", "http-transport-reqwest"] }
- default = http-transport-curl
-
The
http-transport-curlfeature is set by default whenevercargois added withoutsomewhere in the dependency tree.default-features = false - vendored-openssl all-static?
- vendored-libgit2 all-static?
-
Enables vendored of libgit2-sys
- all-static = vendored-libgit2, vendored-openssl
-
This is primarily used by rust-lang/rust distributing cargo the executable.
Enables force-system-lib-on-osx and static-curl of curl
- http-transport-curl default
-
Exactly one of 'http-transport-curl' or 'http-transport-reqwest' must be enabled when using Cargo as a library. By default, it is 'http-transport-curl'.
Enables blocking-http-transport-curl of gix ^0.73.0
- http-transport-reqwest
-
Enables blocking-http-transport-reqwest of gix ^0.73.0
gix:
Stacks with
blocking-network-clientto provide support for HTTP/S using reqwest, and implies blocking networking as a whole, making thehttps://transport available.
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.
- openssl not win vendored-openssl?