Skip to content

Commit db1bafb

Browse files
committed
Stage 0.3.0-alpha.17
1 parent fc18962 commit db1bafb

File tree

19 files changed

+66
-61
lines changed

19 files changed

+66
-61
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 0.3.0-alpha.17 - Unreleased
1+
# 0.3.0-alpha.17 - 2019-7-3
22
* Removed `try_ready!` macro in favor of `ready!(..)?`. (#1602)
33
* Removed `io::Window::{set_start, set_end}` in favor of `io::Window::set`. (#1667)
44
* Re-exported `pin_utils::pin_mut!` macro. (#1686)
@@ -25,6 +25,11 @@
2525
* Implemented `Stream` for `FlattenSink`. (#1651)
2626
* Implemented `Sink` for `TryFlattenStream`. (#1651)
2727
* Implemented `AsyncRead`, `AsyncWrite`, `AsyncSeek`, `AsyncBufRead`, `FusedFuture` and `FusedStream` for Either. (#1695)
28+
* Replaced empty enums with `Never` type, an alias for `core::convert::Infallible`.
29+
* Removed the `futures-channel` dependency from `futures-sink` and make `futures-sink`
30+
an optional dependency of `futures-channel`.
31+
* Renamed `Sink::SinkError` to `Sink::Error`.
32+
* Made a number of dependencies of `futures-util` optional.
2833

2934
# 0.3.0-alpha.16 - 2019-5-10
3035
* Updated to new nightly `async_await`.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</p>
1818

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

3131
```toml
3232
[dependencies]
33-
futures-preview = "=0.3.0-alpha.16"
33+
futures-preview = "=0.3.0-alpha.17"
3434
```
3535

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

5050
```toml
5151
[dependencies]
52-
futures-preview = { version = "=0.3.0-alpha.16", default-features = false }
52+
futures-preview = { version = "=0.3.0-alpha.17", default-features = false }
5353
```
5454

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

6161
```toml
6262
[dependencies]
63-
futures-preview = { version = "=0.3.0-alpha.16", features = ["async-await", "nightly"] }
63+
futures-preview = { version = "=0.3.0-alpha.17", features = ["async-await", "nightly"] }
6464
```
6565

6666
The current `async-await` feature requires Rust nightly 2019-05-09 or later.

futures-channel/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-channel-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.16"
4+
version = "0.3.0-alpha.17"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang-nursery/futures-rs"
88
homepage = "https://rust-lang-nursery.github.io/futures-rs"
9-
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_channel"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_channel"
1010
description = """
1111
Channels for asynchronous communication using futures-rs.
1212
"""
@@ -20,9 +20,9 @@ sink = ["futures-sink-preview"]
2020
default = ["std"]
2121

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

2626
[dev-dependencies]
27-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16", default-features = true }
28-
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.16", default-features = true }
27+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17", default-features = true }
28+
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.17", default-features = true }

futures-channel/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

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

2020
#[cfg(feature = "std")]
2121
mod lock;

futures-core/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-core-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.16"
4+
version = "0.3.0-alpha.17"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang-nursery/futures-rs"
88
homepage = "https://rust-lang-nursery.github.io/futures-rs"
9-
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_core"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_core"
1010
description = """
1111
The core traits and types in for the `futures` library.
1212
"""
@@ -24,4 +24,4 @@ alloc = []
2424
[dependencies]
2525

2626
[dev-dependencies]
27-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16" }
27+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17" }

futures-core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

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

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

1616
#[cfg(all(feature = "cfg-target-has-atomic", not(feature = "nightly")))]
1717
compile_error!("The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features");

futures-executor/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-executor-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.16"
4+
version = "0.3.0-alpha.17"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang-nursery/futures-rs"
88
homepage = "https://rust-lang-nursery.github.io/futures-rs"
9-
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_executor"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_executor"
1010
description = """
1111
Executors for asynchronous tasks based on the futures-rs library.
1212
"""
@@ -19,11 +19,11 @@ std = ["num_cpus", "futures-core-preview/std", "futures-util-preview/std", "futu
1919
default = ["std"]
2020

2121
[dependencies]
22-
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.16", default-features = false}
23-
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.16", default-features = false}
24-
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.16", default-features = false}
22+
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.17", default-features = false}
23+
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.17", default-features = false}
24+
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.17", default-features = false}
2525
num_cpus = { version = "1.8.0", optional = true }
2626

2727
[dev-dependencies]
28-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16" }
29-
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.16" }
28+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17" }
29+
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.17" }

futures-executor/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

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

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

1717
#[cfg(feature = "std")]
1818
mod local_pool;

futures-io/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-io-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.16"
4+
version = "0.3.0-alpha.17"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang-nursery/futures-rs"
88
homepage = "https://rust-lang-nursery.github.io/futures-rs"
9-
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/futures_io"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.17/futures_io"
1010
description = """
1111
The `AsyncRead` and `AsyncWrite` traits for the futures-rs library.
1212
"""
@@ -21,4 +21,4 @@ std = []
2121
[dependencies]
2222

2323
[dev-dependencies]
24-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.16" }
24+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.17" }

futures-io/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

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

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

2222
#[cfg(feature = "std")]
2323
mod if_std {

0 commit comments

Comments
 (0)