diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c39f858f8..b71ab97a45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.3.20 - 2022-02-06 + +* 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) + # 0.3.19 - 2021-12-18 * Remove unstable `read-initializer` feature (#2534) diff --git a/futures-channel/Cargo.toml b/futures-channel/Cargo.toml index a49c556ad1..ddef847bf7 100644 --- a/futures-channel/Cargo.toml +++ b/futures-channel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-channel" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.45" license = "MIT OR Apache-2.0" @@ -22,8 +22,8 @@ unstable = [] cfg-target-has-atomic = [] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.19", default-features = false } -futures-sink = { path = "../futures-sink", version = "0.3.19", default-features = false, optional = true } +futures-core = { path = "../futures-core", version = "0.3.20", default-features = false } +futures-sink = { path = "../futures-sink", version = "0.3.20", default-features = false, optional = true } [dev-dependencies] futures = { path = "../futures", default-features = true } diff --git a/futures-core/Cargo.toml b/futures-core/Cargo.toml index c3026f733c..bce1139ef5 100644 --- a/futures-core/Cargo.toml +++ b/futures-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-core" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.36" license = "MIT OR Apache-2.0" diff --git a/futures-executor/Cargo.toml b/futures-executor/Cargo.toml index 458d9e47a2..eeb6e7a881 100644 --- a/futures-executor/Cargo.toml +++ b/futures-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-executor" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.45" license = "MIT OR Apache-2.0" @@ -16,9 +16,9 @@ std = ["futures-core/std", "futures-task/std", "futures-util/std"] thread-pool = ["std", "num_cpus"] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.19", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.19", default-features = false } -futures-util = { path = "../futures-util", version = "0.3.19", default-features = false } +futures-core = { path = "../futures-core", version = "0.3.20", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.20", default-features = false } +futures-util = { path = "../futures-util", version = "0.3.20", default-features = false } num_cpus = { version = "1.8.0", optional = true } [dev-dependencies] diff --git a/futures-io/Cargo.toml b/futures-io/Cargo.toml index 5350d2157e..112196f094 100644 --- a/futures-io/Cargo.toml +++ b/futures-io/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-io" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.36" license = "MIT OR Apache-2.0" diff --git a/futures-macro/Cargo.toml b/futures-macro/Cargo.toml index 7ea489a929..e11707f269 100644 --- a/futures-macro/Cargo.toml +++ b/futures-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-macro" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.45" license = "MIT OR Apache-2.0" diff --git a/futures-sink/Cargo.toml b/futures-sink/Cargo.toml index 40c9c33f0b..461aca464a 100644 --- a/futures-sink/Cargo.toml +++ b/futures-sink/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-sink" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.36" license = "MIT OR Apache-2.0" diff --git a/futures-task/Cargo.toml b/futures-task/Cargo.toml index 8531d8f297..0b6af24686 100644 --- a/futures-task/Cargo.toml +++ b/futures-task/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "futures-task" -version = "0.3.19" +version = "0.3.20" edition = "2018" -rust-version = "1.36" +rust-version = "1.45" license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" homepage = "https://rust-lang.github.io/futures-rs" diff --git a/futures-test/Cargo.toml b/futures-test/Cargo.toml index 4456245f0c..f594d187d1 100644 --- a/futures-test/Cargo.toml +++ b/futures-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-test" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.45" license = "MIT OR Apache-2.0" @@ -11,13 +11,13 @@ Common utilities for testing components built off futures-rs. """ [dependencies] -futures-core = { version = "0.3.19", path = "../futures-core", default-features = false } -futures-task = { version = "0.3.19", path = "../futures-task", default-features = false } -futures-io = { version = "0.3.19", path = "../futures-io", default-features = false } -futures-util = { version = "0.3.19", path = "../futures-util", default-features = false } -futures-executor = { version = "0.3.19", path = "../futures-executor", default-features = false } -futures-sink = { version = "0.3.19", path = "../futures-sink", default-features = false } -futures-macro = { version = "=0.3.19", path = "../futures-macro", default-features = false } +futures-core = { version = "0.3.20", path = "../futures-core", default-features = false } +futures-task = { version = "0.3.20", path = "../futures-task", default-features = false } +futures-io = { version = "0.3.20", path = "../futures-io", default-features = false } +futures-util = { version = "0.3.20", path = "../futures-util", default-features = false } +futures-executor = { version = "0.3.20", path = "../futures-executor", default-features = false } +futures-sink = { version = "0.3.20", path = "../futures-sink", default-features = false } +futures-macro = { version = "=0.3.20", path = "../futures-macro", default-features = false } pin-utils = { version = "0.1.0", default-features = false } pin-project = "1.0.1" diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index 687579c7dd..564b8be41f 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures-util" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.45" license = "MIT OR Apache-2.0" @@ -34,12 +34,12 @@ write-all-vectored = ["io"] cfg-target-has-atomic = [] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.19", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.19", default-features = false } -futures-channel = { path = "../futures-channel", version = "0.3.19", default-features = false, features = ["std"], optional = true } -futures-io = { path = "../futures-io", version = "0.3.19", default-features = false, features = ["std"], optional = true } -futures-sink = { path = "../futures-sink", version = "0.3.19", default-features = false, optional = true } -futures-macro = { path = "../futures-macro", version = "=0.3.19", default-features = false, optional = true } +futures-core = { path = "../futures-core", version = "0.3.20", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.20", default-features = false } +futures-channel = { path = "../futures-channel", version = "0.3.20", default-features = false, features = ["std"], optional = true } +futures-io = { path = "../futures-io", version = "0.3.20", default-features = false, features = ["std"], optional = true } +futures-sink = { path = "../futures-sink", version = "0.3.20", default-features = false, optional = true } +futures-macro = { path = "../futures-macro", version = "=0.3.20", default-features = false, optional = true } slab = { version = "0.4.2", optional = true } memchr = { version = "2.2", optional = true } futures_01 = { version = "0.1.25", optional = true, package = "futures" } diff --git a/futures/Cargo.toml b/futures/Cargo.toml index 3bec3dd7bb..ddfca034eb 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "futures" -version = "0.3.19" +version = "0.3.20" edition = "2018" rust-version = "1.45" license = "MIT OR Apache-2.0" @@ -15,13 +15,13 @@ composability, and iterator-like interfaces. categories = ["asynchronous"] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.19", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.19", default-features = false } -futures-channel = { path = "../futures-channel", version = "0.3.19", default-features = false, features = ["sink"] } -futures-executor = { path = "../futures-executor", version = "0.3.19", default-features = false, optional = true } -futures-io = { path = "../futures-io", version = "0.3.19", default-features = false } -futures-sink = { path = "../futures-sink", version = "0.3.19", default-features = false } -futures-util = { path = "../futures-util", version = "0.3.19", default-features = false, features = ["sink"] } +futures-core = { path = "../futures-core", version = "0.3.20", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.20", default-features = false } +futures-channel = { path = "../futures-channel", version = "0.3.20", default-features = false, features = ["sink"] } +futures-executor = { path = "../futures-executor", version = "0.3.20", default-features = false, optional = true } +futures-io = { path = "../futures-io", version = "0.3.20", default-features = false } +futures-sink = { path = "../futures-sink", version = "0.3.20", default-features = false } +futures-util = { path = "../futures-util", version = "0.3.20", default-features = false, features = ["sink"] } [dev-dependencies] futures-executor = { path = "../futures-executor", features = ["thread-pool"] }