github tokio-rs/tokio tokio-0.3.1
Tokio v0.3.1

latest releases: tokio-1.37.0, tokio-test-0.4.4, tokio-stream-0.1.15...
3 years ago

This release fixes a use-after-free in the IO driver. Additionally, the read_buf
and write_buf methods have been added back to the IO traits, as the bytes crate
is now on track to reach version 1.0 together with Tokio.

Fixed

  • net: fix use-after-free (#3019).
  • fs: ensure buffered data is written on shutdown (#3009).

Added

  • io: copy_buf() (#2884).
  • io: AsyncReadExt::read_buf(), AsyncReadExt::write_buf() for working with
    Buf/BufMut (#3003).
  • rt: Runtime::spawn_blocking() (#2980).
  • sync: watch::Sender::is_closed() (#2991).

Don't miss a new tokio release

NewReleases is sending notifications on new releases.