chore: prepare Tokio v1.42.1

This commit is contained in:
Alice Ryhl
2025-04-07 17:15:14 +02:00
parent 9faea740df
commit f7fb0bdc7a
4 changed files with 17 additions and 3 deletions
+1 -1
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.42.0", features = ["full"] }
tokio = { version = "1.42.1", features = ["full"] }
```
Then, on your main.rs:
+14
View File
@@ -1,3 +1,17 @@
# 1.42.1 (April 7nd, 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.42.0 (Dec 3rd, 2024)
### Added
+1 -1
View File
@@ -6,7 +6,7 @@ name = "tokio"
# - README.md
# - Update CHANGELOG.md.
# - Create "v1.x.y" git tag.
version = "1.42.0"
version = "1.42.1"
edition = "2021"
rust-version = "1.70"
authors = ["Tokio Contributors <[email protected]>"]
+1 -1
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.42.0", features = ["full"] }
tokio = { version = "1.42.1", features = ["full"] }
```
Then, on your main.rs: