Cargo Features

[dependencies]
rustup-private-download = { version = "1.25.1", default-features = false, features = ["curl-backend", "reqwest-backend", "reqwest-default-tls", "reqwest-rustls-tls"] }
default = reqwest-backend, reqwest-default-tls, reqwest-rustls-tls

These default features are set whenever rustup-private-download is added without default-features = false somewhere in the dependency tree.

curl-backend = curl

Affects rustup-private-download::curl

reqwest-backend default = env_proxy, lazy_static, reqwest

Affects rustup-private-download::reqwest_be

reqwest-default-tls default

Enables default-tls of reqwest ^0.11

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

reqwest-rustls-tls default

Enables rustls-tls-native-roots of reqwest ^0.11

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.

curl curl-backend?
env_proxy reqwest-backend
lazy_static reqwest-backend
reqwest reqwest-backend reqwest-default-tls reqwest-rustls-tls

Enables reqwest ^0.11