Skip to content

Commit 845c71e

Browse files
committed
Stage 0.3.0-alpha.14 release
1 parent 82d9538 commit 845c71e

File tree

18 files changed

+70
-59
lines changed

18 files changed

+70
-59
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# 0.3.0-alpha.14 - 2019-4-15
2+
* Updated to new nightly `futures_api`.
3+
* Changed `Forward` combinator to drop sink after completion, and allow `!Unpin` `Sink`s.
4+
* Added 0.1 <-> 0.3 compatability shim for `Sink`s.
5+
* Changed `Sink::Item` to a generic parameter `Sink<Item>`, allowing `Sink`s to accept
6+
multiple different types, including types containing references.
7+
* Changed `AsyncRead` and `AsyncWrite` to take `Pin<&mut Self>` rather than `&mut self`.
8+
* Added support for `no_std` + `alloc` use.
9+
* Changed `join` and `try_join` combinators to functions.
10+
* Fixed propagation of `cfg-target-has-atomic` feature.
11+
112
# 0.3.0-alpha.13 - 2019-2-20
213
* Updated to new nightly with stabilization candidate API.
314
* Removed `LocalWaker`.

README.md

+3-3
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.13/futures/">
20+
<a href="https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/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.13"
33+
futures-preview = "0.3.0-alpha.14"
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.13", default-features = false }
52+
futures-preview = { version = "=0.3.0-alpha.14", default-features = false }
5353
```
5454

5555
# License

futures-channel/Cargo.toml

+5-5
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.13"
4+
version = "0.3.0-alpha.14"
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.13/futures_channel"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_channel"
1010
description = """
1111
Channels for asynchronous communication using futures-rs.
1212
"""
@@ -19,9 +19,9 @@ std = ["futures-core-preview/std"]
1919
default = ["std"]
2020

2121
[dependencies]
22-
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false }
22+
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.14", default-features = false }
2323

2424
[dev-dependencies]
25-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.13", default-features = true }
26-
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.13", default-features = true }
25+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.14", default-features = true }
26+
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.14", default-features = true }
2727
pin-utils = "0.1.0-alpha.4"

futures-channel/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
1111

12-
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_channel")]
12+
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_channel")]
1313

1414
#[cfg(feature = "std")]
1515
mod lock;

futures-core/Cargo.toml

+3-3
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.13"
4+
version = "0.3.0-alpha.14"
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.13/futures_core"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_core"
1010
description = """
1111
The core traits and types in for the `futures` library.
1212
"""
@@ -25,4 +25,4 @@ alloc = []
2525
either = { version = "1.4", default-features = false, optional = true }
2626

2727
[dev-dependencies]
28-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" }
28+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.14" }

futures-core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
99

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

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

futures-executor/Cargo.toml

+7-7
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.13"
4+
version = "0.3.0-alpha.14"
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.13/futures_executor"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_executor"
1010
description = """
1111
Executors for asynchronous tasks based on the futures-rs library.
1212
"""
@@ -19,12 +19,12 @@ 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.13", default-features = false}
23-
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.13", default-features = false}
24-
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false}
22+
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.14", default-features = false}
23+
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.14", default-features = false}
24+
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.14", default-features = false}
2525
num_cpus = { version = "1.8.0", optional = true }
2626
pin-utils = "0.1.0-alpha.4"
2727

2828
[dev-dependencies]
29-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" }
30-
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13" }
29+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.14" }
30+
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.14" }

futures-executor/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
88

9-
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_executor")]
9+
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_executor")]
1010

1111
#[cfg(feature = "std")]
1212
mod local_pool;

futures-io/Cargo.toml

+4-4
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.13"
4+
version = "0.3.0-alpha.14"
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.13/futures_io"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_io"
1010
description = """
1111
The `AsyncRead` and `AsyncWrite` traits for the futures-rs library.
1212
"""
@@ -19,9 +19,9 @@ std = ["futures-core-preview/std", "iovec"]
1919
default = ["std"]
2020

2121
[dependencies]
22-
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false }
22+
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.14", default-features = false }
2323
iovec = { version = "0.1", optional = true }
2424

2525
[dev-dependencies]
26-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" }
26+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.14" }
2727
assert_matches = "1.3.0"

futures-io/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
1010

11-
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_io")]
11+
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_io")]
1212

1313
#![feature(futures_api)]
1414

futures-select-macro/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-select-macro-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.13"
4+
version = "0.3.0-alpha.14"
55
authors = ["Taylor Cramer <[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.13/futures_select_macro"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_select_macro"
1010
description = """
1111
The `select!` macro for waiting on multiple different `Future`s at once and handling the first one to complete.
1212
"""

futures-sink/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-sink-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.13"
4+
version = "0.3.0-alpha.14"
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.13/futures_sink"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_sink"
1010
description = """
1111
The asynchronous `Sink` trait for the futures-rs library.
1212
"""
@@ -22,5 +22,5 @@ alloc = ["futures-core-preview/alloc"]
2222

2323
[dependencies]
2424
either = { version = "1.4", default-features = false, optional = true }
25-
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false }
26-
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false }
25+
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.14", default-features = false }
26+
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.14", default-features = false }

futures-sink/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
#![cfg_attr(not(feature = "std"), no_std)]
77
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
8-
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_sink")]
8+
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_sink")]
99

1010
#![feature(futures_api)]
1111

futures-test/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "futures-test-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.13"
4+
version = "0.3.0-alpha.14"
55
authors = ["Wim Looman <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang-nursery/futures-rs"
@@ -15,13 +15,13 @@ Common utilities for testing components built off futures-rs.
1515
name = "futures_test"
1616

1717
[dependencies]
18-
futures-core-preview = { version = "=0.3.0-alpha.13", path = "../futures-core", default-features = false }
19-
futures-util-preview = { version = "=0.3.0-alpha.13", path = "../futures-util", default-features = false }
20-
futures-executor-preview = { version = "=0.3.0-alpha.13", path = "../futures-executor", default-features = false }
18+
futures-core-preview = { version = "=0.3.0-alpha.14", path = "../futures-core", default-features = false }
19+
futures-util-preview = { version = "=0.3.0-alpha.14", path = "../futures-util", default-features = false }
20+
futures-executor-preview = { version = "=0.3.0-alpha.14", path = "../futures-executor", default-features = false }
2121
pin-utils = { version = "0.1.0-alpha.4", default-features = false }
2222

2323
[dev-dependencies]
24-
futures-preview = { version = "=0.3.0-alpha.13", path = "../futures", default-features = false, features = ["std"] }
24+
futures-preview = { version = "=0.3.0-alpha.14", path = "../futures", default-features = false, features = ["std"] }
2525

2626
[features]
2727
default = ["std"]

futures-util/Cargo.toml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-util-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.13"
4+
version = "0.3.0-alpha.14"
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.13/futures_util"
9+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_util"
1010
description = """
1111
Common utilities and extension traits for the futures-rs library.
1212
"""
@@ -25,11 +25,11 @@ cfg-target-has-atomic = ["futures-core-preview/cfg-target-has-atomic"]
2525
alloc = ["futures-core-preview/alloc", "futures-sink-preview/alloc"]
2626

2727
[dependencies]
28-
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false }
29-
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false }
30-
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.13", default-features = false }
31-
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.13", default-features = false}
32-
futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.13", default-features = false }
28+
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.14", default-features = false }
29+
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.14", default-features = false }
30+
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.14", default-features = false }
31+
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.14", default-features = false}
32+
futures-select-macro-preview = { path = "../futures-select-macro", version = "=0.3.0-alpha.14", default-features = false }
3333
either = { version = "1.4", default-features = false }
3434
proc-macro-hack = "0.5"
3535
proc-macro-nested = "0.1.2"
@@ -41,7 +41,7 @@ tokio-io = { version = "0.1.9", optional = true }
4141
pin-utils = "0.1.0-alpha.4"
4242

4343
[dev-dependencies]
44-
futures-preview = { path = "../futures", version = "=0.3.0-alpha.13" }
45-
futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.13" }
46-
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.13" }
44+
futures-preview = { path = "../futures", version = "=0.3.0-alpha.14" }
45+
futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.14" }
46+
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.14" }
4747
tokio = "0.1.11"

futures-util/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#![cfg_attr(not(feature = "std"), no_std)]
1010
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
1111

12-
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_util")]
12+
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures_util")]
1313

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

futures/Cargo.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "futures-preview"
33
edition = "2018"
4-
version = "0.3.0-alpha.13"
4+
version = "0.3.0-alpha.14"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
readme = "../README.md"
88
keywords = ["futures", "async", "future"]
99
repository = "https://github.com/rust-lang-nursery/futures-rs"
1010
homepage = "https://rust-lang-nursery.github.io/futures-rs"
11-
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures"
11+
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures"
1212
description = """
1313
An implementation of futures and streams featuring zero allocations,
1414
composability, and iterator-like interfaces.
@@ -23,16 +23,16 @@ travis-ci = { repository = "rust-lang-nursery/futures-rs" }
2323
appveyor = { repository = "rust-lang-nursery/futures-rs" }
2424

2525
[dependencies]
26-
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.13", default-features = false }
27-
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.13", default-features = false }
28-
futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.13", default-features = false }
29-
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.13", default-features = false }
30-
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.13", default-features = false }
31-
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.13", default-features = false }
26+
futures-core-preview = { path = "../futures-core", version = "=0.3.0-alpha.14", default-features = false }
27+
futures-channel-preview = { path = "../futures-channel", version = "=0.3.0-alpha.14", default-features = false }
28+
futures-executor-preview = { path = "../futures-executor", version = "=0.3.0-alpha.14", default-features = false }
29+
futures-io-preview = { path = "../futures-io", version = "=0.3.0-alpha.14", default-features = false }
30+
futures-sink-preview = { path = "../futures-sink", version = "=0.3.0-alpha.14", default-features = false }
31+
futures-util-preview = { path = "../futures-util", version = "=0.3.0-alpha.14", default-features = false }
3232

3333
[dev-dependencies]
3434
pin-utils = "0.1.0-alpha.4"
35-
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.13" }
35+
futures-test-preview = { path = "../futures-test", version = "=0.3.0-alpha.14" }
3636
tokio = "0.1.11"
3737

3838
[features]

futures/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
3030

31-
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures")]
31+
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.14/futures")]
3232

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

0 commit comments

Comments
 (0)