Cargo Features

[dependencies]
quinn-proto = { version = "0.10.6", default-features = false, features = ["tls-rustls", "native-certs", "log", "arbitrary"] }
default = log, tls-rustls

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

tls-rustls default = ring, rustls
native-certs = rustls-native-certs

Provides ClientConfig::with_native_roots() convenience method

log default

Write logs via the log crate when no tracing subscriber exists

Enables log of tracing

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

ring tls-rustls

Enables ring ^0.16.7

rustls tls-rustls

Enables rustls ^0.21.0

Affects crypto::rustls

rustls-native-certs native-certs?

Enables rustls-native-certs ^0.6

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data