Skip to content

Tokio v1.13.0

Compare
Choose a tag to compare
@Darksonn Darksonn released this 29 Oct 16:39
· 1274 commits to master since this release
ac89d89

1.13.0 (October 29, 2021)

Fixed

  • sync: fix Notify to clone the waker before locking its waiter list (#4129)
  • tokio: add riscv32 to non atomic64 architectures (#4185)

Added

  • net: add poll_{recv,send}_ready methods to udp and uds_datagram (#4131)
  • net: add try_*, readable, writable, ready, and peer_addr methods to split halves (#4120)
  • sync: add blocking_lock to Mutex (#4130)
  • sync: add watch::Sender::send_replace (#3962, #4195)
  • sync: expand Debug for Mutex<T> impl to unsized T (#4134)
  • tracing: instrument time::Sleep (#4072)
  • tracing: use structured location fields for spawned tasks (#4128)

Changed

  • io: add assert in copy_bidirectional that poll_write is sensible (#4125)
  • macros: use qualified syntax when polling in select! (#4192)
  • runtime: handle block_on wakeups better (#4157)
  • task: allocate callback on heap immediately in debug mode (#4203)
  • tokio: assert platform-minimum requirements at build time (#3797)

Documented

  • docs: conversion of doc comments to indicative mood (#4174)
  • docs: add returning on the first error example for try_join! (#4133)
  • docs: fixing broken links in tokio/src/lib.rs (#4132)
  • signal: add example with background listener (#4171)
  • sync: add more oneshot examples (#4153)
  • time: document Interval::tick cancel safety (#4152)