Cargo Features
[dependencies]
hyper1-proxy = { version = "0.10.0-beta.0", default-features = false, features = ["openssl-tls", "tls", "rustls-base", "rustls", "rustls-webpki"] }
- openssl-tls = openssl, tokio-openssl
-
Affects
stream::TlsStream
… - tls default = hyper-tls, native-tls, tokio-native-tls
- rustls-base rustls? rustls-webpki? = hyper-rustls, tokio-rustls, webpki
-
note that
rustls-base
is not a valid feature on its own - it will configure rustls without root certificates!Affects
stream::TlsStream
… - default = tls
-
The
tls
feature is set by default wheneverhyper1-proxy
is added without
somewhere in the dependency tree.default-features = false - rustls = rustls-base, rustls-native-certs
-
Enables native-tokio of hyper-rustls
- rustls-webpki = rustls-base, webpki-roots
-
Enables webpki-tokio of hyper-rustls
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.