This release updates the minimum supported Rust version (MSRV) to 1.49,
the mio dependency to v0.8, and the (optional) parking_lot
dependency to v0.12. Additionally, it contains several bug fixes, as
well as internal refactoring and performance improvements.
Fixed
time: prevent panicking in sleep with large durations (#4495)
time: eliminate potential panics in Instant arithmetic on platforms
where Instant::now is not monotonic (#4461)
io: fix DuplexStream not participating in cooperative yielding
(#4478)
rt: fix potential double panic when dropping a JoinHandle (#4430)
Changed
update minimum supported Rust version to 1.49 (#4457)
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)
Bumps tokio from 1.2.0 to 1.17.0.
Release notes
Sourced from tokio's releases.
... (truncated)
Commits
43c224f
chore: prepare Tokio v1.17.0 release (#4504)8758965
task: fix unstable API documentation notes (#4503)28b983c
time: use bit manipulation instead of modulo (#4480)0826f76
time: prevent panicking in sleep() with large durations (#4495)37917b8
rt: makeJoinSet
unstable (#4499)9a3ce91
util: fix waker update condition inCancellationToken
(#4497)8fb15da
Update to Mio v0.8ac0f894
net: use std::future::ready instead of own Ready future (#4271)02141db
replace spin_loop_hint with hint::spin_loop (#4491)62274b0
chore: update minimal mio requirement to 0.7.11 (#4492)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)