Cargo Features
[dependencies]
hyper-socks2-mw = { version = "0.4.4", default-features = false, features = ["tls", "rustls"] }
- default = tls
-
The
tls
feature is set by default wheneverhyper-socks2-mw
is added without
somewhere in the dependency tree.default-features = false - tls default = hyper-tls
- rustls = hyper-rustls, rustls-native-certs, rusttls
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.
- hyper-tls tls
-
Enables hyper-tls ^0.4
tls
feature - hyper-rustls rustls?
-
Enables hyper-rustls ^0.20
rustls
feature - rusttls rustls?
-
Enables rustls ^0.17
- rustls-native-certs rustls?
-
Enables rustls-native-certs ^0.3