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
somewhere in the dependency tree.default-features = false - aws-lc-rs default fips?
- fips = aws-lc-rs
- 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
- 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
…