Skip to content

Commit

Permalink
Stage 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cramertj committed May 8, 2020
1 parent 5b91728 commit 4ceafb3
Show file tree
Hide file tree
Showing 24 changed files with 87 additions and 70 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 0.3.5 - 2020-05-08
* Added `StreamExt::flat_map`.
* Added `StreamExt::ready_chunks`.
* Added `*_unpin` methods to `SinkExt`.
* Added a `cancellation()` future to `oneshot::Sender`.
* Added `reunite` method to `ReadHalf` and `WriteHalf`.
* Added `Extend` implementations for `Futures(Un)Ordered` and `SelectAll`.
* Added support for reexporting the `join!` and `select!` macros.
* Added `no_std` support for the `pending!` and `poll!` macros.
* Added `Send` and `Sync` support for `AssertUnmoved`.
* Fixed a bug where `Shared` wasn't relinquishing control to the executor.
* Removed the `Send` bound on the output of `RemoteHandle`.
* Relaxed bounds on `FuturesUnordered`.
* Reorganized internal tests to work under different `--feature`s.
* Reorganized the bounds on `StreamExt::forward`.
* Removed and replaced a large amount of internal `unsafe`.

# 0.3.4 - 2020-02-06
* Fixed missing `Drop` for `UnboundedReceiver` (#2064)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ a `#[no_std]` environment, use:

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

# License
Expand Down
6 changes: 3 additions & 3 deletions examples/functional/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "futures-example-functional"
edition = "2018"
version = "0.3.0"
version = "0.3.5"
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/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures/0.3.0"
documentation = "https://docs.rs/futures/0.3.5"
description = """
An implementation of futures and streams featuring zero allocations,
composability, and iterator-like interfaces.
Expand All @@ -17,4 +17,4 @@ categories = ["asynchronous"]
publish = false

[dependencies]
futures = { path = "../../futures", version = "0.3.0", features = ["thread-pool"] }
futures = { path = "../../futures", version = "0.3.5", features = ["thread-pool"] }
6 changes: 3 additions & 3 deletions examples/imperative/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "futures-example-imperative"
edition = "2018"
version = "0.3.0"
version = "0.3.5"
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/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures/0.3.0"
documentation = "https://docs.rs/futures/0.3.5"
description = """
An implementation of futures and streams featuring zero allocations,
composability, and iterator-like interfaces.
Expand All @@ -17,4 +17,4 @@ categories = ["asynchronous"]
publish = false

[dependencies]
futures = { path = "../../futures", version = "0.3.0", features = ["thread-pool"] }
futures = { path = "../../futures", version = "0.3.5", features = ["thread-pool"] }
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"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-channel/0.3.0"
documentation = "https://docs.rs/futures-channel/0.3.5"
description = """
Channels for asynchronous communication using futures-rs.
"""
Expand All @@ -24,12 +24,12 @@ unstable = ["futures-core/unstable"]
cfg-target-has-atomic = ["futures-core/cfg-target-has-atomic"]

[dependencies]
futures-core = { path = "../futures-core", version = "0.3.4", default-features = false }
futures-sink = { path = "../futures-sink", version = "0.3.4", default-features = false, optional = true }
futures-core = { path = "../futures-core", version = "0.3.5", default-features = false }
futures-sink = { path = "../futures-sink", version = "0.3.5", default-features = false, optional = true }

[dev-dependencies]
futures = { path = "../futures", version = "0.3.4", default-features = true }
futures-test = { path = "../futures-test", version = "0.3.4", default-features = true }
futures = { path = "../futures", version = "0.3.5", default-features = true }
futures-test = { path = "../futures-test", version = "0.3.5", default-features = true }

[package.metadata.docs.rs]
all-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 @@ -17,7 +17,7 @@

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

#![doc(html_root_url = "https://docs.rs/futures-channel/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-channel/0.3.5")]

#[cfg(all(feature = "cfg-target-has-atomic", not(feature = "unstable")))]
compile_error!("The `cfg-target-has-atomic` feature requires the `unstable` feature as an explicit opt-in to unstable features");
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"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-core/0.3.0"
documentation = "https://docs.rs/futures-core/0.3.5"
description = """
The core traits and types in for the `futures` library.
"""
Expand All @@ -25,7 +25,7 @@ cfg-target-has-atomic = []
[dependencies]

[dev-dependencies]
futures = { path = "../futures", version = "0.3.4" }
futures = { path = "../futures", version = "0.3.5" }

[package.metadata.docs.rs]
all-features = true
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://docs.rs/futures-core/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-core/0.3.5")]

#[cfg(all(feature = "cfg-target-has-atomic", not(feature = "unstable")))]
compile_error!("The `cfg-target-has-atomic` feature requires the `unstable` feature as an explicit opt-in to unstable features");
Expand Down
12 changes: 6 additions & 6 deletions futures-executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-executor"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-executor/0.3.0"
documentation = "https://docs.rs/futures-executor/0.3.5"
description = """
Executors for asynchronous tasks based on the futures-rs library.
"""
Expand All @@ -17,13 +17,13 @@ std = ["futures-core/std", "futures-task/std", "futures-util/std"]
thread-pool = ["std", "num_cpus"]

[dependencies]
futures-core = { path = "../futures-core", version = "0.3.4", default-features = false }
futures-task = { path = "../futures-task", version = "0.3.4", default-features = false }
futures-util = { path = "../futures-util", version = "0.3.4", default-features = false }
futures-core = { path = "../futures-core", version = "0.3.5", default-features = false }
futures-task = { path = "../futures-task", version = "0.3.5", default-features = false }
futures-util = { path = "../futures-util", version = "0.3.5", default-features = false }
num_cpus = { version = "1.8.0", optional = true }

[dev-dependencies]
futures = { path = "../futures", version = "0.3.4" }
futures = { path = "../futures", version = "0.3.5" }

[package.metadata.docs.rs]
all-features = true
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://docs.rs/futures-executor/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-executor/0.3.5")]

#[cfg(feature = "std")]
mod local_pool;
Expand Down
4 changes: 2 additions & 2 deletions futures-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-io"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-io/0.3.0"
documentation = "https://docs.rs/futures-io/0.3.5"
description = """
The `AsyncRead`, `AsyncWrite`, `AsyncSeek`, and `AsyncBufRead` traits for the futures-rs library.
"""
Expand Down
2 changes: 1 addition & 1 deletion futures-io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

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

#![doc(html_root_url = "https://docs.rs/futures-io/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-io/0.3.5")]

#[cfg(all(feature = "read-initializer", not(feature = "unstable")))]
compile_error!("The `read-initializer` feature requires the `unstable` feature as an explicit opt-in to unstable features");
Expand Down
4 changes: 2 additions & 2 deletions futures-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-macro"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Taylor Cramer <cramertj@google.com>", "Taiki Endo <te316e89@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-macro/0.3.0"
documentation = "https://docs.rs/futures-macro/0.3.5"
description = """
The futures-rs procedural macro implementations.
"""
Expand Down
2 changes: 1 addition & 1 deletion futures-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

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

#![doc(html_root_url = "https://docs.rs/futures-join-macro/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-join-macro/0.3.5")]

// Since https://github.com/rust-lang/cargo/pull/7700 `proc_macro` is part of the prelude for
// proc-macro crates, but to support older compilers we still need this explicit `extern crate`.
Expand Down
4 changes: 2 additions & 2 deletions futures-sink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-sink"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-sink/0.3.0"
documentation = "https://docs.rs/futures-sink/0.3.5"
description = """
The asynchronous `Sink` trait for the futures-rs library.
"""
Expand Down
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://docs.rs/futures-sink/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-sink/0.3.5")]

#[cfg(feature = "alloc")]
extern crate alloc;
Expand Down
6 changes: 3 additions & 3 deletions futures-task/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-task"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://rust-lang.github.io/futures-api-docs/0.3.0-alpha.18/futures_core"
documentation = "https://docs.rs/futures-task/0.3.5"
description = """
Tools for working with tasks.
"""
Expand All @@ -26,7 +26,7 @@ cfg-target-has-atomic = []
once_cell = { version = "1.3.1", default-features = false, features = ["std"], optional = true }

[dev-dependencies]
futures = { path = "../futures", version = "0.3.4" }
futures = { path = "../futures", version = "0.3.5" }

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion futures-task/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://docs.rs/futures-task/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-task/0.3.5")]

#[cfg(all(feature = "cfg-target-has-atomic", not(feature = "unstable")))]
compile_error!("The `cfg-target-has-atomic` feature requires the `unstable` feature as an explicit opt-in to unstable features");
Expand Down
16 changes: 8 additions & 8 deletions futures-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
[package]
name = "futures-test"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Wim Looman <wim@nemo157.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-test/0.3.0"
documentation = "https://docs.rs/futures-test/0.3.5"
description = """
Common utilities for testing components built off futures-rs.
"""

[dependencies]
futures-core = { version = "0.3.4", path = "../futures-core", default-features = false }
futures-task = { version = "0.3.4", path = "../futures-task", default-features = false }
futures-io = { version = "0.3.4", path = "../futures-io", default-features = false }
futures-util = { version = "0.3.4", path = "../futures-util", default-features = false }
futures-executor = { version = "0.3.4", path = "../futures-executor", default-features = false }
futures-core = { version = "0.3.5", path = "../futures-core", default-features = false }
futures-task = { version = "0.3.5", path = "../futures-task", default-features = false }
futures-io = { version = "0.3.5", path = "../futures-io", default-features = false }
futures-util = { version = "0.3.5", path = "../futures-util", default-features = false }
futures-executor = { version = "0.3.5", path = "../futures-executor", default-features = false }
pin-utils = { version = "0.1.0", default-features = false }
once_cell = { version = "1.3.1", default-features = false, features = ["std"], optional = true }

[dev-dependencies]
futures = { version = "0.3.4", path = "../futures", default-features = false, features = ["std", "executor"] }
futures = { version = "0.3.5", path = "../futures", default-features = false, features = ["std", "executor"] }

[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://docs.rs/futures-test/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-test/0.3.5")]

#[cfg(not(feature = "std"))]
compile_error!("`futures-test` must have the `std` feature activated, this is a default-active feature");
Expand Down
20 changes: 10 additions & 10 deletions futures-util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "futures-util"
edition = "2018"
version = "0.3.4"
version = "0.3.5"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
documentation = "https://docs.rs/futures-util/0.3.0"
documentation = "https://docs.rs/futures-util/0.3.5"
description = """
Common utilities and extension traits for the futures-rs library.
"""
Expand All @@ -33,12 +33,12 @@ read-initializer = ["io", "futures-io/read-initializer", "futures-io/unstable"]
write-all-vectored = ["io"]

[dependencies]
futures-core = { path = "../futures-core", version = "0.3.4", default-features = false }
futures-task = { path = "../futures-task", version = "0.3.4", default-features = false }
futures-channel = { path = "../futures-channel", version = "0.3.4", default-features = false, features = ["std"], optional = true }
futures-io = { path = "../futures-io", version = "0.3.4", default-features = false, features = ["std"], optional = true }
futures-sink = { path = "../futures-sink", version = "0.3.4", default-features = false, optional = true }
futures-macro = { path = "../futures-macro", version = "0.3.4", default-features = false, optional = true }
futures-core = { path = "../futures-core", version = "0.3.5", default-features = false }
futures-task = { path = "../futures-task", version = "0.3.5", default-features = false }
futures-channel = { path = "../futures-channel", version = "0.3.5", default-features = false, features = ["std"], optional = true }
futures-io = { path = "../futures-io", version = "0.3.5", default-features = false, features = ["std"], optional = true }
futures-sink = { path = "../futures-sink", version = "0.3.5", default-features = false, optional = true }
futures-macro = { path = "../futures-macro", version = "0.3.5", default-features = false, optional = true }
proc-macro-hack = { version = "0.5.9", optional = true }
proc-macro-nested = { version = "0.1.2", optional = true }
slab = { version = "0.4.2", optional = true }
Expand All @@ -49,8 +49,8 @@ pin-utils = "0.1.0"
pin-project = "0.4.8"

[dev-dependencies]
futures = { path = "../futures", version = "0.3.4", features = ["async-await", "thread-pool"] }
futures-test = { path = "../futures-test", version = "0.3.4" }
futures = { path = "../futures", version = "0.3.5", features = ["async-await", "thread-pool"] }
futures-test = { path = "../futures-test", version = "0.3.5" }
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 @@ -16,7 +16,7 @@

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

#![doc(html_root_url = "https://docs.rs/futures-util/0.3.0")]
#![doc(html_root_url = "https://docs.rs/futures-util/0.3.5")]

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

0 comments on commit 4ceafb3

Please sign in to comment.