github tokio-rs/tokio tokio-1.8.0

latest releases: tokio-1.41.1, tokio-1.41.0, tokio-stream-0.1.16...
3 years ago

1.8.0 (July 2, 2021)

Added

  • io: add get_{ref,mut} methods to AsyncFdReadyGuard and AsyncFdReadyMutGuard (#3807)
  • io: efficient implementation of vectored writes for BufWriter (#3163)
  • net: add ready/try methods to NamedPipe{Client,Server} (#3866, #3899)
  • sync: add watch::Receiver::borrow_and_update (#3813)
  • sync: implement From<T> for OnceCell<T> (#3877)
  • time: allow users to specify Interval behaviour when delayed (#3721)

Added (unstable)

  • rt: add tokio::task::Builder (#3881)

Fixed

  • net: handle HUP event with UnixStream (#3898)

Documented

  • doc: document cancellation safety (#3900)
  • time: add wait alias to sleep (#3897)
  • time: document auto-advancing behaviour of runtime (#3763)

Don't miss a new tokio release

NewReleases is sending notifications on new releases.