Cargo Features

[dependencies]
tower-reverse-proxy = { version = "0.3.0", default-features = false, features = ["http1", "http2", "https", "nativetls", "rustls", "rustls-http2", "rustls-native-roots", "rustls-webpki-roots", "axum"] }
default = http1

The http1 feature is set by default whenever tower-reverse-proxy is added without default-features = false somewhere in the dependency tree.

http1 default

Enables http1 of hyper and hyper-util

hyper:

HTTP versions

Affects tower-reverse-proxy::client

http2 rustls-http2?

Enables http2 of hyper and hyper-util

Affects tower-reverse-proxy::client

https = nativetls

Affects client::https_default, reused::builder_https

nativetls https? = hyper-tls

Affects client::nativetls_default, reused::builder_nativetls, client::https_default, reused::builder_https

rustls rustls-http2? = rustls-webpki-roots
rustls-http2 = http2, rustls

Enables http2 of hyper-rustls

rustls-native-roots = __rustls

Enables rustls-native-certs of hyper-rustls

rustls-webpki-roots rustls? = __rustls

Enables webpki-roots of hyper-rustls

__rustls rustls-native-roots? rustls-webpki-roots? = hyper-rustls

Affects client::rustls_default, reused::builder_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.

axum implicit feature

Enables axum

axum:

Web framework that focuses on ergonomics and modularity

hyper-tls nativetls?
hyper-rustls __rustls? rustls-http2? rustls-native-roots? rustls-webpki-roots?