alsoran
alsoran copied to clipboard
Bump tokio from 1.25.0 to 1.26.0
Bumps tokio from 1.25.0 to 1.26.0.
Release notes
Sourced from tokio's releases.
Tokio v1.26.0
Fixed
- macros: fix empty
join!
andtry_join!
([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5504])- sync: don't leak tracing spans in mutex guards ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5469])
- sync: drop wakers after unlocking the mutex in Notify ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5471])
- sync: drop wakers outside lock in semaphore ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5475])
Added
- fs: add
fs::try_exists
([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4299])- net: add types for named unix pipes ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5351])
- sync: add
MappedOwnedMutexGuard
([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5474])Changed
- chore: update windows-sys to 0.45 ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5386])
- net: use Message Read Mode for named pipes ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5350])
- sync: mark lock guards with
#[clippy::has_significant_drop]
([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5422])- sync: reduce contention in watch channel ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5464])
- time: remove cache padding in timer entries ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5468])
- time: Improve
Instant::now()
perf with test-util ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5513])Internal Changes
- io: use
poll_fn
incopy_bidirectional
([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5486])- net: refactor named pipe builders to not use bitfields ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5477])
- rt: remove Arc from Clock ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5434])
- sync: make
notify_waiters
calls atomic ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5458])- time: don't store deadline twice in sleep entries ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5410])
Unstable
- metrics: add a new metric for budget exhaustion yields ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5517])
Documented
- io: improve AsyncFd example ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5481])
- runtime: document the nature of the main future ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5494])
- runtime: remove extra period in docs ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5511])
- signal: updated Documentation for Signals ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5459])
- sync: add doc aliases for
blocking_*
methods ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5448])- sync: fix docs for Send/Sync bounds in broadcast ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5480])
- sync: document drop behavior for channels ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5497])
- task: clarify what happens to spawned work during runtime shutdown ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5394])
- task: clarify
process::Command
docs ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5413])- task: fix wording with 'unsend' ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5452])
- time: document immediate completion guarantee for timeouts ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5509])
- tokio: document supported platforms ([https://github-redirect.dependabot.com/tokio-rs/tokio/pull/5483])
... (truncated)
Commits
a377240
chore: prepare for Tokio v1.26.0 release (#5521)52da177
metrics: add a new metric for budget exhaustion yields (#5517)ee1c940
time: ImproveInstant::now()
perf with test-util (#5513)815d89a
runtime: remove extra period in docs (#5511)54aaf3d
time: document immediate completion guarantee for timeouts (#5509)5a3abe5
net: add types for named unix pipes (#5351)d44b1ca
io: ignore SplitByUtf8BoundaryIfWindows test on miri (#5507)e23c6f3
signal: updated Documentation for Signals (#5459)0a50cb3
net: fix test compilation failure (#5506)2298679
runtime: document the nature of the main future (#5494)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)