File tree 4 files changed +17
-3
lines changed
4 files changed +17
-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.42.0 " , features = [" full" ] }
59
+ tokio = { version = " 1.42.1 " , 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.42.1 (April 7nd, 2025)
2
+
3
+ This release fixes a soundness issue in the broadcast channel. The channel
4
+ accepts values that are ` Send ` but ` !Sync ` . Previously, the channel called
5
+ ` clone() ` on these values without synchronizing. This release fixes the channel
6
+ by synchronizing calls to ` .clone() ` (Thanks Austin Bonander for finding and
7
+ reporting the issue).
8
+
9
+ ### Fixed
10
+
11
+ - sync: synchronize ` clone() ` call in broadcast channel ([ #7232 ] )
12
+
13
+ [ #7232 ] : https://github.com/tokio-rs/tokio/pull/7232
14
+
1
15
# 1.42.0 (Dec 3rd, 2024)
2
16
3
17
### Added
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.42.0 "
9
+ version = " 1.42.1 "
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.42.0 " , features = [" full" ] }
59
+ tokio = { version = " 1.42.1 " , 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