Cargo Features
[dependencies]
oxhttp = { version = "0.2.4", default-features = false, features = ["rustls-ring-platform-verifier", "rustls-ring-native", "rustls-ring-webpki", "rustls-aws-lc-platform-verifier", "rustls-aws-lc-native", "rustls-aws-lc-webpki", "server", "flate2", "native-tls"] }
- default = client, server
-
These default features are set whenever
oxhttp
is added without
somewhere in the dependency tree.default-features = false - rustls-ring-platform-verifier = rustls-pki-types, rustls-platform-verifier
- rustls-ring-native = rustls-native-certs, rustls-pki-types
- rustls-ring-webpki = rustls-pki-types, webpki-roots
- rustls-aws-lc-platform-verifier = rustls-pki-types, rustls-platform-verifier
- rustls-aws-lc-native = rustls-native-certs, rustls-pki-types
- rustls-aws-lc-webpki = rustls-pki-types, webpki-roots
- client server default
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.
- flate2 implicit feature
- native-tls implicit feature
-
Enables native-tls
native-tls:
A wrapper over a platform's native TLS implementation
- rustls rustls-aws-lc-native? rustls-aws-lc-platform-verifier? rustls-aws-lc-webpki? rustls-ring-native? rustls-ring-platform-verifier? rustls-ring-webpki?
- rustls-native-certs rustls-aws-lc-native? rustls-ring-native?
- rustls-pki-types rustls-aws-lc-native? rustls-aws-lc-platform-verifier? rustls-aws-lc-webpki? rustls-ring-native? rustls-ring-platform-verifier? rustls-ring-webpki?
- rustls-platform-verifier rustls-aws-lc-platform-verifier? rustls-ring-platform-verifier?
- webpki-roots rustls-aws-lc-webpki? rustls-ring-webpki?