tokio-1.12.0
版本发布时间: 2021-09-21 23:16:49
tokio-rs/tokio最新发布版本:tokio-1.40.0(2024-08-30 16:04:47)
1.12.0 (September 21, 2021)
Fixed
- mpsc: ensure
try_reserve
error is consistent withtry_send
(#4119) - mpsc: use
spin_loop_hint
instead ofyield_now
(#4115) - sync: make
SendError
field public (#4097)
Added
- io: add POSIX AIO on FreeBSD (#4054)
- io: add convenience method
AsyncSeekExt::rewind
(#4107) - runtime: add tracing span for
block_on
futures (#4094) - runtime: callback when a worker parks and unparks (#4070)
- sync: implement
try_recv
for mpsc channels (#4113)
Changed
- macros: run runtime inside
LocalSet
when using macro (#4027)