From 12fbeaa7807d73514605cab4dc882ce8772309f8 Mon Sep 17 00:00:00 2001 From: Taylor Cramer Date: Wed, 20 Feb 2019 15:42:32 -0800 Subject: [PATCH] Stage 0.3.0-alpha.13 release --- CHANGELOG.md | 10 ++++++++++ README.md | 6 +++--- futures-channel/Cargo.toml | 10 +++++----- futures-channel/src/lib.rs | 2 +- futures-core/Cargo.toml | 6 +++--- futures-core/src/lib.rs | 2 +- futures-executor/Cargo.toml | 14 +++++++------- futures-executor/src/lib.rs | 2 +- futures-io/Cargo.toml | 8 ++++---- futures-io/src/lib.rs | 2 +- futures-select-macro/Cargo.toml | 4 ++-- futures-sink/Cargo.toml | 8 ++++---- futures-sink/src/lib.rs | 2 +- futures-test/Cargo.toml | 10 +++++----- futures-util/Cargo.toml | 20 ++++++++++---------- futures-util/src/lib.rs | 2 +- futures/Cargo.toml | 18 +++++++++--------- futures/src/lib.rs | 2 +- 18 files changed, 69 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 577a6f23eb..ed89d25006 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 0.3.0-alpha.13 - 2019-2-20 +* Updated to new nightly with stabilization candidate API. +* Removed `LocalWaker`. +* Added `#[must_use]` to `Stream` and `Sink` traits. +* Enabled using `!Unpin` futures in `JoinAll`. +* Added the `try_join_all` combinator. +* Stopped closing a whole channel upon closing of one sender. +* Removed `TokioDefaultSpawner` and `tokio-compat`. +* Moved intra-crate dependencies to exact versions. + # 0.3.0-alpha.12 - 2019-1-14 * Updated to new nightly with a modification to `Pin::set`. * Expose `AssertUnmoved` and `PendingOnce`. diff --git a/README.md b/README.md index bf50b5045a..93d40e6d5b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@

- + Documentation | Website @@ -30,7 +30,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -futures-preview = "0.3.0-alpha.12" +futures-preview = "0.3.0-alpha.13" ``` Now, you can use futures-rs: @@ -49,7 +49,7 @@ a `#[no_std]` environment, use: ```toml [dependencies] -futures-preview = { version = "=0.3.0-alpha.12", default-features = false } +futures-preview = { version = "=0.3.0-alpha.13", default-features = false } ``` # License diff --git a/futures-channel/Cargo.toml b/futures-channel/Cargo.toml index 1986079b1a..80c324f423 100644 --- a/futures-channel/Cargo.toml +++ b/futures-channel/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "futures-channel-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_channel" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_channel" description = """ Channels for asynchronous communication using futures-rs. """ @@ -19,9 +19,9 @@ std = ["futures-core-preview/std"] default = ["std"] [dependencies] -futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.12", default-features = false } +futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false } [dev-dependencies] -futures-preview = { path = "../futures", version = "=0.3.0-alpha.12", default-features = true } -futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.12", default-features = true } +futures-preview = { path = "../futures", version = "=0.3.0-alpha.13", default-features = true } +futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.13", default-features = true } pin-utils = "0.1.0-alpha.4" diff --git a/futures-channel/src/lib.rs b/futures-channel/src/lib.rs index 7a3bfd8477..49f7b4e3fd 100644 --- a/futures-channel/src/lib.rs +++ b/futures-channel/src/lib.rs @@ -9,7 +9,7 @@ #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_channel")] +#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_channel")] #[cfg(feature = "std")] mod lock; diff --git a/futures-core/Cargo.toml b/futures-core/Cargo.toml index b1a9c6debb..e5c9905eb7 100644 --- a/futures-core/Cargo.toml +++ b/futures-core/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "futures-core-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_core" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_core" description = """ The core traits and types in for the `futures` library. """ @@ -24,4 +24,4 @@ cfg-target-has-atomic = [] either = { version = "1.4", default-features = false, optional = true } [dev-dependencies] -futures-preview = { path = "../futures", version = "=0.3.0-alpha.12" } +futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" } diff --git a/futures-core/src/lib.rs b/futures-core/src/lib.rs index 8acdcd6c51..3e2639d861 100644 --- a/futures-core/src/lib.rs +++ b/futures-core/src/lib.rs @@ -7,7 +7,7 @@ #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_core")] +#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_core")] #[cfg(all(feature = "cfg-target-has-atomic", not(feature = "nightly")))] compile_error!("The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features"); diff --git a/futures-executor/Cargo.toml b/futures-executor/Cargo.toml index 3153538002..928a328644 100644 --- a/futures-executor/Cargo.toml +++ b/futures-executor/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "futures-executor-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_executor" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_executor" description = """ Executors for asynchronous tasks based on the futures-rs library. """ @@ -19,13 +19,13 @@ std = ["num_cpus", "futures-core-preview/std", "futures-util-preview/std", "futu default = ["std"] [dependencies] -futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.12", default-features = false} -futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.12", default-features = false} -futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.12", default-features = false} +futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false} +futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.13", default-features = false} +futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false} num_cpus = { version = "1.8.0", optional = true } lazy_static = { version = "1.1.0", optional = true } pin-utils = "0.1.0-alpha.4" [dev-dependencies] -futures-preview = { path = "../futures", version = "=0.3.0-alpha.12" } -futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.12" } +futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" } +futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13" } diff --git a/futures-executor/src/lib.rs b/futures-executor/src/lib.rs index faeb256f80..e0045b4741 100644 --- a/futures-executor/src/lib.rs +++ b/futures-executor/src/lib.rs @@ -6,7 +6,7 @@ #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_executor")] +#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_executor")] #[cfg(feature = "std")] mod local_pool; diff --git a/futures-io/Cargo.toml b/futures-io/Cargo.toml index 3ad3fd1c6f..aa1595814f 100644 --- a/futures-io/Cargo.toml +++ b/futures-io/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "futures-io-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_io" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_io" description = """ The `AsyncRead` and `AsyncWrite` traits for the futures-rs library. """ @@ -19,9 +19,9 @@ std = ["futures-core-preview/std", "iovec"] default = ["std"] [dependencies] -futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.12", default-features = false } +futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false } iovec = { version = "0.1", optional = true } [dev-dependencies] -futures-preview = { path = "../futures", version = "=0.3.0-alpha.12" } +futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" } assert_matches = "1.3.0" diff --git a/futures-io/src/lib.rs b/futures-io/src/lib.rs index 72146dd2fc..fac13ed82e 100644 --- a/futures-io/src/lib.rs +++ b/futures-io/src/lib.rs @@ -8,7 +8,7 @@ #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_io")] +#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_io")] #![feature(futures_api)] diff --git a/futures-select-macro/Cargo.toml b/futures-select-macro/Cargo.toml index 6f78638990..0f947e1f33 100644 --- a/futures-select-macro/Cargo.toml +++ b/futures-select-macro/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "futures-select-macro-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Taylor Cramer "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_select" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_select" description = """ The `select!` macro for waiting on multiple different `Future`s at once and handling the first one to complete. """ diff --git a/futures-sink/Cargo.toml b/futures-sink/Cargo.toml index bbf0a4a9b6..fc615a8826 100644 --- a/futures-sink/Cargo.toml +++ b/futures-sink/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "futures-sink-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_sink" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_sink" description = """ The asynchronous `Sink` trait for the futures-rs library. """ @@ -20,5 +20,5 @@ default = ["std"] [dependencies] either = { version = "1.4", default-features = false, optional = true } -futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.12", default-features = false } -futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.12", default-features = false } +futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false } +futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false } diff --git a/futures-sink/src/lib.rs b/futures-sink/src/lib.rs index 7f72d75a8a..e7fd141095 100644 --- a/futures-sink/src/lib.rs +++ b/futures-sink/src/lib.rs @@ -5,7 +5,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_sink")] +#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_sink")] #![feature(futures_api)] diff --git a/futures-test/Cargo.toml b/futures-test/Cargo.toml index c95ed057d7..c42591a0dd 100644 --- a/futures-test/Cargo.toml +++ b/futures-test/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-test-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Wim Looman "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" @@ -15,13 +15,13 @@ Common utilities for testing components built off futures-rs. name = "futures_test" [dependencies] -futures-core-preview = { version = "=0.3.0-alpha.12", path = "../futures-core", default-features = false } -futures-util-preview = { version = "=0.3.0-alpha.12", path = "../futures-util", default-features = false } -futures-executor-preview = { version = "=0.3.0-alpha.12", path = "../futures-executor", default-features = false } +futures-core-preview = { version = "=0.3.0-alpha.13", path = "../futures-core", default-features = false } +futures-util-preview = { version = "=0.3.0-alpha.13", path = "../futures-util", default-features = false } +futures-executor-preview = { version = "=0.3.0-alpha.13", path = "../futures-executor", default-features = false } pin-utils = { version = "0.1.0-alpha.4", default-features = false } [dev-dependencies] -futures-preview = { version = "=0.3.0-alpha.12", path = "../futures", default-features = false, features = ["std"] } +futures-preview = { version = "=0.3.0-alpha.13", path = "../futures", default-features = false, features = ["std"] } [features] default = ["std"] diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index c6712e6fdd..51be739f89 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "futures-util-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_util" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_util" description = """ Common utilities and extension traits for the futures-rs library. """ @@ -24,11 +24,11 @@ nightly = [] cfg-target-has-atomic = [] [dependencies] -futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.12", default-features = false } -futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.12", default-features = false } -futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.12", default-features = false } -futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.12", default-features = false} -futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.12", default-features = false } +futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false } +futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false } +futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.13", default-features = false } +futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.13", default-features = false} +futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.13", default-features = false } either = { version = "1.4", default-features = false } proc-macro-hack = "0.5" proc-macro-nested = "0.1.2" @@ -40,7 +40,7 @@ tokio-io = { version = "0.1.9", optional = true } pin-utils = "0.1.0-alpha.4" [dev-dependencies] -futures-preview = { path = "../futures", version = "=0.3.0-alpha.12" } -futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.12" } -futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.12" } +futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" } +futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.13" } +futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.13" } tokio = "0.1.11" diff --git a/futures-util/src/lib.rs b/futures-util/src/lib.rs index ef58330bcd..c528d96070 100644 --- a/futures-util/src/lib.rs +++ b/futures-util/src/lib.rs @@ -8,7 +8,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures_util")] +#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_util")] #[cfg(all(feature = "cfg-target-has-atomic", not(feature = "nightly")))] compile_error!("The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features"); diff --git a/futures/Cargo.toml b/futures/Cargo.toml index 39461719c7..b97190e69b 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "futures-preview" edition = "2018" -version = "0.3.0-alpha.12" +version = "0.3.0-alpha.13" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" readme = "../README.md" keywords = ["futures", "async", "future"] repository = "https://github.com/rust-lang-nursery/futures-rs" homepage = "https://rust-lang-nursery.github.io/futures-rs" -documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures" +documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures" description = """ An implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces. @@ -23,16 +23,16 @@ travis-ci = { repository = "rust-lang-nursery/futures-rs" } appveyor = { repository = "rust-lang-nursery/futures-rs" } [dependencies] -futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.12", default-features = false } -futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.12", default-features = false } -futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.12", default-features = false } -futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.12", default-features = false } -futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.12", default-features = false } -futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.12", default-features = false } +futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false } +futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false } +futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.13", default-features = false } +futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.13", default-features = false } +futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.13", default-features = false } +futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.13", default-features = false } [dev-dependencies] pin-utils = "0.1.0-alpha.4" -futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.12" } +futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.13" } tokio = "0.1.11" [features] diff --git a/futures/src/lib.rs b/futures/src/lib.rs index 89526cd3cb..90d2bc545b 100644 --- a/futures/src/lib.rs +++ b/futures/src/lib.rs @@ -28,7 +28,7 @@ #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] -#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.12/futures")] +#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures")] #[cfg(all(feature = "cfg-target-has-atomic", not(feature = "nightly")))] compile_error!("The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features");