Cargo Features

Cargo has no features set by default.

[dependencies]
cargo = { version = "0.83.0", features = ["vendored-openssl", "vendored-libgit2", "all-static"] }
vendored-openssl all-static?

Enables vendored of openssl =0.10.57

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

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?

Enables openssl =0.10.57