From b825f307944660c31b99cb39abbedf84528f6369 Mon Sep 17 00:00:00 2001 From: Taylor Cramer Date: Mon, 3 Feb 2020 14:08:38 -0800 Subject: [PATCH] Stage 0.3.2 --- CHANGELOG.md | 17 ++++++++++++++++- README.md | 2 +- futures-channel/Cargo.toml | 10 +++++----- futures-core/Cargo.toml | 4 ++-- futures-executor/Cargo.toml | 10 +++++----- futures-io/Cargo.toml | 2 +- futures-macro/Cargo.toml | 2 +- futures-sink/Cargo.toml | 2 +- futures-task/Cargo.toml | 4 ++-- futures-test/Cargo.toml | 14 +++++++------- futures-util/Cargo.toml | 18 +++++++++--------- futures/Cargo.toml | 20 ++++++++++---------- 12 files changed, 60 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 673f7b2f8a..ddd597aae2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ -# 0.3.2 - 2020-??-?? +# 0.3.2 - 2020-02-03 +* Improved buffering performance of `SplitSink` (#1969) +* Added `select_biased!` macro (#1976) +* Added `hash_receiver` method to mpsc channel (#1962) +* Added `stream::try_unfold` (#1977) +* Fixed bug with zero-size buffers in vectored IO (#1998) +* `AtomicWaker::new()` is now `const fn` (#2007) +* Fixed bug between threadpool and user park/unparking (#2010) +* Added `stream::Peakable::peek` (#2021) +* Added `StreamExt::scan` (#2044) +* Added impl of `AsyncRead`/`Write` for `BufReader`/`Writer` (#2033) +* Added impl of `Spawn` and `LocalSpawn` for `Arc` (#2039) +* Fixed `Sync` issues with `FuturesUnordered` (#2054) * Added `into_inner` method for `future::Ready` (#2055) +* Added `MappedMutexGuard` API (#2056) +* Mitigated starvation issues in `FuturesUnordered` (#2049) +* Added `TryFutureExt::map_ok_or_else` (#2058) # 0.3.1 - 2019-11-7 * Fix signature of `LocalSpawn` trait (breaking change -- see #1959) diff --git a/README.md b/README.md index e647e9058d..2441402040 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ a `#[no_std]` environment, use: ```toml [dependencies] -futures = { version = "0.3.1", default-features = false } +futures = { version = "0.3.2", default-features = false } ``` # License diff --git a/futures-channel/Cargo.toml b/futures-channel/Cargo.toml index 7d9407a7d6..4072a4d150 100644 --- a/futures-channel/Cargo.toml +++ b/futures-channel/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-channel" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -24,12 +24,12 @@ unstable = ["futures-core/unstable"] cfg-target-has-atomic = ["futures-core/cfg-target-has-atomic"] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.1", default-features = false } -futures-sink = { path = "../futures-sink", version = "0.3.1", default-features = false, optional = true } +futures-core = { path = "../futures-core", version = "0.3.2", default-features = false } +futures-sink = { path = "../futures-sink", version = "0.3.2", default-features = false, optional = true } [dev-dependencies] -futures = { path = "../futures", version = "0.3.1", default-features = true } -futures-test = { path = "../futures-test", version = "0.3.1", default-features = true } +futures = { path = "../futures", version = "0.3.2", default-features = true } +futures-test = { path = "../futures-test", version = "0.3.2", default-features = true } [package.metadata.docs.rs] all-features = true diff --git a/futures-core/Cargo.toml b/futures-core/Cargo.toml index 88dab900eb..fff0dcdc62 100644 --- a/futures-core/Cargo.toml +++ b/futures-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-core" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -25,7 +25,7 @@ cfg-target-has-atomic = [] [dependencies] [dev-dependencies] -futures = { path = "../futures", version = "0.3.1" } +futures = { path = "../futures", version = "0.3.2" } [package.metadata.docs.rs] all-features = true diff --git a/futures-executor/Cargo.toml b/futures-executor/Cargo.toml index 0b282ba540..d925f5987e 100644 --- a/futures-executor/Cargo.toml +++ b/futures-executor/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-executor" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -17,13 +17,13 @@ std = ["futures-core/std", "futures-task/std", "futures-util/std"] thread-pool = ["std", "num_cpus"] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.1", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.1", default-features = false } -futures-util = { path = "../futures-util", version = "0.3.1", default-features = false } +futures-core = { path = "../futures-core", version = "0.3.2", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.2", default-features = false } +futures-util = { path = "../futures-util", version = "0.3.2", default-features = false } num_cpus = { version = "1.8.0", optional = true } [dev-dependencies] -futures = { path = "../futures", version = "0.3.1" } +futures = { path = "../futures", version = "0.3.2" } [package.metadata.docs.rs] all-features = true diff --git a/futures-io/Cargo.toml b/futures-io/Cargo.toml index 308beb77ec..da961078eb 100644 --- a/futures-io/Cargo.toml +++ b/futures-io/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-io" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-macro/Cargo.toml b/futures-macro/Cargo.toml index af5f1fa2a8..8217cec23a 100644 --- a/futures-macro/Cargo.toml +++ b/futures-macro/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-macro" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Taylor Cramer ", "Taiki Endo "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-sink/Cargo.toml b/futures-sink/Cargo.toml index af607267be..b4854f8382 100644 --- a/futures-sink/Cargo.toml +++ b/futures-sink/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-sink" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-task/Cargo.toml b/futures-task/Cargo.toml index 775da00f4e..18b747bc4c 100644 --- a/futures-task/Cargo.toml +++ b/futures-task/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-task" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -25,7 +25,7 @@ cfg-target-has-atomic = [] [dependencies] [dev-dependencies] -futures = { path = "../futures", version = "0.3.1" } +futures = { path = "../futures", version = "0.3.2" } [package.metadata.docs.rs] all-features = true diff --git a/futures-test/Cargo.toml b/futures-test/Cargo.toml index 4d5bd75173..0169e250d1 100644 --- a/futures-test/Cargo.toml +++ b/futures-test/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-test" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Wim Looman "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -12,15 +12,15 @@ Common utilities for testing components built off futures-rs. """ [dependencies] -futures-core = { version = "0.3.1", path = "../futures-core", default-features = false } -futures-task = { version = "0.3.1", path = "../futures-task", default-features = false } -futures-io = { version = "0.3.1", path = "../futures-io", default-features = false } -futures-util = { version = "0.3.1", path = "../futures-util", default-features = false } -futures-executor = { version = "0.3.1", path = "../futures-executor", default-features = false } +futures-core = { version = "0.3.2", path = "../futures-core", default-features = false } +futures-task = { version = "0.3.2", path = "../futures-task", default-features = false } +futures-io = { version = "0.3.2", path = "../futures-io", default-features = false } +futures-util = { version = "0.3.2", path = "../futures-util", default-features = false } +futures-executor = { version = "0.3.2", path = "../futures-executor", default-features = false } pin-utils = { version = "0.1.0-alpha.4", default-features = false } [dev-dependencies] -futures = { version = "0.3.1", path = "../futures", default-features = false, features = ["std"] } +futures = { version = "0.3.2", path = "../futures", default-features = false, features = ["std"] } [features] default = ["std"] diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index 55ec60f502..1cb0201adb 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-util" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -32,12 +32,12 @@ bilock = [] read-initializer = ["io", "futures-io/read-initializer", "futures-io/unstable"] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.1", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.1", default-features = false } -futures-channel = { path = "../futures-channel", version = "0.3.1", default-features = false, features = ["std"], optional = true } -futures-io = { path = "../futures-io", version = "0.3.1", default-features = false, features = ["std"], optional = true } -futures-sink = { path = "../futures-sink", version = "0.3.1", default-features = false, optional = true } -futures-macro = { path = "../futures-macro", version = "0.3.1", default-features = false, optional = true } +futures-core = { path = "../futures-core", version = "0.3.2", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.2", default-features = false } +futures-channel = { path = "../futures-channel", version = "0.3.2", default-features = false, features = ["std"], optional = true } +futures-io = { path = "../futures-io", version = "0.3.2", default-features = false, features = ["std"], optional = true } +futures-sink = { path = "../futures-sink", version = "0.3.2", default-features = false, optional = true } +futures-macro = { path = "../futures-macro", version = "0.3.2", default-features = false, optional = true } proc-macro-hack = { version = "0.5.9", optional = true } proc-macro-nested = { version = "0.1.2", optional = true } slab = { version = "0.4", optional = true } @@ -47,8 +47,8 @@ tokio-io = { version = "0.1.9", optional = true } pin-utils = "0.1.0-alpha.4" [dev-dependencies] -futures = { path = "../futures", version = "0.3.1", features = ["async-await"] } -futures-test = { path = "../futures-test", version = "0.3.1" } +futures = { path = "../futures", version = "0.3.2", features = ["async-await"] } +futures-test = { path = "../futures-test", version = "0.3.2" } tokio = "0.1.11" [package.metadata.docs.rs] diff --git a/futures/Cargo.toml b/futures/Cargo.toml index b68da9607f..6abda8fd05 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures" edition = "2018" -version = "0.3.1" +version = "0.3.2" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" readme = "../README.md" @@ -19,18 +19,18 @@ categories = ["asynchronous"] travis-ci = { repository = "rust-lang/futures-rs" } [dependencies] -futures-core = { path = "../futures-core", version = "0.3.1", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.1", default-features = false } -futures-channel = { path = "../futures-channel", version = "0.3.1", default-features = false, features = ["sink"] } -futures-executor = { path = "../futures-executor", version = "0.3.1", default-features = false, optional = true } -futures-io = { path = "../futures-io", version = "0.3.1", default-features = false } -futures-sink = { path = "../futures-sink", version = "0.3.1", default-features = false } -futures-util = { path = "../futures-util", version = "0.3.1", default-features = false, features = ["sink"] } +futures-core = { path = "../futures-core", version = "0.3.2", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.2", default-features = false } +futures-channel = { path = "../futures-channel", version = "0.3.2", default-features = false, features = ["sink"] } +futures-executor = { path = "../futures-executor", version = "0.3.2", default-features = false, optional = true } +futures-io = { path = "../futures-io", version = "0.3.2", default-features = false } +futures-sink = { path = "../futures-sink", version = "0.3.2", default-features = false } +futures-util = { path = "../futures-util", version = "0.3.2", default-features = false, features = ["sink"] } [dev-dependencies] pin-utils = "0.1.0-alpha.4" -futures-executor = { path = "../futures-executor", version = "0.3.1", features = ["thread-pool"] } -futures-test = { path = "../futures-test", version = "0.3.1" } +futures-executor = { path = "../futures-executor", version = "0.3.2", features = ["thread-pool"] } +futures-test = { path = "../futures-test", version = "0.3.2" } tokio = "0.1.11" assert_matches = "1.3.0"