Cargo Features
tokio-util has no features set by default.
[dependencies]
tokio-util = { version = "0.7.13", features = ["full", "net", "compat", "codec", "time", "io", "io-util", "rt", "tracing"] }
- default
-
No features on by default
- full = codec, compat, io-util, net, rt, time
-
Shorthand for enabling everything
- net full?
- compat full? = futures-io
- codec full?
- time full? = slab
- io io-util?
- io-util full? = io
- rt full? = futures-util, hashbrown
-
tokio:
Includes basic task execution capabilities
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.
- futures-io compat?
- futures-util rt?
- slab time?
-
Enables slab
Backs
DelayQueue
- tracing implicit feature
-
Enables tracing
tracing:
Application-level tracing for Rust
- hashbrown tokio_unstable rt?
-
Enables hashbrown ^0.14.0