Cargo Features

[dependencies]
reverse-proxy-service = { version = "0.2.1", 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 reverse-proxy-service is added without default-features = false somewhere in the dependency tree.

http1 default

Enables http1 of hyper ^0.14

hyper:

HTTP versions

Affects reverse-proxy-service::client

http2 rustls-http2?

Enables http2 of hyper ^0.14

Affects reverse-proxy-service::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 ^0.24

rustls-native-roots = __rustls

Enables rustls-native-certs of hyper-rustls ^0.24

rustls-webpki-roots rustls? = __rustls

Enables webpki-roots of hyper-rustls ^0.24

__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 ^0.6

axum:

Web framework that focuses on ergonomics and modularity

hyper-tls nativetls?

Enables hyper-tls ^0.5

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

Enables hyper-rustls ^0.24