A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
set_max_buf_size
to tokio::fs::File
(#6411)try_new
and try_with_interest
to AsyncFd
(#6345)forget_permits
method to semaphore (#6331)is_closed
, is_empty
, and len
to mpsc receivers (#6348)rwlock()
method to owned RwLock
guards (#6418)Clone
for watch::Sender
(#6388)TaskLocalFuture::take_value
(#6340)FromIterator
for JoinSet
(#6300)io::split
use a mutex instead of a spinlock (#6403)AsyncBufReadExt::fill_buf
(#6431)AsyncReadExt
's primitive read functions (#6337)Runtime
to #[tokio::main]
(#6366)enter
example deterministic (#6351)mpsc::Sender::downgrade
with #[must_use]
(#6326)const_new
before new_with
(#6392)tokio::io::Join
(#6220)AsyncWrite
for Empty
(#6235)UnixSocket
(#6290)TcpSocket
(#6311){Receiver,UnboundedReceiver}::poll_recv_many
(#6236)Sender::{try_,}reserve_many
(#6205)watch::Receiver::mark_unchanged
(#6252)JoinSet::try_join_next
(#6280)copy
cooperative (#6265)repeat
and sink
cooperative (#6254)This is a forward part of a change that was backported to 1.25.3.
tokio::runtime::io::registration::async_io
(#6221)This is a forward part of a change that was backported to 1.25.3.
tokio::runtime::io::registration::async_io
(#6221)tokio::runtime::io::registration::async_io
(#6221)Sized
requirements from AsyncReadExt.read_buf
(#6169)Runtime
unwind safe (#6189)--cfg docsrs
work without net feature (#6166)unsync_load
on miri (#6179)Interest::add
with #[must_use]
(#6037)watch::Receiver::wait_for
(#6021)spawn_local
source location (#5984)watch
(#6018)tokio::fs::File
(#5958)Interest::remove
method (#5906)DuplexStream
(#5985)?Sized
bound to {MutexGuard,OwnedMutexGuard}::map
(#5997)watch::Receiver::mark_unseen
(#5962, #6014, #6017)watch::Sender::new
(#5998)OnceCell::from_value
(#5903)stats
feature (#5952)Child::wait
is cancel safe (#5977)Semaphore
(#5939, #5956, #5978, #6031, #6032, #6050)broadcast
capacity is a lower bound (#6042)const_new
is not instrumented (#6002)mpsc::Sender::send
(#5947)watch
channel (#5954)This is a backport of a change from 1.27.0.
memchr
from libc
(#5960)