Sourced from tokio's releases.
Tokio v1.41.0
1.41.0 (Oct 22th, 2024)
Added
- metrics: stabilize
global_queue_depth
(#6854, #6918)- net: add conversions for unix
SocketAddr
(#6868)- sync: add
watch::Sender::sender_count
(#6836)- sync: add
mpsc::Receiver::blocking_recv_many
(#6867)- task: stabilize
Id
apis (#6793, #6891)Added (unstable)
- metrics: add H2 Histogram option to improve histogram granularity (#6897)
- metrics: rename some histogram apis (#6924)
- runtime: add
LocalRuntime
(#6808)Changed
- runtime: box futures larger than 16k on release mode (#6826)
- sync: add
#[must_use]
toNotified
(#6828)- sync: make
watch
cooperative (#6846)- sync: make
broadcast::Receiver
cooperative (#6870)- task: add task size to tracing instrumentation (#6881)
- wasm: enable
cfg_fs
forwasi
target (#6822)Fixed
- net: fix regression of abstract socket path in unix socket (#6838)
Documented
- io: recommend
OwnedFd
withAsyncFd
(#6821)- io: document cancel safety of
AsyncFd
methods (#6890)- macros: render more comprehensible documentation for
join
andtry_join
(#6814, #6841)- net: fix swapped examples for
TcpSocket::set_nodelay
andTcpSocket::nodelay
(#6840)- sync: document runtime compatibility (#6833)
#6793: tokio-rs/tokio#6793 #6808: tokio-rs/tokio#6808 #6810: tokio-rs/tokio#6810 #6814: tokio-rs/tokio#6814 #6821: tokio-rs/tokio#6821 #6822: tokio-rs/tokio#6822 #6826: tokio-rs/tokio#6826 #6828: tokio-rs/tokio#6828 #6833: tokio-rs/tokio#6833 #6836: tokio-rs/tokio#6836 #6838: tokio-rs/tokio#6838 #6840: tokio-rs/tokio#6840
... (truncated)
01e04da
chore: prepare Tokio v1.41.0 (#6917)92ccade
runtime: fix stability feature flags for docs (#6909)fbfeb9a
metrics: rename *_poll_count_*
to
*_poll_time_*
(#6924)da745ff
metrics: add H2 Histogram option to improve histogram granularity (#6897)ce1c74f
metrics: fix deadlock in injection_queue_depth_multi_thread test (#6916)28c9a14
metrics: rename injection_queue_depth
to
global_queue_depth
(#6918)32e0b43
ci: freeze FreeBSD and wasm-unknown-unknown on rustc 1.81 (#6911)1656d8e
sync: add mpsc::Receiver::blocking_recv_many
(#6867)c9e998e
ci: print the correct sort order of the dictionary on failure (#6905)512e9de
rt: add LocalRuntime (#6808)