Skip to content

Stage futures-preview crates #1048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2018
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ First, add this to your `Cargo.toml`:

```toml
[dependencies]
futures = "0.2.1"
futures = "0.2.2"
```

Next, add this to your crate:
Expand All @@ -40,7 +40,7 @@ a `#[no_std]` environment, use:

```toml
[dependencies]
futures = { version = "0.2.1", default-features = false }
futures = { version = "0.2.2", default-features = false }
```

# License
Expand Down
19 changes: 11 additions & 8 deletions futures-async-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-async-runtime"
version = "0.2.1"
name = "futures-async-runtime-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "../README.md"
Expand All @@ -13,17 +13,20 @@ description = """
Runtime for the async/await macros in the `futures` crate.
"""

[dependencies.futures-core]
version = "0.2.1"
[lib]
name = "futures_async_runtime"

[dependencies.futures-core-preview]
version = "0.2.2"
path = "../futures-core"
default-features = false

[dependencies.futures-stable]
version = "0.2.1"
[dependencies.futures-stable-preview]
version = "0.2.2"
path = "../futures-stable"
default-features = false

[features]
nightly = ["futures-core/nightly", "futures-stable/nightly"]
std = ["futures-core/std", "futures-stable/std"]
nightly = ["futures-core-preview/nightly", "futures-stable-preview/nightly"]
std = ["futures-core-preview/std", "futures-stable-preview/std"]
default = ["std"]
15 changes: 9 additions & 6 deletions futures-channel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-channel"
version = "0.2.1"
name = "futures-channel-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -10,13 +10,16 @@ description = """
Channels for asynchronous communication using futures-rs.
"""

[lib]
name = "futures_channel"

[features]
std = ["futures-core/std"]
std = ["futures-core-preview/std"]
default = ["std"]

[dependencies]
futures-core = { path = "../futures-core", version = "0.2.1", default-features = false }
futures-core-preview = { path = "../futures-core", version = "0.2.2", default-features = false }

[dev-dependencies]
futures = { path = "../futures", version = "0.2.1", default-features = true }
futures-executor = { path = "../futures-executor", version = "0.2.1", default-features = true }
futures-preview = { path = "../futures", version = "0.2.2", default-features = true }
futures-executor-preview = { path = "../futures-executor", version = "0.2.2", 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 @@ -4,7 +4,7 @@
//! asynchronous tasks.

#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://docs.rs/futures-channel/0.2.1")]
#![doc(html_root_url = "https://docs.rs/futures-channel/0.2.2")]
#![no_std]

#[cfg(feature = "std")]
Expand Down
7 changes: 5 additions & 2 deletions futures-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-core"
version = "0.2.1"
name = "futures-core-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -10,6 +10,9 @@ description = """
The core traits and types in for the `futures` library.
"""

[lib]
name = "futures_core"

[features]
default = ["std"]
std = ["either/use_std"]
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 @@ -2,7 +2,7 @@

#![no_std]
#![deny(missing_docs, missing_debug_implementations, warnings)]
#![doc(html_root_url = "https://docs.rs/futures-core/0.2.1")]
#![doc(html_root_url = "https://docs.rs/futures-core/0.2.2")]

#![cfg_attr(feature = "nightly", feature(cfg_target_has_atomic))]
#![cfg_attr(feature = "nightly", feature(pin))]
Expand Down
19 changes: 11 additions & 8 deletions futures-executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-executor"
version = "0.2.1"
name = "futures-executor-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -10,17 +10,20 @@ description = """
Executors for asynchronous tasks based on the futures-rs library.
"""

[lib]
name = "futures_executor"

[features]
std = ["num_cpus", "futures-core/std", "futures-util/std", "futures-channel/std", "lazy_static"]
std = ["num_cpus", "futures-core-preview/std", "futures-util-preview/std", "futures-channel-preview/std", "lazy_static"]
default = ["std"]

[dependencies]
futures-core = { path = "../futures-core", version = "0.2.1", default-features = false}
futures-util = { path = "../futures-util", version = "0.2.1", default-features = false}
futures-channel = { path = "../futures-channel", version = "0.2.1", default-features = false}
futures-core-preview = { path = "../futures-core", version = "0.2.2", default-features = false}
futures-util-preview = { path = "../futures-util", version = "0.2.2", default-features = false}
futures-channel-preview = { path = "../futures-channel", version = "0.2.2", default-features = false}
num_cpus = { version = "1.0", optional = true }
lazy_static = { version = "1.0", optional = true }

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

#![no_std]
#![deny(missing_docs)]
#![doc(html_root_url = "https://docs.rs/futures-executor/0.2.1")]
#![doc(html_root_url = "https://docs.rs/futures-executor/0.2.2")]

#[cfg(feature = "std")]
#[macro_use]
Expand Down
13 changes: 8 additions & 5 deletions futures-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-io"
version = "0.2.1"
name = "futures-io-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -10,13 +10,16 @@ description = """
The `AsyncRead` and `AsyncWrite` traits for the futures-rs library.
"""

[lib]
name = "futures_io"

[features]
std = ["futures-core/std", "iovec"]
std = ["futures-core-preview/std", "iovec"]
default = ["std"]

[dependencies]
futures-core = { path = "../futures-core", version = "0.2.1", default-features = false }
futures-core-preview = { path = "../futures-core", version = "0.2.2", default-features = false }
iovec = { version = "0.1", optional = true }

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

#![no_std]
#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_rnoot_url = "https://docs.rs/futures-io/0.2.1")]
#![doc(html_rnoot_url = "https://docs.rs/futures-io/0.2.2")]

macro_rules! if_std {
($($i:item)*) => ($(
Expand Down
5 changes: 3 additions & 2 deletions futures-macro-async/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-macro-async"
version = "0.2.1"
name = "futures-macro-async-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -10,6 +10,7 @@ few other assorted macros.
"""

