Releases: tokio-rs/tokio
Releases · tokio-rs/tokio
Tokio v1.11.0
1.11.0 (August 31, 2021)
Fixed
- time: don't panic when Instant is not monotonic (#4044)
- io: fix panic in
fill_buf
by not callingpoll_fill_buf
twice (#4084)
Added
- watch: add
watch::Sender::subscribe
(#3800) - process: add
from_std
toChildStd*
(#4045) - stats: initial work on runtime stats (#4043)
Changed
- tracing: change span naming to new console convention (#4042)
- io: speed-up waking by using uninitialized array (#4055, #4071, #4075)
Documented
- time: make Sleep examples easier to find (#4040)
Tokio v1.10.1
Tokio v1.10.0
1.10.0 (August 12, 2021)
Added
- io: add
(read|write)_f(32|64)[_le]
methods (#4022) - io: add
fill_buf
andconsume
toAsyncBufReadExt
(#3991) - process: add
Child::raw_handle()
on windows (#3998)
Fixed
- doc: fix non-doc builds with
--cfg docsrs
(#4020) - io: flush eagerly in
io::copy
(#4001) - runtime: a debug assert was sometimes triggered during shutdown (#4005)
- sync: use
spin_loop_hint
instead ofyield_now
in mpsc (#4037) - tokio: the test-util feature depends on rt, sync, and time (#4036)
Changes
- runtime: reorganize parts of the runtime (#3979, #4005)
- signal: make windows docs for signal module show up on unix builds (#3770)
- task: quickly send task to heap on debug mode (#4009)