Update Rust crate tokio to v1.40.0 - autoclosed #40
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.36.0
->1.40.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
tokio-rs/tokio (tokio)
v1.40.0
: Tokio v1.40.0Compare Source
1.40.0 (August 30th, 2024)
Added
util::SimplexStream
(#6589)Command::process_group
(#6731){TrySendError,SendTimeoutError}::into_inner
(#6755)JoinSet::join_all
(#6784)Added (unstable)
Builder::{on_task_spawn, on_task_terminate}
(#6742)Changed
write_all_buf
when possible (#6724)UnwindSafe
(#6783)Sleep
andBatchSemaphore
instrumentation explicit roots (#6727)NonZeroU64
fortask::Id
(#6733)JoinError
(#6753)#[must_use]
toJoinHandle::abort_handle
(#6762)Documented
[build]
section doesn't go in Cargo.toml (#6728)select!
(#6774)v1.39.3
: Tokio v1.39.3Compare Source
1.39.3 (August 17th, 2024)
This release fixes a regression where the unix socket api stopped accepting the abstract socket namespace. (#6772)
v1.39.2
: Tokio v1.39.2Compare Source
1.39.2 (July 27th, 2024)
This release fixes a regression where the
select!
macro stopped accepting expressions that make use of temporary lifetime extension. (#6722)v1.39.1
: Tokio v1.39.1Compare Source
1.39.1 (July 23rd, 2024)
This release reverts "time: avoid traversing entries in the time wheel twice" because it contains a bug. (#6715)
v1.39.0
: Tokio v1.39.0Compare Source
1.39.0 (July 23rd, 2024)
Added
AsyncSeek
forEmpty
(#6663)num_alive_tasks
(#6619, #6667)Command::as_std_mut
(#6608)watch::Sender::same_channel
(#6637){Receiver,UnboundedReceiver}::{sender_strong_count,sender_weak_count}
(#6661)Default
forwatch::Sender
(#6626)Clone
forAbortHandle
(#6621)consume_budget
(#6622)Changed
ReadBuf::put_slice()
(#6629)copy_bidirectional
andcopy
(#6532)num_cpus
withavailable_parallelism
(#6709)block_on
(#6692)IntoFuture
withtimeout
(#6666)IntoFuture
withjoin!
andselect!
(#6710)Fixed
Interval
(#6612)Added (unstable)
unhandled_panic
behavior for#[tokio::main]
and#[tokio::test]
(#6593)spawned_tasks_count
(#6114)worker_park_unpark_count
(#6696)Documented
tokio::io::stdout
documentation (#6674)join.rs
andtry_join.rs
(#6641)unhandled_panic
(#6660)JoinSet::try_join_next
when all tasks are running (#6671)v1.38.1
: Tokio v1.38.1Compare Source
1.38.1 (July 16th, 2024)
This release fixes the bug identified as (#6682), which caused timers not
to fire when they should.
Fixed
wake_up
while holding all the locks of sharded time wheels (#6683)v1.38.0
: Tokio v1.38.0Compare Source
This release marks the beginning of stabilization for runtime metrics. It
stabilizes
RuntimeMetrics::worker_count
. Future releases will continue tostabilize more metrics.
Added
File::create_new
(#6573)copy_bidirectional_with_sizes
(#6500)AsyncBufRead
forJoin
(#6449)Clone
forNamedPipeInfo
(#6586)Notify::notify_last
(#6520)mpsc::Receiver::{capacity,max_capacity}
(#6511)split
method to the semaphore permit (#6472, #6478)tokio::task::join_set::Builder::spawn_blocking
(#6578)Changed
#[tokio::test]
append#[test]
at the end of the attribute list (#6497)blocking_threads
count (#6551)RuntimeMetrics::worker_count
(#6556)lifo_slot
inblock_in_place
(#6596)global_queue_interval
is zero (#6445)Semaphore
for task dumps (#6499)LocalKey::get
work with Clone types (#6433)true_when
field inTimerShared
(#6563)Fixed
Interval::poll_tick
(#6487)is_empty
on mpsc block boundaries (#6603)Documented
stdin
documentation (#6581)ReadHalf::unsplit()
documentation (#6498)select!
(#6468)NamedPipeServer
example (#6590)SemaphorePermit
,OwnedSemaphorePermit
(#6477)Barrier::wait
is not cancel safe (#6494)watch::Sender::{subscribe,closed}
(#6490)spawn_blocking
tasks (#6571)LocalSet::run_until
(#6599)v1.37.0
: Tokio v1.37.0Compare Source
1.37.0 (March 28th, 2024)
Added
set_max_buf_size
totokio::fs::File
(#6411)try_new
andtry_with_interest
toAsyncFd
(#6345)forget_permits
method to semaphore (#6331)is_closed
,is_empty
, andlen
to mpsc receivers (#6348)rwlock()
method to ownedRwLock
guards (#6418)Clone
forwatch::Sender
(#6388)TaskLocalFuture::take_value
(#6340)FromIterator
forJoinSet
(#6300)Changed
io::split
use a mutex instead of a spinlock (#6403)Fixed
Documented
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
beforenew_with
(#6392)Changed (unstable)
Id
in taskdumps (#6328)unhandled_panic
is enabled when not supported (#6410)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.