mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-25 00:00:18 +02:00
chore: prepare Tokio v1.47.0 (#7482)
This commit is contained in:
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tokio = { version = "1.46.1", features = ["full"] }
|
||||
tokio = { version = "1.47.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
@@ -1,3 +1,35 @@
|
||||
# 1.47.0 (July 25th, 2025)
|
||||
|
||||
This release adds `poll_proceed` and `cooperative` to the `coop` module for
|
||||
cooperative scheduling, adds `SetOnce` to the `sync` module which provides
|
||||
similar functionality to [`std::sync::OnceLock], and adds a new method
|
||||
`sync::Notify::notified_owned()` which returns an `OwnedNotified` without
|
||||
a lifetime parameter.
|
||||
|
||||
## Added
|
||||
|
||||
- coop: add `cooperative` and `poll_proceed` ([#7405])
|
||||
- sync: add `SetOnce` ([#7148])
|
||||
- sync: add `sync::Notify::notified_owned()` ([#7465])
|
||||
|
||||
## Changed
|
||||
|
||||
- deps: upgrade windows-sys 0.52 → 0.59 ([#7117])
|
||||
- deps: update to socket2 v0.6 ([#7443])
|
||||
- sync: improve `AtomicWaker::wake` performance ([#7450])
|
||||
|
||||
## Documented
|
||||
|
||||
- metrics: fix listed feature requirements for some metrics ([#7449])
|
||||
- runtime: improve safety comments of `Readiness<'_>` ([#7415])
|
||||
|
||||
[#7148]: https://github.com/tokio-rs/tokio/pull/7148
|
||||
[#7405]: https://github.com/tokio-rs/tokio/pull/7405
|
||||
[#7415]: https://github.com/tokio-rs/tokio/pull/7415
|
||||
[#7449]: https://github.com/tokio-rs/tokio/pull/7449
|
||||
[#7450]: https://github.com/tokio-rs/tokio/pull/7450
|
||||
[#7465]: https://github.com/tokio-rs/tokio/pull/7465
|
||||
|
||||
# 1.46.1 (July 4th, 2025)
|
||||
|
||||
This release fixes incorrect spawn locations in runtime task hooks for tasks
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ name = "tokio"
|
||||
# - README.md
|
||||
# - Update CHANGELOG.md.
|
||||
# - Create "v1.x.y" git tag.
|
||||
version = "1.46.1"
|
||||
version = "1.47.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.70"
|
||||
authors = ["Tokio Contributors <[email protected]>"]
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
tokio = { version = "1.46.1", features = ["full"] }
|
||||
tokio = { version = "1.47.0", features = ["full"] }
|
||||
```
|
||||
Then, on your main.rs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user