Skip to content

Tokio v1.6.0

Compare
Choose a tag to compare
@Darksonn Darksonn released this 14 May 16:21
· 1311 commits to master since this release
580dc95

1.6.0 (May 14, 2021)

Added

  • fs: try doing a non-blocking read before punting to the threadpool (#3518)
  • io: add write_all_buf to AsyncWriteExt (#3737)
  • io: implement AsyncSeek for BufReader, BufWriter, and BufStream (#3491)
  • net: support non-blocking vectored I/O (#3761)
  • sync: add mpsc::Sender::{reserve_owned, try_reserve_owned} (#3704)
  • sync: add a MutexGuard::map method that returns a MappedMutexGuard (#2472)
  • time: add getter for Interval's period (#3705)

Fixed

  • io: wake pending writers on DuplexStream close (#3756)
  • process: avoid redundant effort to reap orphan processes (#3743)
  • signal: use std::os::raw::c_int instead of libc::c_int on public API (#3774)
  • sync: preserve permit state in notify_waiters (#3660)
  • task: update JoinHandle panic message (#3727)
  • time: prevent time::advance from going too far (#3712)

Documented

  • net: hide net::unix::datagram module from docs (#3775)
  • process: updated example (#3748)
  • sync: Barrier doc should use task, not thread (#3780)
  • task: update documentation on block_in_place (#3753)