Expand description

An implementation of the IETF QUIC protocol, featuring:

See the installation instructions and examples to get started with s2n-quic.

Feature flags

provider-address-token-default

Enabled by default

Enables the default address token provider, which will securely generate address tokens for a single QUIC server. If your deployment requires that multiple servers handle address tokens, this provider should not be used. Instead, a custom implementation of provider::address_token::Format should be specified.

provider-event-tracing

Enables event integration with tracing. The default event provider will be set to [provider::event::tracing::Provider] and will emit endpoint and connection events to the application’s configured tracing::Subscriber.

provider-tls-default

Enabled by default

Enables platform detection for the recommended implementation of TLS. Currently, this uses s2n-tls on unix-like platforms and rustls on everything else.

provider-tls-rustls

Enables the rustls TLS provider. The provider will be available at [provider::tls::rustls].

NOTE: this will override the platform detection and always use rustls by default.

provider-tls-s2n

Enables the s2n-tls TLS provider. The provider will be available at [provider::tls::s2n_tls].

NOTE: this will override the platform detection and always use s2n-tls by default.

Re-exports

pub use client::Client;
pub use connection::Connection;
pub use server::Server;

Modules