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 whenever hyper1-proxy is added without default-features = false somewhere in the dependency tree.

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.

hyper-tls tls
tokio-native-tls tls
native-tls tls
openssl openssl-tls?
tokio-openssl openssl-tls?
tokio-rustls rustls-base?
hyper-rustls rustls? rustls-base? rustls-webpki?
webpki rustls-base?
rustls-native-certs rustls?

Enables rustls-native-certs ^0.7.0

webpki-roots rustls-webpki?