Cargo Features

[dependencies]
hyper-http-proxy = { version = "1.0.0", default-features = false, features = ["default-tls", "native-tls", "native-tls-vendored", "rustls-tls-webpki-roots", "rustls-tls-native-roots"] }
default = default-tls

The default-tls feature is set by default whenever hyper-http-proxy is added without default-features = false somewhere in the dependency tree.

default-tls default = rustls-tls-native-roots
native-tls native-tls-vendored? = hyper-tls, tokio-native-tls

Enables native-tls

Affects stream::TlsStream

native-tls-vendored = native-tls

Enables vendored of optional tokio-native-tls

rustls-tls-webpki-roots = __rustls

Enables webpki-roots, webpki-roots of hyper-rustls

rustls-tls-native-roots default-tls = __rustls

Enables rustls-native-certs ^0.7, rustls-native-certs of hyper-rustls

__rustls rustls-tls-native-roots? rustls-tls-webpki-roots?

Enables common rustls code.
Equivalent to rustls-tls-manual-roots but shorter :)

Enables hyper-rustls and tokio-rustls

Affects stream::TlsStream

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 native-tls?
tokio-native-tls native-tls?