Skip to content

Commit

Permalink
Stage 0.3.0-alpha.17
Browse files Browse the repository at this point in the history
  • Loading branch information
cramertj committed Jul 3, 2019
1 parent fc18962 commit db1bafb
Show file tree
Hide file tree
Showing 19 changed files with 66 additions and 61 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 0.3.0-alpha.17 - Unreleased
# 0.3.0-alpha.17 - 2019-7-3
* Removed `try_ready!` macro in favor of `ready!(..)?`. (#1602)
* Removed `io::Window::{set_start, set_end}` in favor of `io::Window::set`. (#1667)
* Re-exported `pin_utils::pin_mut!` macro. (#1686)
Expand All @@ -25,6 +25,11 @@
* Implemented `Stream` for `FlattenSink`. (#1651)
* Implemented `Sink` for `TryFlattenStream`. (#1651)
* Implemented `AsyncRead`, `AsyncWrite`, `AsyncSeek`, `AsyncBufRead`, `FusedFuture` and `FusedStream` for Either. (#1695)
* Replaced empty enums with `Never` type, an alias for `core::convert::Infallible`.
* Removed the `futures-channel` dependency from `futures-sink` and make `futures-sink`
an optional dependency of `futures-channel`.
* Renamed `Sink::SinkError` to `Sink::Error`.
* Made a number of dependencies of `futures-util` optional.

# 0.3.0-alpha.16 - 2019-5-10
* Updated to new nightly `async_await`.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</p>

<p align="center">
<a href="https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures/">
<a href="https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures/">
Documentation
</a> | <a href="https://rust-lang-nursery.github.io/futures-rs/">
Website
Expand All @@ -30,7 +30,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-preview = "=0.3.0-alpha.16"
futures-preview = "=0.3.0-alpha.17"
```

Now, you can use futures-rs:
Expand All @@ -49,7 +49,7 @@ a `#[no_std]` environment, use:

```toml
[dependencies]
futures-preview = { version = "=0.3.0-alpha.16", default-features = false }
futures-preview = { version = "=0.3.0-alpha.17", default-features = false }
```

### Feature `async-await`
Expand All @@ -60,7 +60,7 @@ make it cannot compile. To use futures-rs with async/await, use:

```toml
[dependencies]
futures-preview = { version = "=0.3.0-alpha.16", features = ["async-await", "nightly"] }
futures-preview = { version = "=0.3.0-alpha.17", features = ["async-await", "nightly"] }
```

The current `async-await` feature requires Rust nightly 2019-05-09 or later.
Expand Down
12 changes: 6 additions & 6 deletions futures-channel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-channel-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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.16/futures_channel"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_channel"
description = """
Channels for asynchronous communication using futures-rs.
"""
Expand All @@ -20,9 +20,9 @@ sink = ["futures-sink-preview"]
default = ["std"]

[dependencies]
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.16", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.16", default-features = false, optional = true }
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.17", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.17", default-features = false, optional = true }

[dev-dependencies]
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16", default-features = true }
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.16", default-features = true }
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17", default-features = true }
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.17", default-features = true }
2 changes: 1 addition & 1 deletion futures-channel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_channel")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_channel")]

#[cfg(feature = "std")]
mod lock;
Expand Down
6 changes: 3 additions & 3 deletions futures-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-core-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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.16/futures_core"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_core"
description = """
The core traits and types in for the `futures` library.
"""
Expand All @@ -24,4 +24,4 @@ alloc = []
[dependencies]

[dev-dependencies]
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16" }
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17" }
2 changes: 1 addition & 1 deletion futures-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_core")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/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");
Expand Down
14 changes: 7 additions & 7 deletions futures-executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-executor-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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.16/futures_executor"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_executor"
description = """
Executors for asynchronous tasks based on the futures-rs library.
"""
Expand All @@ -19,11 +19,11 @@ 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.16", default-features = false}
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.16", default-features = false}
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.16", default-features = false}
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.17", default-features = false}
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.17", default-features = false}
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.17", default-features = false}
num_cpus = { version = "1.8.0", optional = true }

[dev-dependencies]
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16" }
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.16" }
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17" }
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.17" }
2 changes: 1 addition & 1 deletion futures-executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_executor")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_executor")]

#[cfg(feature = "std")]
mod local_pool;
Expand Down
6 changes: 3 additions & 3 deletions futures-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-io-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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.16/futures_io"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_io"
description = """
The `AsyncRead` and `AsyncWrite` traits for the futures-rs library.
"""
Expand All @@ -21,4 +21,4 @@ std = []
[dependencies]

[dev-dependencies]
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16" }
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17" }
2 changes: 1 addition & 1 deletion futures-io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_io")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_io")]

