Cargo Features

tokio-quiche has no features set by default.

[dependencies]
tokio-quiche = { version = "0.1.0", features = ["fuzzing", "quiche_internal", "perf-quic-listener-metrics", "rpk", "gcongestion", "zero-copy", "capture_keylogs", "tokio-task-metrics"] }
fuzzing

Forwarded quiche features for re-exports

Enables fuzzing of quiche and optional quiche-mallard

quiche_internal

Enables internal of quiche and optional quiche-mallard

quiche:

Exposes internal APIs that have no stability guarantees across versions.

perf-quic-listener-metrics

Enable extra timing instrumentation for QUIC handshakes, including protocol overhead and network delays.

rpk

Enable raw public key (RPK) support for QUIC handshakes.

Enables rpk of boring

gcongestion zero-copy?

Use the quiche-mallard fork in place of upstream quiche.
quiche-mallard replaces quiche's original congestion control implementation with one adapted from google/quiche.

Enables octets and quiche-mallard

zero-copy = gcongestion

Use quiche-mallard with zero-copy send calls.

Affects quic::QuicheConnection

capture_keylogs

Enable SSLKEYLOGFILE capturing for QUIC connections.

tokio-task-metrics

Enable scheduling & poll duration histograms for tokio tasks.