mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
chore: prepare Tokio v1.42.1
This commit is contained in:
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.42.0", features = ["full"] }
|
tokio = { version = "1.42.1", features = ["full"] }
|
||||||
```
|
```
|
||||||
Then, on your main.rs:
|
Then, on your main.rs:
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
# 1.42.0 (Dec 3rd, 2024)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ name = "tokio"
|
|||||||
# - README.md
|
# - README.md
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v1.x.y" git tag.
|
# - Create "v1.x.y" git tag.
|
||||||
version = "1.42.0"
|
version = "1.42.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.70"
|
rust-version = "1.70"
|
||||||
authors = ["Tokio Contributors <[email protected]>"]
|
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
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.42.0", features = ["full"] }
|
tokio = { version = "1.42.1", features = ["full"] }
|
||||||
```
|
```
|
||||||
Then, on your main.rs:
|
Then, on your main.rs:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user