Cargo Features
[dependencies]
hyper-proxy = { version = "0.9.1", 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 wheneverhyper-proxy
is added without
somewhere in the dependency tree.default-features = false - rustls = rustls-base, rustls-native-certs
-
Enables native-tokio of hyper-rustls ^0.22
- rustls-webpki = rustls-base, webpki-roots
-
Enables webpki-tokio of hyper-rustls ^0.22
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.5.0
- tokio-native-tls tls
- native-tls tls
- openssl openssl-tls?
- tokio-openssl openssl-tls?
- tokio-rustls rustls-base?
-
Enables tokio-rustls ^0.22
- hyper-rustls rustls? rustls-base? rustls-webpki?
-
Enables hyper-rustls ^0.22
- webpki rustls-base?
-
Enables webpki ^0.21
- rustls-native-certs rustls?
-
Enables rustls-native-certs ^0.5.0
- webpki-roots rustls-webpki?
-
Enables webpki-roots ^0.21.0