Crate tokio_util[][src]

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

codeccodec

Adaptors from AsyncRead/AsyncWrite to Stream/Sink

compatcompat

Compatibility between the tokio::io and futures-io versions of the AsyncRead and AsyncWrite traits.

contextrt

Tokio context aware futures utilities.

either

Module defining an Either type.

ioio

Helpers for IO related tasks.

sync

Synchronization primitives

time

Additional utilities for tracking time.

udpnet and codec

UDP framing