#[cfg(feature = "std")]
mod if_std {
Expand Down
4 changes: 2 additions & 2 deletions futures-select-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-select-macro-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Taylor Cramer <cramertj@google.com>"]
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.16/futures_select_macro"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_select_macro"
description = """
The `select!` macro for waiting on multiple different `Future`s at once and handling the first one to complete.
"""
Expand Down
6 changes: 3 additions & 3 deletions futures-sink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-sink-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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.16/futures_sink"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_sink"
description = """
The asynchronous `Sink` trait for the futures-rs library.
"""
Expand All @@ -20,4 +20,4 @@ std = ["alloc", "futures-core-preview/std"]
alloc = ["futures-core-preview/alloc"]

[dependencies]
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.16", default-features = false }
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.17", default-features = false }
2 changes: 1 addition & 1 deletion futures-sink/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_sink")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_sink")]

#[cfg(feature = "alloc")]
extern crate alloc;
Expand Down
12 changes: 6 additions & 6 deletions futures-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "futures-test-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Wim Looman <wim@nemo157.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -15,14 +15,14 @@ Common utilities for testing components built off futures-rs.
name = "futures_test"

[dependencies]
futures-core-preview = { version = "=0.3.0-alpha.16", path = "../futures-core", default-features = false }
futures-io-preview = { version = "=0.3.0-alpha.16", path = "../futures-io", default-features = false }
futures-util-preview = { version = "=0.3.0-alpha.16", path = "../futures-util", default-features = false }
futures-executor-preview = { version = "=0.3.0-alpha.16", path = "../futures-executor", default-features = false }
futures-core-preview = { version = "=0.3.0-alpha.17", path = "../futures-core", default-features = false }
futures-io-preview = { version = "=0.3.0-alpha.17", path = "../futures-io", default-features = false }
futures-util-preview = { version = "=0.3.0-alpha.17", path = "../futures-util", default-features = false }
futures-executor-preview = { version = "=0.3.0-alpha.17", 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.16", path = "../futures", default-features = false, features = ["std"] }
futures-preview = { version = "=0.3.0-alpha.17", path = "../futures", default-features = false, features = ["std"] }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion futures-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_test")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_test")]

#[cfg(not(feature = "std"))]
compile_error!("`futures-test` must have the `std` feature activated, this is a default-active feature");
Expand Down
18 changes: 9 additions & 9 deletions futures-util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-util-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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.16/futures_util"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_util"
description = """
Common utilities and extension traits for the futures-rs library.
"""
Expand All @@ -30,11 +30,11 @@ channel = ["std", "futures-channel-preview"]
select-macro = ["async-await", "futures-select-macro-preview", "proc-macro-hack", "proc-macro-nested", "rand"]

[dependencies]
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.16", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.16", default-features = false, features = ["std"], optional = true }
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.16", default-features = false, features = ["std"], optional = true }
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.16", default-features = false, optional = true }
futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.16", default-features = false, optional = true }
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.17", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.17", default-features = false, features = ["std"], optional = true }
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.17", default-features = false, features = ["std"], optional = true }
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.17", default-features = false, optional = true }
futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.17", default-features = false, optional = true }
proc-macro-hack = { version = "0.5", optional = true }
proc-macro-nested = { version = "0.1.2", optional = true }
rand = { version = "0.7.0", optional = true }
Expand All @@ -45,8 +45,8 @@ 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.16", features = ["async-await", "nightly"] }
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.16" }
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17", features = ["async-await", "nightly"] }
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.17" }
tokio = "0.1.11"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion futures-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_util")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/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");
Expand Down
18 changes: 9 additions & 9 deletions futures/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "futures-preview"
edition = "2018"
version = "0.3.0-alpha.16"
version = "0.3.0-alpha.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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.16/futures"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures"
description = """
An implementation of futures and streams featuring zero allocations,
composability, and iterator-like interfaces.
Expand All @@ -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.16", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.16", default-features = false, features = ["sink"] }
futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.16", default-features = false }
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.16", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.16", default-features = false }
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.16", default-features = false, features = ["sink"] }
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.17", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.17", default-features = false, features = ["sink"] }
futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.17", default-features = false }
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.17", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.17", default-features = false }
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.17", default-features = false, features = ["sink"] }

[dev-dependencies]
pin-utils = "0.1.0-alpha.4"
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.16" }
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.17" }
tokio = "0.1.11"
assert_matches = "1.3.0"

Expand Down
2 changes: 1 addition & 1 deletion futures/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]

#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures")]

#[cfg(all(feature = "async-await", not(feature = "nightly")))]
compile_error!("The `async-await` feature requires the `nightly` feature as an explicit opt-in to unstable features");
Expand Down

0 comments on commit db1bafb

Please sign in to comment.