Cargo Features

[dependencies]
quinn = { version = "0.11.5", default-features = false, features = ["lock_tracking", "platform-verifier", "rustls", "ring", "runtime-tokio", "runtime-async-std", "runtime-smol", "log", "futures-io"] }
default = log, platform-verifier, ring, runtime-tokio, rustls

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

lock_tracking

Records how long locks are held, and warns if they are held >= 1ms

platform-verifier default

Provides ClientConfig::with_platform_verifier() convenience method

Enables platform-verifier of quinn-proto

rustls default

Enables rustls, ring and rustls of quinn-proto

ring default

Enables Endpoint::client and Endpoint::server conveniences

Enables ring of quinn-proto

runtime-tokio default

Enables net, rt and time of tokio

runtime-async-std = async-io, async-std
runtime-smol = async-io, smol
log default

Configure tracing to log events via log if no tracing subscriber exists.

Enables log of quinn-proto, tracing, and quinn-udp

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.

async-io runtime-async-std? runtime-smol?
async-std runtime-async-std?
futures-io implicit feature

Enables futures-io

Enables futures::io::{AsyncRead, AsyncWrite} support for streams

smol runtime-smol?