Crate tokio_util
source · [−]Expand description
Utilities for working with Tokio.
This crate is not versioned in lockstep with the core
tokio crate. However, tokio-util will respect Rust’s
semantic versioning policy, especially with regard to breaking changes.
Modules
codec
codecAdaptors from AsyncRead/AsyncWrite to Stream/Sink
compat
compatCompatibility between the tokio::io and futures-io versions of the
AsyncRead and AsyncWrite traits.
context
rtTokio context aware futures utilities.
Module defining an Either type.
io
ioHelpers for IO related tasks.
net
net and codecTCP/UDP/Unix helpers for tokio.
Synchronization primitives
task
rtExtra utilities for spawning tasks
time
timeAdditional utilities for tracking time.
udp
net and codecUDP framing