Bump tokio from 1.23.0 to 1.24.1
Bumps tokio from 1.23.0 to 1.24.1.
Release notes
Sourced from tokio's releases.
Tokio v1.24.1
This release fixes a compilation failure on targets without
AtomicU64
when using rustc older than 1.63. (#5356)Tokio v1.24.0
The highlight of this release is the reduction of lock contention for all I/O operations (#5300). We have received reports of up to a 20% improvement in CPU utilization and increased throughput for real-world I/O heavy applications.
Fixed
- rt: improve native
AtomicU64
support detection (#5284)Added
- rt: add configuration option for max number of I/O events polled from the OS per tick (#5186)
- rt: add an environment variable for configuring the default number of worker threads per runtime instance (#4250)
Changed
- sync: reduce MPSC channel stack usage (#5294)
- io: reduce lock contention in I/O operations (#5300)
- fs: speed up
read_dir()
by chunking operations (#5309)- rt: use internal
ThreadId
implementation (#5329)- test: don't auto-advance time when a
spawn_blocking
task is running (#5115)#5186: tokio-rs/tokio#5186 #5294: tokio-rs/tokio#5294 #5284: tokio-rs/tokio#5284 #4250: tokio-rs/tokio#4250 #5300: tokio-rs/tokio#5300 #5329: tokio-rs/tokio#5329 #5115: tokio-rs/tokio#5115 #5309: tokio-rs/tokio#5309
Tokio v1.23.1
This release forward ports changes from 1.18.4.
Fixed
- net: fix Windows named pipe server builder to maintain option when toggling pipe mode (#5336).
Commits
-
31c7e82
chore: prepare Tokio v1.24.1 (#5357) -
8d8db27
tokio: add load and compare_exchange_weak to loom StaticAtomicU64 (#5356) -
dfe252d
chore: prepare Tokio v1.24.0 release (#5353) -
21b233f
test: bump version of async-stream (#5347) -
7299304
Merge branch 'tokio-1.23.x' into master -
1a997ff
chore: prepare Tokio v1.23.1 release -
a8fe333
Merge branch 'tokio-1.20.x' into tokio-1.23.x -
ba81945
chore: prepare Tokio 1.20.3 release -
763bdc9
ci: run WASI tasks using latest Rust -
9f98535
Merge remote-tracking branch 'origin/tokio-1.18.x' into fix-named-pipes-1.20 - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)