[lib]
name = "futures_macro_async"
proc-macro = true

[dependencies]
Expand Down
11 changes: 7 additions & 4 deletions futures-macro-await/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[package]
name = "futures-macro-await"
version = "0.2.1"
name = "futures-macro-await-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
description = """
Definition of the `await!` macro for the `futures` crate.
"""

[lib]
name = "futures_macro_await"

[dev-dependencies]
futures = { path = "../futures" }
futures-preview = { path = "../futures" }

[features]
nightly = ["futures/nightly"]
nightly = ["futures-preview/nightly"]
13 changes: 8 additions & 5 deletions futures-sink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-sink"
version = "0.2.1"
name = "futures-sink-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -10,11 +10,14 @@ description = """
The asynchronous `Sink` trait for the futures-rs library.
"""

[lib]
name = "futures_sink"

[features]
std = ["either/use_std", "futures-core/std", "futures-channel/std"]
std = ["either/use_std", "futures-core-preview/std", "futures-channel-preview/std"]
default = ["std"]

[dependencies]
either = { version = "1.4", default-features = false, optional = true }
futures-core = { path = "../futures-core", version = "0.2.1", default-features = false }
futures-channel = { path = "../futures-channel", version = "0.2.1", default-features = false }
futures-core-preview = { path = "../futures-core", version = "0.2.2", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.2.2", 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]
#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://docs.rs/futures-sink/0.2.1")]
#![doc(html_root_url = "https://docs.rs/futures-sink/0.2.2")]

#[cfg(feature = "std")]
extern crate std;
Expand Down
19 changes: 11 additions & 8 deletions futures-stable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
[package]
name = "futures-stable"
name = "futures-stable-preview"
description = "futures which support internal references"
version = "0.2.1"
version = "0.2.2"
authors = ["boats <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"

[dependencies.futures-core]
[lib]
name = "futures_stable"

[dependencies.futures-core-preview]
path = "../futures-core"
version = "0.2.1"
version = "0.2.2"
default-features = false

[dependencies.futures-executor]
[dependencies.futures-executor-preview]
path = "../futures-executor"
version = "0.2.1"
version = "0.2.2"
default-features = false

[features]
nightly = ["futures-core/nightly"]
std = ["futures-core/std", "futures-executor/std"]
nightly = ["futures-core-preview/nightly"]
std = ["futures-core-preview/std", "futures-executor-preview/std"]
default = ["std"]
25 changes: 14 additions & 11 deletions futures-util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "futures-util"
version = "0.2.1"
name = "futures-util-preview"
version = "0.2.2"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
Expand All @@ -10,19 +10,22 @@ description = """
Common utilities and extension traits for the futures-rs library.
"""

[lib]
name = "futures_util"

[features]
std = ["futures-core/std", "futures-io/std", "futures-sink/std", "either/use_std"]
default = ["std", "futures-core/either", "futures-sink/either"]
std = ["futures-core-preview/std", "futures-io-preview/std", "futures-sink-preview/std", "either/use_std"]
default = ["std", "futures-core-preview/either", "futures-sink-preview/either"]
bench = []

[dependencies]
futures-core = { path = "../futures-core", version = "0.2.1", default-features = false }
futures-channel = { path = "../futures-channel", version = "0.2.1", default-features = false }
futures-io = { path = "../futures-io", version = "0.2.1", default-features = false }
futures-sink = { path = "../futures-sink", version = "0.2.1", default-features = false}
futures-core-preview = { path = "../futures-core", version = "0.2.2", default-features = false }
futures-channel-preview = { path = "../futures-channel", version = "0.2.2", default-features = false }
futures-io-preview = { path = "../futures-io", version = "0.2.2", default-features = false }
futures-sink-preview = { path = "../futures-sink", version = "0.2.2", default-features = false}
either = { version = "1.4", default-features = false }

[dev-dependencies]
futures = { path = "../futures", version = "0.2.1" }
futures-executor = { path = "../futures-executor", version = "0.2.1" }
futures-channel = { path = "../futures-channel", version = "0.2.1" }
futures-preview = { path = "../futures", version = "0.2.2" }
futures-executor-preview = { path = "../futures-executor", version = "0.2.2" }
futures-channel-preview = { path = "../futures-channel", version = "0.2.2" }
Loading