Update Rust crate tokio to 1.46.1 #267
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/tokio-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.44.2
->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 only effected the spawn location inTaskMeta::spawned_at
, and did not effect task locations 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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.