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
somewhere in the dependency tree.default-features = false - 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.