File tree Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
56
56
57
57
``` toml
58
58
[dependencies ]
59
- tokio = { version = " 1.46.1 " , features = [" full" ] }
59
+ tokio = { version = " 1.47.0 " , features = [" full" ] }
60
60
```
61
61
Then, on your main.rs:
62
62
Original file line number Diff line number Diff line change
1
+ # 1.47.0 (July 25th, 2025)
2
+
3
+ This release adds ` poll_proceed ` and ` cooperative ` to the ` coop ` module for
4
+ cooperative scheduling, adds ` SetOnce ` to the ` sync ` module which provides
5
+ similar functionality to [ `std::sync::OnceLock] , and adds a new method
6
+ ` sync::Notify::notified_owned() ` which returns an ` OwnedNotified ` without
7
+ a lifetime parameter.
8
+
9
+ ## Added
10
+
11
+ - coop: add ` cooperative ` and ` poll_proceed ` ([ #7405 ] )
12
+ - sync: add ` SetOnce ` ([ #7148 ] )
13
+ - sync: add ` sync::Notify::notified_owned() ` ([ #7465 ] )
14
+
15
+ ## Changed
16
+
17
+ - deps: upgrade windows-sys 0.52 → 0.59 ([ #7117 ] )
18
+ - deps: update to socket2 v0.6 ([ #7443 ] )
19
+ - sync: improve ` AtomicWaker::wake ` performance ([ #7450 ] )
20
+
21
+ ## Documented
22
+
23
+ - metrics: fix listed feature requirements for some metrics ([ #7449 ] )
24
+ - runtime: improve safety comments of ` Readiness<'_> ` ([ #7415 ] )
25
+
26
+ [ #7148 ] : https://github.com/tokio-rs/tokio/pull/7148
27
+ [ #7405 ] : https://github.com/tokio-rs/tokio/pull/7405
28
+ [ #7415 ] : https://github.com/tokio-rs/tokio/pull/7415
29
+ [ #7449 ] : https://github.com/tokio-rs/tokio/pull/7449
30
+ [ #7450 ] : https://github.com/tokio-rs/tokio/pull/7450
31
+ [ #7465 ] : https://github.com/tokio-rs/tokio/pull/7465
32
+
1
33
# 1.46.1 (July 4th, 2025)
2
34
3
35
This release fixes incorrect spawn locations in runtime task hooks for tasks
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ name = "tokio"
6
6
# - README.md
7
7
# - Update CHANGELOG.md.
8
8
# - Create "v1.x.y" git tag.
9
- version = " 1.46.1 "
9
+ version = " 1.47.0 "
10
10
edition = " 2021"
11
11
rust-version = " 1.70"
12
12
authors = [
" Tokio Contributors <[email protected] >" ]
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
56
56
57
57
``` toml
58
58
[dependencies ]
59
- tokio = { version = " 1.46.1 " , features = [" full" ] }
59
+ tokio = { version = " 1.47.0 " , features = [" full" ] }
60
60
```
61
61
Then, on your main.rs:
62
62
You can’t perform that action at this time.
0 commit comments