From f78730b48547a464055ac13f1cd221b51389cf71 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 30 Aug 2021 19:12:44 +0900 Subject: [PATCH 1/3] Update changelog --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6d4369d4c..1f9d944346 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.3.17 - 2021-08-30 + +* Use `FuturesOrdered` in `join_all` (#2412) +* Add `{future, stream}::poll_immediate` (#2452) +* Add `stream_select!` macro (#2262) +* Implement `Default` for `OptionFuture` (#2471) +* Add `Peekable::{peek_mut, poll_peek_mut}` (#2488) +* Add `BufReader::seek_relative` (#2489) + # 0.3.16 - 2021-07-23 * Add `TryStreamExt::try_chunks` (#2438) From ec84889eb025bb1c390d94b865c6818b1aae5eb6 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 30 Aug 2021 19:15:35 +0900 Subject: [PATCH 2/3] Create GitHub release automatically --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..4e6aa773a9 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Release + +on: + push: + tags: + - '[0-9]+.*' + +env: + RUSTFLAGS: -D warnings + RUST_BACKTRACE: 1 + +jobs: + create-release: + if: github.repository_owner == 'rust-lang' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install Rust + run: rustup update stable + - run: cargo build --all + - uses: taiki-e/create-gh-release-action@v1 + with: + changelog: CHANGELOG.md + branch: master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 46c39d8a866efd6be54ea919f319746e30b3ef23 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 30 Aug 2021 19:15:55 +0900 Subject: [PATCH 3/3] Release 0.3.17 --- futures-channel/Cargo.toml | 6 +++--- futures-core/Cargo.toml | 2 +- futures-executor/Cargo.toml | 8 ++++---- futures-io/Cargo.toml | 2 +- futures-macro/Cargo.toml | 2 +- futures-sink/Cargo.toml | 2 +- futures-task/Cargo.toml | 2 +- futures-test/Cargo.toml | 16 ++++++++-------- futures-util/Cargo.toml | 14 +++++++------- futures/Cargo.toml | 16 ++++++++-------- 10 files changed, 35 insertions(+), 35 deletions(-) diff --git a/futures-channel/Cargo.toml b/futures-channel/Cargo.toml index 1d3cb74f5e..6bd240cacf 100644 --- a/futures-channel/Cargo.toml +++ b/futures-channel/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-channel" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -23,8 +23,8 @@ unstable = [] cfg-target-has-atomic = [] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.16", default-features = false } -futures-sink = { path = "../futures-sink", version = "0.3.16", default-features = false, optional = true } +futures-core = { path = "../futures-core", version = "0.3.17", default-features = false } +futures-sink = { path = "../futures-sink", version = "0.3.17", default-features = false, optional = true } [dev-dependencies] futures = { path = "../futures", default-features = true } diff --git a/futures-core/Cargo.toml b/futures-core/Cargo.toml index 6c1b5e70ec..29134f2954 100644 --- a/futures-core/Cargo.toml +++ b/futures-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-core" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-executor/Cargo.toml b/futures-executor/Cargo.toml index 286b253c65..6d6f71bded 100644 --- a/futures-executor/Cargo.toml +++ b/futures-executor/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-executor" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -17,9 +17,9 @@ std = ["futures-core/std", "futures-task/std", "futures-util/std"] thread-pool = ["std", "num_cpus"] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.16", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.16", default-features = false } -futures-util = { path = "../futures-util", version = "0.3.16", default-features = false } +futures-core = { path = "../futures-core", version = "0.3.17", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.17", default-features = false } +futures-util = { path = "../futures-util", version = "0.3.17", default-features = false } num_cpus = { version = "1.8.0", optional = true } [dev-dependencies] diff --git a/futures-io/Cargo.toml b/futures-io/Cargo.toml index 518d4615a0..2e5abba5f0 100644 --- a/futures-io/Cargo.toml +++ b/futures-io/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-io" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-macro/Cargo.toml b/futures-macro/Cargo.toml index 1acd4a22eb..3b2740c4fd 100644 --- a/futures-macro/Cargo.toml +++ b/futures-macro/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-macro" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Taylor Cramer ", "Taiki Endo "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-sink/Cargo.toml b/futures-sink/Cargo.toml index 2144518ec4..c5d5681dde 100644 --- a/futures-sink/Cargo.toml +++ b/futures-sink/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-sink" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-task/Cargo.toml b/futures-task/Cargo.toml index 3d246add7a..23e5aed8b3 100644 --- a/futures-task/Cargo.toml +++ b/futures-task/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-task" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-test/Cargo.toml b/futures-test/Cargo.toml index ef138d4437..efd18db2e0 100644 --- a/futures-test/Cargo.toml +++ b/futures-test/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-test" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Wim Looman "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -12,13 +12,13 @@ Common utilities for testing components built off futures-rs. """ [dependencies] -futures-core = { version = "0.3.16", path = "../futures-core", default-features = false } -futures-task = { version = "0.3.16", path = "../futures-task", default-features = false } -futures-io = { version = "0.3.16", path = "../futures-io", default-features = false } -futures-util = { version = "0.3.16", path = "../futures-util", default-features = false } -futures-executor = { version = "0.3.16", path = "../futures-executor", default-features = false } -futures-sink = { version = "0.3.16", path = "../futures-sink", default-features = false } -futures-macro = { version = "=0.3.16", path = "../futures-macro", default-features = false } +futures-core = { version = "0.3.17", path = "../futures-core", default-features = false } +futures-task = { version = "0.3.17", path = "../futures-task", default-features = false } +futures-io = { version = "0.3.17", path = "../futures-io", default-features = false } +futures-util = { version = "0.3.17", path = "../futures-util", default-features = false } +futures-executor = { version = "0.3.17", path = "../futures-executor", default-features = false } +futures-sink = { version = "0.3.17", path = "../futures-sink", default-features = false } +futures-macro = { version = "=0.3.17", path = "../futures-macro", default-features = false } pin-utils = { version = "0.1.0", default-features = false } pin-project = "1.0.1" diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index 98cace6b4c..a8e93620b3 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures-util" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -39,12 +39,12 @@ cfg-target-has-atomic = [] autocfg = "1" [dependencies] -futures-core = { path = "../futures-core", version = "0.3.16", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.16", default-features = false } -futures-channel = { path = "../futures-channel", version = "0.3.16", default-features = false, features = ["std"], optional = true } -futures-io = { path = "../futures-io", version = "0.3.16", default-features = false, features = ["std"], optional = true } -futures-sink = { path = "../futures-sink", version = "0.3.16", default-features = false, optional = true } -futures-macro = { path = "../futures-macro", version = "=0.3.16", default-features = false, optional = true } +futures-core = { path = "../futures-core", version = "0.3.17", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.17", default-features = false } +futures-channel = { path = "../futures-channel", version = "0.3.17", default-features = false, features = ["std"], optional = true } +futures-io = { path = "../futures-io", version = "0.3.17", default-features = false, features = ["std"], optional = true } +futures-sink = { path = "../futures-sink", version = "0.3.17", default-features = false, optional = true } +futures-macro = { path = "../futures-macro", version = "=0.3.17", default-features = false, optional = true } proc-macro-hack = { version = "0.5.19", optional = true } proc-macro-nested = { version = "0.1.2", optional = true } slab = { version = "0.4.2", optional = true } diff --git a/futures/Cargo.toml b/futures/Cargo.toml index 04cea8a125..b01b12e06d 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "futures" edition = "2018" -version = "0.3.16" +version = "0.3.17" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" readme = "../README.md" @@ -16,13 +16,13 @@ composability, and iterator-like interfaces. categories = ["asynchronous"] [dependencies] -futures-core = { path = "../futures-core", version = "0.3.16", default-features = false } -futures-task = { path = "../futures-task", version = "0.3.16", default-features = false } -futures-channel = { path = "../futures-channel", version = "0.3.16", default-features = false, features = ["sink"] } -futures-executor = { path = "../futures-executor", version = "0.3.16", default-features = false, optional = true } -futures-io = { path = "../futures-io", version = "0.3.16", default-features = false } -futures-sink = { path = "../futures-sink", version = "0.3.16", default-features = false } -futures-util = { path = "../futures-util", version = "0.3.16", default-features = false, features = ["sink"] } +futures-core = { path = "../futures-core", version = "0.3.17", default-features = false } +futures-task = { path = "../futures-task", version = "0.3.17", default-features = false } +futures-channel = { path = "../futures-channel", version = "0.3.17", default-features = false, features = ["sink"] } +futures-executor = { path = "../futures-executor", version = "0.3.17", default-features = false, optional = true } +futures-io = { path = "../futures-io", version = "0.3.17", default-features = false } +futures-sink = { path = "../futures-sink", version = "0.3.17", default-features = false } +futures-util = { path = "../futures-util", version = "0.3.17", default-features = false, features = ["sink"] } [dev-dependencies] futures-executor = { path = "../futures-executor", features = ["thread-pool"] }