Cargo Features
[dependencies]
quinn = { version = "0.11.6", default-features = false, features = ["aws-lc-rs", "aws-lc-rs-fips", "lock_tracking", "platform-verifier", "rustls", "rustls-aws-lc-rs", "rustls-aws-lc-rs-fips", "rustls-ring", "ring", "runtime-tokio", "runtime-async-std", "runtime-smol", "log", "rustls-log", "futures-io"] }
- default = log, platform-verifier, runtime-tokio, rustls-ring
-
These default features are set whenever
quinn
is added without
somewhere in the dependency tree.default-features = false - aws-lc-rs rustls-aws-lc-rs?
-
Enables
Endpoint::client
andEndpoint::server
conveniencesEnables aws-lc-rs of quinn-proto
- aws-lc-rs-fips rustls-aws-lc-rs-fips?
-
Enables aws-lc-rs-fips of quinn-proto
- lock_tracking
-
Records how long locks are held, and warns if they are held >= 1ms
- platform-verifier default
-
Provides
ClientConfig::with_platform_verifier()
convenience methodEnables platform-verifier of quinn-proto
- rustls = rustls-ring
-
For backwards compatibility,
rustls
forwards torustls-ring
- rustls-aws-lc-rs = aws-lc-rs
-
Enable rustls with the
aws-lc-rs
crypto providerEnables rustls, aws-lc-rs and rustls-aws-lc-rs of quinn-proto
- rustls-aws-lc-rs-fips = aws-lc-rs-fips
-
Enables rustls, aws-lc-rs-fips and rustls-aws-lc-rs-fips of quinn-proto
- rustls-ring default rustls? = ring
-
Enable rustls with the
ring
crypto providerEnables rustls, ring and rustls-ring of quinn-proto
- ring rustls-ring
-
Enables
Endpoint::client
andEndpoint::server
conveniencesEnables ring of quinn-proto
- runtime-tokio default
- runtime-async-std = async-io, async-std
- runtime-smol = async-io, smol
- log default
-
Configure
tracing
to log events vialog
if notracing
subscriber exists.Enables log of quinn-proto, tracing, and quinn-udp
- rustls-log
-
Enable rustls logging
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?