chore: forward port 1.43.x

This commit is contained in:
Carl Lerche 2025-04-04 16:13:58 -07:00
parent e3c3a56718
commit ec4b1d7215
No known key found for this signature in database
GPG Key ID: AD201202C49138B0
4 changed files with 17 additions and 3 deletions

View File

@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
```toml
[dependencies]
tokio = { version = "1.44.1", features = ["full"] }
tokio = { version = "1.44.2", features = ["full"] }
```
Then, on your main.rs:

View File

@ -1,3 +1,17 @@
# 1.44.2 (April 4, 2025)
This release fixes a soundness issue in the broadcast channel. The channel
accepts values that are `Send` but `!Sync`. Previously, the channel called
`clone()` on these values without synchronizing. This release fixes the channel
by synchronizing calls to `.clone()` (Thanks Austin Bonander for finding and
reporting the issue).
### Fixed
- sync: synchronize `clone()` call in broadcast channel ([#7232])
[#7232]: https://github.com/tokio-rs/tokio/pull/7232
# 1.44.1 (March 13th, 2025)
### Fixed

View File

@ -6,7 +6,7 @@ name = "tokio"
# - README.md
# - Update CHANGELOG.md.
# - Create "v1.x.y" git tag.
version = "1.44.1"
version = "1.44.2"
edition = "2021"
rust-version = "1.70"
authors = ["Tokio Contributors <team@tokio.rs>"]

View File

@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
```toml
[dependencies]
tokio = { version = "1.44.1", features = ["full"] }
tokio = { version = "1.44.2", features = ["full"] }
```
Then, on your main.rs: