1.46.0 (July 2nd, 2025)
Fixed
- net: fixed
TcpStream::shutdown
incorrectly returning an error on macOS (#7290)
Added
- sync:
mpsc::OwnedPermit::{same_channel, same_channel_as_sender}
methods (#7389) - macros:
biased
option forjoin!
andtry_join!
, similar toselect!
(#7307) - net: support for cygwin (#7393)
- net: support
pope::OpenOptions::read_write
on Android (#7426) - net: add
Clone
implementation fornet::unix::SocketAddr
(#7422)
Changed
- runtime: eliminate unnecessary lfence while operating on
queue::Local<T>
(#7340) - task: disallow blocking in
LocalSet::{poll,drop}
(#7372)
Unstable
- runtime: add
TaskMeta::spawn_location
tracking where a task was spawned (#7417) - runtime: removed borrow from
LocalOptions
parameter toruntime::Builder::build_local
(#7346)
Documented
- io: clarify behavior of seeking when
start_seek
is not used (#7366) - io: document cancellation safety of
AsyncWriteExt::flush
(#7364) - net: fix docs for
recv_buffer_size
method (#7336) - net: fix broken link of
RawFd
inTcpSocket
docs (#7416) - net: update
AsRawFd
doc link to current Rust stdlib location (#7429) - readme: fix double period in reactor description (#7363)
- runtime: add doc note that
on_*_task_poll
is unstable (#7311) - sync: update broadcast docs on allocation failure (#7352)
- time: add a missing panic scenario of
time::advance
(#7394)