Cargo Features
[dependencies]
s2n-quic-platform = { version = "0.51.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
somewhere in the dependency tree.default-features = false - std default testing? = lazy_static, socket2
-
Enables std of s2n-quic-core
- testing = generator, io-testing, std
-
Testing allows to overwrite the system time
- 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?
-
Enables bach ^0.0.6
- 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
…