From d74763cc3cf022d1267b61a43882b99dbde2f16c Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 6 Feb 2022 21:34:11 +0900 Subject: [PATCH] Sync with 0.3.21 --- CHANGELOG.md | 6 ++++++ futures-io/Cargo.toml | 2 +- futures-test/Cargo.toml | 2 +- futures-util/Cargo.toml | 2 +- futures/Cargo.toml | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b71ab97a45..8f76048681 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ +# 0.3.21 - 2022-02-06 + +* Fix potential data race in `FlattenUnordered` that introduced in 0.3.20 (#2566) + # 0.3.20 - 2022-02-06 +NOTE: This release has been yanked due to a bug fixed in 0.3.21. + * Fix stacked borrows violations when `-Zmiri-tag-raw-pointers` is enabled. This raises MSRV of `futures-task` to 1.45. (#2548, #2550) * Change `FuturesUnordered` to respect yielding from future (#2551) * Add `StreamExt::{flatten_unordered, flat_map_unordered}` (#2083) diff --git a/futures-io/Cargo.toml b/futures-io/Cargo.toml index 112196f094..8d446947b1 100644 --- a/futures-io/Cargo.toml +++ b/futures-io/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-io" -version = "0.3.20" +version = "0.3.21" edition = "2018" rust-version = "1.36" license = "MIT OR Apache-2.0" diff --git a/futures-test/Cargo.toml b/futures-test/Cargo.toml index d9ef043c27..50ad249b06 100644 --- a/futures-test/Cargo.toml +++ b/futures-test/Cargo.toml @@ -13,7 +13,7 @@ Common utilities for testing components built off futures-rs. [dependencies] futures-core = { version = "=1.0.0-alpha.0", path = "../futures-core", default-features = false } futures-task = { version = "=0.4.0-alpha.0", path = "../futures-task", default-features = false } -futures-io = { version = "0.3.20", path = "../futures-io", default-features = false } +futures-io = { version = "0.3.21", path = "../futures-io", default-features = false } futures-util = { version = "=0.4.0-alpha.0", path = "../futures-util", default-features = false } futures-executor = { version = "=0.4.0-alpha.0", path = "../futures-executor", default-features = false } futures-sink = { version = "=0.4.0-alpha.0", path = "../futures-sink", default-features = false } diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index d4713644c5..1bcc4c083e 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -33,7 +33,7 @@ write-all-vectored = ["io"] futures-core = { path = "../futures-core", version = "=1.0.0-alpha.0", default-features = false } futures-task = { path = "../futures-task", version = "=0.4.0-alpha.0", default-features = false } futures-channel = { path = "../futures-channel", version = "=0.4.0-alpha.0", default-features = false, features = ["std"], optional = true } -futures-io = { path = "../futures-io", version = "0.3.20", default-features = false, features = ["std"], optional = true } +futures-io = { path = "../futures-io", version = "0.3.21", default-features = false, features = ["std"], optional = true } futures-sink = { path = "../futures-sink", version = "=0.4.0-alpha.0", default-features = false, optional = true } futures-macro = { path = "../futures-macro", version = "=0.4.0-alpha.0", default-features = false, optional = true } slab = { version = "0.4.2", optional = true } diff --git a/futures/Cargo.toml b/futures/Cargo.toml index 4d541b82eb..a4b015dfef 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -19,7 +19,7 @@ futures-core = { path = "../futures-core", version = "=1.0.0-alpha.0", default-f futures-task = { path = "../futures-task", version = "=0.4.0-alpha.0", default-features = false } futures-channel = { path = "../futures-channel", version = "=0.4.0-alpha.0", default-features = false, features = ["sink"] } futures-executor = { path = "../futures-executor", version = "=0.4.0-alpha.0", default-features = false, optional = true } -futures-io = { path = "../futures-io", version = "0.3.20", default-features = false } +futures-io = { path = "../futures-io", version = "0.3.21", default-features = false } futures-sink = { path = "../futures-sink", version = "=0.4.0-alpha.0", default-features = false } futures-util = { path = "../futures-util", version = "=0.4.0-alpha.0", default-features = false, features = ["sink"] }