fix(deps): update rust crate tokio to v1.46.1 #407
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.42.0
->1.46.1
Release Notes
tokio-rs/tokio (tokio)
v1.46.1
: Tokio v1.46.1Compare Source
1.46.1 (July 4th, 2025)
This release fixes incorrect spawn locations in runtime task hooks for tasks
spawned using
tokio::spawn
rather thanRuntime::spawn
. This issue onlyeffected the spawn location in
TaskMeta::spawned_at
, and did not effect tasklocations in Tracing events.
Unstable
TaskMeta::spawn_location
tracking where a task was spawned(#7440)
v1.46.0
: Tokio v1.46.0Compare Source
1.46.0 (July 2nd, 2025)
Fixed
TcpStream::shutdown
incorrectly returning an error on macOS (#7290)Added
mpsc::OwnedPermit::{same_channel, same_channel_as_sender}
methods (#7389)biased
option forjoin!
andtry_join!
, similar toselect!
(#7307)pope::OpenOptions::read_write
on Android (#7426)Clone
implementation fornet::unix::SocketAddr
(#7422)Changed
queue::Local<T>
(#7340)LocalSet::{poll,drop}
(#7372)Unstable
TaskMeta::spawn_location
tracking where a task was spawned (#7417)LocalOptions
parameter toruntime::Builder::build_local
(#7346)Documented
start_seek
is not used (#7366)AsyncWriteExt::flush
(#7364)recv_buffer_size
method (#7336)RawFd
inTcpSocket
docs (#7416)AsRawFd
doc link to current Rust stdlib location (#7429)on_*_task_poll
is unstable (#7311)time::advance
(#7394)v1.45.1
: Tokio v1.45.1Compare Source
1.45.1 (May 24th, 2025)
This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to
Instant::now()
started failing. This is due to the stabilization of the first time-based metric.Fixed
v1.45.0
: Tokio v1.45.0Compare Source
Added
worker_total_busy_duration
,worker_park_count
, andworker_unpark_count
(#6899, #7276)Command::spawn_with
(#7249)Changed
Unpin
for some trait impls (#7204)runtime::Handle
as unwind safe (#7230)Unstable
v1.44.2
: Tokio v1.44.2Compare Source
This release fixes a soundness issue in the broadcast channel. The channel
accepts values that are
Send
but!Sync
. Previously, the channel calledclone()
on these values without synchronizing. This release fixes the channelby synchronizing calls to
.clone()
(Thanks Austin Bonander for finding andreporting the issue).
Fixed
clone()
call in broadcast channel (#7232)v1.44.1
: Tokio v1.44.1Compare Source
1.44.1 (March 13th, 2025)
Fixed
block_in_place
context (#7216)v1.44.0
: Tokio v1.44.0Compare Source
1.44.0 (March 7th, 2025)
This release changes the
from_std
method on sockets to panic if a blocking socket is provided. We determined this change is not a breaking change as Tokio is not intended to operate using blocking sockets. Doing so results in runtime hangs and should be considered a bug. Accidentally passing a blocking socket to Tokio is one of the most common user mistakes. If this change causes an issue for you, please comment on #7172.Added
task::coop
module (#7116)Command::get_kill_on_drop()
(#7086)broadcast::Sender::closed
(#6685, #7090)broadcast::WeakSender
(#7100)oneshot::Receiver::is_empty()
(#7153)oneshot::Receiver::is_terminated()
(#7152)Fixed
File
should not start a background read (#7139)start_kill
on exited child should not fail (#7160)CTRL_CLOSE
,CTRL_LOGOFF
,CTRL_SHUTDOWN
on windows (#7122)Changes
select!
budget-aware (#7164)from_std
(#7166)Changes to unstable APIs
Documented
select!
alternatives (#7110)send_to
(#7146)Child
stdout (#7141)Child::kill
behavior (#7162)ChildStdin
struct doc comment (#7192)worker_threads
instead ofcore_threads
(#7186)v1.43.1
Compare Source
v1.43.0
: Tokio v1.43.0Compare Source
1.43.0 (Jan 8th, 2025)
Added
UdpSocket::peek
methods (#7068)Command::into_std()
(#7014)SignalKind::info
on illumos (#6995)Fixed
set_len
before initializing vector inBlocking
(#7054)clippy::needless_return
in#[tokio::main]
(#6874)Changes
unsync_load
(#7073)Buf::put_bytes
inRepeat
read impl (#7055)Changes to unstable APIs
Documented
ReadBuf::uninit
allows initialized buffers as well (#7053)TcpStream::try_write_vectored
docs (#7067)LocalRuntime
doc links (#7074)watch::Receiver::wait_for
(#7038)OnceCell
docs (#7047)v1.42.1
: Tokio v1.42.1Compare Source
This release fixes a soundness issue in the broadcast channel. The channel accepts values that are
Send
but!Sync
. Previously, the channel calledclone()
on these values without synchronizing. This release fixes the channel by synchronizing calls to.clone()
(Thanks Austin Bonander for finding and reporting the issue).Fixed
clone()
call in broadcast channel (#7232)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.