Bump tokio from 1.27.0 to 1.28.0
Bumps tokio from 1.27.0 to 1.28.0.
Release notes
Sourced from tokio's releases.
Tokio v1.28.0
1.28.0 (April 25th, 2023)
Added
- io: add
AsyncFd::async_io
(#5542)- io: impl BufMut for ReadBuf (#5590)
- net: add
recv_buf
forUdpSocket
andUnixDatagram
(#5583)- sync: add
OwnedSemaphorePermit::semaphore
(#5618)- sync: add
same_channel
to broadcast channel (#5607)- sync: add
watch::Receiver::wait_for
(#5611)- task: add
JoinSet::spawn_blocking
andJoinSet::spawn_blocking_on
(#5612)Changed
- deps: update windows-sys to 0.48 (#5591)
- io: make
read_to_end
not grow unnecessarily (#5610)- macros: make entrypoints more efficient (#5621)
- sync: improve Debug impl for
RwLock
(#5647)- sync: reduce contention in
Notify
(#5503)Fixed
- net: support
get_peer_cred
on AIX (#5065)- sync: avoid deadlocks in
broadcast
with custom wakers (#5578)Documented
- sync: fix typo in
Semaphore::MAX_PERMITS
(#5645)- sync: fix typo in
tokio::sync::watch::Sender
docs (#5587)#5065: tokio-rs/tokio#5065 #5503: tokio-rs/tokio#5503 #5542: tokio-rs/tokio#5542 #5578: tokio-rs/tokio#5578 #5583: tokio-rs/tokio#5583 #5587: tokio-rs/tokio#5587 #5590: tokio-rs/tokio#5590 #5591: tokio-rs/tokio#5591 #5607: tokio-rs/tokio#5607 #5610: tokio-rs/tokio#5610 #5611: tokio-rs/tokio#5611 #5612: tokio-rs/tokio#5612 #5618: tokio-rs/tokio#5618 #5621: tokio-rs/tokio#5621 #5645: tokio-rs/tokio#5645 #5647: tokio-rs/tokio#5647
Commits
-
f21d596
chore: prepare Tokio v1.28.0 (#5650) -
66c62a4
chore: prepare tokio-macros v2.1.0 (#5649) -
a86c052
ci: use cargo-semver-checks GitHub Action (#5648) -
c1778ed
sync: addwatch::Receiver::wait_for
(#5611) -
11b8807
sync: improve Debug impl forRwLock
(#5647) -
e789b61
stream: addStreamExt::timeout_repeating
(#5577) -
2cd4f4a
stream: add "full" feature flag (#5639) -
b6bbe5f
Revert "macros: hide internal constant in select! macro (#5617)" (#5637) -
57ba4a4
sync: fix typo inSemaphore::MAX_PERMITS
(#5645) -
5e6c6bd
chore: fix compiler output changes in rustc 1.69 (#5643) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts