From f6f4c0b73dce2e940d3c97ca2ed0f974997a1032 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 6 Feb 2022 17:44:54 +0900 Subject: [PATCH] Sync with 0.3.20 --- CHANGELOG.md | 6 ++++++ futures-io/Cargo.toml | 2 +- futures-task/Cargo.toml | 2 +- futures-task/README.md | 2 +- futures-test/Cargo.toml | 2 +- futures-util/Cargo.toml | 2 +- futures/Cargo.toml | 2 +- 7 files changed, 12 insertions(+), 6 deletions(-) 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-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-task/Cargo.toml b/futures-task/Cargo.toml index c07158ba14..b98e13f834 100644 --- a/futures-task/Cargo.toml +++ b/futures-task/Cargo.toml @@ -2,7 +2,7 @@ name = "futures-task" version = "0.4.0-alpha.0" 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-task/README.md b/futures-task/README.md index 79f12da887..8ceeba9d57 100644 --- a/futures-task/README.md +++ b/futures-task/README.md @@ -11,7 +11,7 @@ Add this to your `Cargo.toml`: futures-task = "0.3" ``` -The current `futures-task` requires Rust 1.36 or later. +The current `futures-task` requires Rust 1.45 or later. ## License diff --git a/futures-test/Cargo.toml b/futures-test/Cargo.toml index 29a814e757..d9ef043c27 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.19", path = "../futures-io", default-features = false } +futures-io = { version = "0.3.20", 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 9b279eba82..d4713644c5 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.19", 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.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 f2a8311517..4d541b82eb 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.19", default-features = false } +futures-io = { path = "../futures-io", version = "0.3.20", 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"] }