Cargo Features

[dependencies]
hyper-rustls = { version = "0.27.5", default-features = false, features = ["aws-lc-rs", "fips", "http1", "http2", "logging", "native-tokio", "ring", "tls12", "webpki-tokio", "rustls-platform-verifier"] }
default = aws-lc-rs, http1, logging, native-tokio, tls12

These default features are set whenever hyper-rustls is added without default-features = false somewhere in the dependency tree.

aws-lc-rs default fips?

Enables aws_lc_rs of rustls

fips = aws-lc-rs

Enables fips of rustls

http1 default

Enables http1 of hyper-util

http2

Enables http2 of hyper-util

Affects builder::WantsProtocols3

logging default = log

Enables logging of rustls and tokio-rustls

native-tokio default = rustls-native-certs
ring

Enables ring of rustls

tls12 default

Enables tls12 of rustls and tokio-rustls

webpki-tokio = webpki-roots

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.

log logging
rustls-native-certs native-tokio

Affects config::ConfigBuilderExt.with_native_roots

rustls-platform-verifier implicit feature

Affects config::ConfigBuilderExt.with_platform_verifier

webpki-roots webpki-tokio?

Affects config::ConfigBuilderExt.with_webpki_roots