github tokio-rs/tokio tokio-1.5.0
Tokio v1.5.0

latest releases: tokio-1.38.0, tokio-macros-2.3.0, tokio-util-0.7.11...
3 years ago

1.5.0 (April 12, 2021)

Added

  • io: add AsyncSeekExt::stream_position (#3650)
  • io: add AsyncWriteExt::write_vectored (#3678)
  • io: add a copy_bidirectional utility (#3572)
  • net: implement IntoRawFd for TcpSocket (#3684)
  • sync: add OnceCell (#3591)
  • sync: add OwnedRwLockReadGuard and OwnedRwLockWriteGuard (#3340)
  • sync: add Semaphore::is_closed (#3673)
  • sync: add mpsc::Sender::capacity (#3690)
  • sync: allow configuring RwLock max reads (#3644)
  • task: add sync_scope for LocalKey (#3612)

Fixed

  • chore: try to avoid noalias attributes on intrusive linked list (#3654)
  • rt: fix panic in JoinHandle::abort() when called from other threads (#3672)
  • sync: don't panic in oneshot::try_recv (#3674)
  • sync: fix notifications getting dropped on receiver drop (#3652)
  • sync: fix Semaphore permit overflow calculation (#3644)

Documented

  • io: clarify requirements of AsyncFd (#3635)
  • runtime: fix unclear docs for {Handle,Runtime}::block_on (#3628)
  • sync: document that Semaphore is fair (#3693)
  • sync: improve doc on blocking mutex (#3645)

Don't miss a new tokio release

NewReleases is sending notifications on new releases.