Cargo Features

[dependencies]
iroh-quinn = { version = "0.13.0", 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", "async-global-executor", "async-fs", "async-executor"] }
default = log, platform-verifier, runtime-tokio, rustls-ring

NOTE: Please keep this in sync with the feature list in .github/workflows/codecov.yml, see comment in that file for more information.

aws-lc-rs rustls-aws-lc-rs?

Enables Endpoint::client and Endpoint::server conveniences

Enables aws-lc-rs of iroh-quinn-proto

aws-lc-rs-fips rustls-aws-lc-rs-fips?

Enables aws-lc-rs-fips of iroh-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 method

Enables platform-verifier of iroh-quinn-proto

rustls = rustls-ring

For backwards compatibility, rustls forwards to rustls-ring

rustls-aws-lc-rs = aws-lc-rs

Enable rustls with the aws-lc-rs crypto provider

Enables rustls, aws-lc-rs and rustls-aws-lc-rs of iroh-quinn-proto

rustls-aws-lc-rs-fips = aws-lc-rs-fips

Enables rustls, aws-lc-rs-fips and rustls-aws-lc-rs-fips of iroh-quinn-proto

rustls-ring default rustls? = ring

Enable rustls with the ring crypto provider

Enables rustls, ring and rustls-ring of iroh-quinn-proto

ring rustls-ring

Enable the ring crypto provider. Outside wasm*-unknown-unknown targets, this enables Endpoint::client and Endpoint::server conveniences.

Enables ring of iroh-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 iroh-quinn-proto, tracing, and iroh-quinn-udp

rustls-log

Enable rustls logging

Enables logging of optional rustls

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?
async-global-executor implicit feature

Enables async-global-executor

Fix minimal dependencies for indirect deps

async-fs implicit feature

Enables async-fs

async-fs:

Async filesystem primitives

async-executor implicit feature

Enables async-executor

async-executor:

Async executor