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.

Re-exportsΒ§

pub use bytes;

ModulesΒ§

cfg πŸ”’
codec
Adaptors from AsyncRead/AsyncWrite to Stream/Sink
either
Module defining an Either type.
future
An extension trait for Futures that provides a variety of convenient adapters.
io
Helpers for IO related tasks.
loom πŸ”’
sync
Synchronization primitives
tracing πŸ”’
util πŸ”’