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-curl feature is set by default whenever cargo is added without default-features = false somewhere in the dependency tree.

vendored-openssl all-static?

Enables vendored of openssl

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-client to provide support for HTTP/S using reqwest, and implies blocking networking as a whole, making the https:// 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?