github tokio-rs/tokio tokio-0.2.22
Tokio v0.2.22

latest releases: tokio-util-0.7.11, tokio-1.37.0, tokio-test-0.4.4...
3 years ago

This release introduces initial support for tracing instrumentation within the Tokio
runtime, enabled by the "tracing" feature flag. In addition, it contains a number of bug
fixes and API additions.

Fixes

Changes

  • coop: returning Poll::Pending no longer decrements the task budget (#2549)

Added

  • io: little-endian variants of AsyncReadExt and AsyncWriteExt methods
    (#1915)
  • task: add tracing instrumentation to spawned tasks (#2655)
  • sync: allow unsized types in Mutex and RwLock (via default constructors)
    (#2615)
  • net: add ToSocketAddrs implementation for &[SocketAddr] (#2604)
  • fs: add OpenOptionsExt for OpenOptions (#2515)
  • fs: add DirBuilder (#2524)

Signed-off-by: Eliza Weisman eliza@buoyant.io

Don't miss a new tokio release

NewReleases is sending notifications on new releases.