Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.3.0-alpha.8 - 2018-10-16
* Fixed stack overflow in 0.1 compatibility layer
* Added AsyncRead / AsyncWrite compatibility layer
* Added Spawn -> 0.1 Executor compatibility
* Made 0.1 futures usable on 0.3 executors without an additional global `Task`, accomplished by wrapping 0.1 futures in an 0.1 `Spawn` when using them as 0.3 futures.
* Cleanups and improvments to the `AtomicWaker` implementation.

# 0.3.0-alpha.7 - 2018-10-01
* Update to new nightly which removes `Spawn` from `task::Context` and replaces `Context` with `LocalWaker`.
* Add `Spawn` and `LocalSpawn` traits and `FutureObj` and `LocalFutureObj` types to `futures-core`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ a `#[no_std]` environment, use:

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

# License
Expand Down
10 changes: 5 additions & 5 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.7"
version = "0.3.0-alpha.8"
authors = ["Alex Crichton <[email protected]>"]
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.7/futures_channel"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/futures_channel"
description = """
Channels for asynchronous communication using futures-rs.
"""
Expand All @@ -19,9 +19,9 @@ std = ["futures-core-preview/std"]
default = ["std"]

[dependencies]
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.7", default-features = false }
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.8", default-features = false }

[dev-dependencies]
futures-preview = { path = "../futures", version = "0.3.0-alpha.7", default-features = true }
futures-test-preview = { path = "../futures-test", version = "0.3.0-alpha.7", default-features = true }
futures-preview = { path = "../futures", version = "0.3.0-alpha.8", default-features = true }
futures-test-preview = { path = "../futures-test", version = "0.3.0-alpha.8", default-features = true }
pin-utils = "0.1.0-alpha.3"
2 changes: 1 addition & 1 deletion futures-channel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#![warn(missing_docs, missing_debug_implementations)]
#![deny(bare_trait_objects)]

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

