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)