Tokio v1.13.0
Darksonn
released this
29 Oct 16:39
·
1274 commits
to master
since this release
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 toudp
anduds_datagram
(#4131) - net: add
try_*
,readable
,writable
,ready
, andpeer_addr
methods to split halves (#4120) - sync: add
blocking_lock
toMutex
(#4130) - sync: add
watch::Sender::send_replace
(#3962, #4195) - sync: expand
Debug
forMutex<T>
impl to unsizedT
(#4134) - tracing: instrument time::Sleep (#4072)
- tracing: use structured location fields for spawned tasks (#4128)
Changed
- io: add assert in
copy_bidirectional
thatpoll_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)