Cargo Features

[dependencies]
twilight-http = { version = "0.16.0", default-features = false, features = ["decompression", "hickory", "native-tls", "rustls-platform-verifier", "rustls-native-roots", "rustls-webpki-roots", "rustls-ring", "rustls-aws_lc_rs", "rustls-aws-lc-rs", "simd-json"] }
default = decompression, rustls-platform-verifier, rustls-ring

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

decompression default

Enables brotli-decompressor

Optional dependencies.

hickory

Enables hyper-hickory

native-tls

Enables hyper-tls

rustls-platform-verifier default

Enables rustls, rustls-platform-verifier of hyper-rustls

rustls-native-roots

Enables rustls, native-tokio of hyper-rustls

rustls-webpki-roots

Enables rustls, webpki-tokio of hyper-rustls

rustls-ring default

Enables ring of optional hyper-rustls

rustls-aws_lc_rs rustls-aws-lc-rs?

Enables aws-lc-rs of optional hyper-rustls

rustls-aws-lc-rs = rustls-aws_lc_rs

Alias for convenience, underscores are preferred in the rustls stack

Features from optional dependencies

simd-json implicit feature

Enables simd-json

simd-json:

High performance JSON parser based on a port of simdjson