macro_rules! if_std {
($($i:item)*) => ($(
Expand Down
4 changes: 2 additions & 2 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.7"
version = "0.3.0-alpha.8"
authors = ["Alex Crichton <[email protected]>"]
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.7/futures_core"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/futures_core"
description = """
The core traits and types in for the `futures` library.
"""
Expand Down
2 changes: 1 addition & 1 deletion futures-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#![warn(missing_docs, missing_debug_implementations)]
#![deny(bare_trait_objects)]

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

#[doc(hidden)] pub use crate::future::Future;
#[doc(hidden)] pub use crate::future::TryFuture;
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.7"
version = "0.3.0-alpha.8"
authors = ["Alex Crichton <[email protected]>"]
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.7/futures_executor"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/futures_executor"
description = """
Executors for asynchronous tasks based on the futures-rs library.
"""
Expand All @@ -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.7", default-features = false}
futures-util-preview = { path = "../futures-util", version = "0.3.0-alpha.7", default-features = false}
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.7", default-features = false}
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.8", default-features = false}
futures-util-preview = { path = "../futures-util", version = "0.3.0-alpha.8", default-features = false}
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.8", 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.3"

[dev-dependencies]
futures-preview = { path = "../futures", version = "0.3.0-alpha.7" }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.7" }
futures-preview = { path = "../futures", version = "0.3.0-alpha.8" }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.8" }
2 changes: 1 addition & 1 deletion futures-executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#![warn(missing_docs, missing_debug_implementations)]
#![deny(bare_trait_objects)]

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

macro_rules! if_std {
($($i:item)*) => ($(
Expand Down
8 changes: 4 additions & 4 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.7"
version = "0.3.0-alpha.8"
authors = ["Alex Crichton <[email protected]>"]
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.7/futures_io"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/futures_io"
description = """
The `AsyncRead` and `AsyncWrite` traits for the futures-rs library.
"""
Expand All @@ -19,9 +19,9 @@ std = ["futures-core-preview/std", "iovec"]
default = ["std"]

[dependencies]
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.7", default-features = false }
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.8", default-features = false }
iovec = { version = "0.1", optional = true }

[dev-dependencies]
futures-preview = { path = "../futures", version = "0.3.0-alpha.7" }
futures-preview = { path = "../futures", version = "0.3.0-alpha.8" }
assert_matches = "1.3.0"
2 changes: 1 addition & 1 deletion futures-io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#![warn(missing_docs, missing_debug_implementations)]
#![deny(bare_trait_objects)]

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

#![feature(futures_api)]

Expand Down
8 changes: 4 additions & 4 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.7"
version = "0.3.0-alpha.8"
authors = ["Alex Crichton <[email protected]>"]
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.7/futures_sink"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/futures_sink"
description = """
The asynchronous `Sink` trait for the futures-rs library.
"""
Expand All @@ -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.7", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.7", default-features = false }
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.8", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.8", 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 @@ -5,7 +5,7 @@

#![no_std]
#![warn(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.7/futures_sink")]
#![doc(html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/futures_sink")]

#![feature(pin, arbitrary_self_types, futures_api)]

Expand Down
2 changes: 1 addition & 1 deletion 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.7"
version = "0.3.0-alpha.8"
authors = ["Wim Looman <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand Down
16 changes: 8 additions & 8 deletions futures-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ cargo-features = ["rename-dependency"]
[package]
name = "futures-util-preview"
edition = "2018"
version = "0.3.0-alpha.7"
version = "0.3.0-alpha.8"
authors = ["Alex Crichton <[email protected]>"]
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.7/futures_util"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/futures_util"
description = """
Common utilities and extension traits for the futures-rs library.
"""
Expand All @@ -26,10 +26,10 @@ bench = []
nightly = []

[dependencies]
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.7", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.7", default-features = false }
futures-io-preview = { path = "../futures-io", version = "0.3.0-alpha.7", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "0.3.0-alpha.7", default-features = false}
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.8", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.8", default-features = false }
futures-io-preview = { path = "../futures-io", version = "0.3.0-alpha.8", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "0.3.0-alpha.8", default-features = false}
either = { version = "1.4", default-features = false }
slab = { version = "0.4", optional = true }
futures_01 = { version = "0.1.25", optional = true, package = "futures" }
Expand All @@ -38,6 +38,6 @@ tokio-io = { version = "0.1.9", optional = true }
pin-utils = "0.1.0-alpha.3"

[dev-dependencies]
futures-preview = { path = "../futures", version = "0.3.0-alpha.7" }
futures-executor-preview = { path = "../futures-executor", version = "0.3.0-alpha.7" }
futures-preview = { path = "../futures", version = "0.3.0-alpha.8" }
futures-executor-preview = { path = "../futures-executor", version = "0.3.0-alpha.8" }
tokio = "0.1.11"
2 changes: 1 addition & 1 deletion futures-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#![warn(missing_docs, missing_debug_implementations)]
#![deny(bare_trait_objects)]

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

macro_rules! if_std {
($($i:item)*) => ($(
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.7"
version = "0.3.0-alpha.8"
authors = ["Alex Crichton <[email protected]>"]
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.7/futures"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.8/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.7", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.7", default-features = false }
futures-executor-preview = { path = "../futures-executor", version = "0.3.0-alpha.7", default-features = false }
futures-io-preview = { path = "../futures-io", version = "0.3.0-alpha.7", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "0.3.0-alpha.7", default-features = false }
futures-util-preview = { path = "../futures-util", version = "0.3.0-alpha.7", default-features = false }
futures-core-preview = { path = "../futures-core", version = "0.3.0-alpha.8", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.3.0-alpha.8", default-features = false }
futures-executor-preview = { path = "../futures-executor", version = "0.3.0-alpha.8", default-features = false }
futures-io-preview = { path = "../futures-io", version = "0.3.0-alpha.8", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "0.3.0-alpha.8", default-features = false }
futures-util-preview = { path = "../futures-util", version = "0.3.0-alpha.8", default-features = false }

[dev-dependencies]
pin-utils = "0.1.0-alpha.3"
futures-test-preview = { path = "../futures-test", version = "0.3.0-alpha.7", default-features = false }
futures-test-preview = { path = "../futures-test", version = "0.3.0-alpha.8", default-features = false }
tokio = "0.1.11"

[features]
Expand Down
2 changes: 1 addition & 1 deletion futures/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#![warn(missing_docs, missing_debug_implementations)]
#![deny(bare_trait_objects)]

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

#![cfg_attr(feature = "nightly", feature(cfg_target_has_atomic))]

Expand Down