Sourced from tokio's releases.
Tokio v1.33.0
1.33.0 (October 9, 2023)
Fixed
- io: mark
Interest::add
with#[must_use]
(#6037)- runtime: fix cache line size for RISC-V (#5994)
- sync: prevent lock poisoning in
watch::Receiver::wait_for
(#6021)- task: fix
spawn_local
source location (#5984)Changed
- macros: use
::core
imports instead of::std
intokio::test
(#5973)- sync: use Acquire/Release orderings instead of SeqCst in
watch
(#6018)Added
- fs: add vectored writes to
tokio::fs::File
(#5958)- io: add
Interest::remove
method (#5906)- io: add vectored writes to
DuplexStream
(#5985)- net: add Apple tvOS support (#6045)
- sync: add
?Sized
bound to{MutexGuard,OwnedMutexGuard}::map
(#5997)- sync: add
watch::Receiver::mark_unseen
(#5962, #6014, #6017)- sync: add
watch::Sender::new
(#5998)- sync: add const fn
OnceCell::from_value
(#5903)Removed
- remove unused
stats
feature (#5952)Documented
- add missing backticks in code examples (#5938, #6056)
- fix typos (#5988, #6030)
- process: document that
Child::wait
is cancel safe (#5977)- sync: add examples for
Semaphore
(#5939, #5956, #5978, #6031, #6032, #6050)- sync: document that
broadcast
capacity is a lower bound (#6042)- sync: document that
const_new
is not instrumented (#6002)- sync: improve cancel-safety documentation for
mpsc::Sender::send
(#5947)- sync: improve docs for
watch
channel (#5954)- taskdump: render taskdump documentation on docs.rs (#5972)
Unstable
- taskdump: fix potential deadlock (#6036)
#5903: tokio-rs/tokio#5903 #5906: tokio-rs/tokio#5906 #5938: tokio-rs/tokio#5938 #5939: tokio-rs/tokio#5939
... (truncated)
0457690
chore: prepare Tokio v1.33.0 release (#6059)4557451
io: implement Seek
for SyncIoBridge
(#6058)2bd4376
rt: do not trace tasks while locking OwnedTasks
(#6036)f306bd0
sync: fix unclosed code block in example (#6056)6b010ac
docs: fix new doc warnings in 1.73.0 (#6055)8cd3383
time: reduce iteration count in short_sleeps test (#6052)d6ed00c
sync: Semaphore
doc final cleanup (#6050)5d29136
docs: add semaphore example for running tests sequentially (#6038)52b29b3
net: add apple tvos support (#6045)eaba971
sync: document that broadcast capacity is a lower bound (#6042)