Cargo Features
[dependencies]
s2n-quic-dc = { version = "0.51.0", default-features = false, features = ["tokio", "testing"] }
- default = tokio
-
The
tokio
feature is set by default whenevers2n-quic-dc
is added without
somewhere in the dependency tree.default-features = false - tokio default
-
With io-util, net, rt-multi-thread and time
Affects
clock::tokio
,environment::tokio
,runtime::tokio
… - testing = bolero-generator, tracing-subscriber
-
Enables testing of s2n-quic-core and s2n-quic-platform
s2n-quic-platform:
Testing allows to overwrite the system time
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.