Cargo Features

[dependencies]
oxhttp = { version = "0.2.6", 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 default-features = false somewhere in the dependency tree.

rustls-ring-platform-verifier = rustls-pki-types, rustls-platform-verifier

Enables ring of rustls

rustls-ring-native = rustls-native-certs, rustls-pki-types

Enables ring of rustls

rustls-ring-webpki = rustls-pki-types, webpki-roots

Enables ring of rustls

rustls-aws-lc-platform-verifier = rustls-pki-types, rustls-platform-verifier

Enables aws_lc_rs of rustls

rustls-aws-lc-native = rustls-native-certs, rustls-pki-types

Enables aws_lc_rs of rustls

rustls-aws-lc-webpki = rustls-pki-types, webpki-roots

Enables aws_lc_rs of rustls

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?

Enables rustls-platform-verifier ^0.4

webpki-roots rustls-aws-lc-webpki? rustls-ring-webpki?