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

  • Adaptors from AsyncRead/AsyncWrite to Stream/Sink
  • Compatibility between the tokio::io and futures-io versions of the AsyncRead and AsyncWrite traits.
  • Module defining an Either type.
  • Helpers for IO related tasks.
  • Synchronization primitives