Cargo Features

[dependencies]
s2n-quic-platform = { version = "0.49.0", default-features = false, features = ["std", "testing", "io-testing", "generator", "tokio-runtime", "xdp", "turmoil"] }
default = std, tokio-runtime

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

std default testing? = lazy_static, socket2

Enables std of s2n-quic-core

testing = generator, io-testing, std

Testing allows to overwrite the system time

Enables std of futures

io-testing testing? = bach, tracing
generator testing? = bolero-generator

Enables generator of s2n-quic-core

tokio-runtime default = futures, tokio
xdp = s2n-quic-xdp

Affects io::xdp, syscall::bind_to_interface

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.

bach io-testing?
bolero-generator generator?
futures testing? tokio-runtime
lazy_static std
s2n-quic-xdp xdp?
socket2 std
tokio tokio-runtime

Affects io::tokio

tracing io-testing?
turmoil implicit feature

Enables turmoil

turmoil:

Simulation testing framework for distributed systems

Affects io::turmoil