Skip to content

Commit f02a451

Browse files
committed
Bump MSRV of futures-util to 1.41
1 parent fcc0f9c commit f02a451

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

.github/workflows/ci.yml

+5-19
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
matrix:
4444
rust:
4545
# This is the minimum Rust version supported by futures-core, futures-io, futures-sink, futures-task, futures-channel.
46-
# When updating this, the reminder to update the minimum required version of `async-await` feature in README.md.
46+
# When updating this, the reminder to update the minimum required version in .clippy.toml.
4747
- 1.36.0
4848
runs-on: ubuntu-latest
4949
steps:
@@ -74,8 +74,8 @@ jobs:
7474
matrix:
7575
rust:
7676
# This is the minimum Rust version supported by futures, futures-util, futures-macro, futures-executor, futures-test.
77-
# When updating this, the reminder to update the minimum required version of `async-await` feature in README.md.
78-
- 1.37.0
77+
# When updating this, the reminder to update the minimum required version in README.md.
78+
- 1.41.0
7979
runs-on: ubuntu-latest
8080
steps:
8181
- uses: actions/checkout@v2
@@ -84,6 +84,8 @@ jobs:
8484
- run: cargo +stable install cargo-hack
8585
# remove dev-dependencies to avoid https://github.com/rust-lang/cargo/issues/4866
8686
- run: cargo hack --remove-dev-deps --workspace
87+
# Check default features
88+
- run: cargo hack build --workspace --ignore-private
8789
# Check no-default-features
8890
- run: cargo hack build --workspace --exclude futures-test --ignore-private --no-default-features
8991
# Check alloc feature
@@ -95,22 +97,6 @@ jobs:
9597
# Check thread-pool feature (futures, futures-executor)
9698
- run: cargo hack build -p futures -p futures-executor --no-default-features --features std,thread-pool
9799

98-
async-await-msrv:
99-
name: cargo +${{ matrix.rust }} build
100-
strategy:
101-
matrix:
102-
rust:
103-
# This is the minimum Rust version supported by `async-await` feature.
104-
# When updating this, the reminder to update the minimum required version of `async-await` feature in README.md.
105-
- 1.39.0
106-
runs-on: ubuntu-latest
107-
steps:
108-
- uses: actions/checkout@v2
109-
- name: Install Rust
110-
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
111-
- run: cargo +stable install cargo-hack
112-
- run: cargo hack build --workspace --no-dev-deps
113-
114100
build:
115101
name: cargo +${{ matrix.rust }} build
116102
strategy:

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<img alt="Crates.io" src="https://img.shields.io/crates/v/futures.svg">
1616
</a>
1717

18-
<a href="https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html">
19-
<img alt="Rustc Version" src="https://img.shields.io/badge/rustc-1.39+-lightgray.svg">
18+
<a href="https://www.rust-lang.org">
19+
<img alt="Rustc Version" src="https://img.shields.io/badge/rustc-1.41+-lightgray.svg">
2020
</a>
2121
</p>
2222

@@ -48,7 +48,7 @@ Now, you can use futures-rs:
4848
use futures::future::Future;
4949
```
5050

51-
The current futures-rs requires Rust 1.39 or later.
51+
The current futures-rs requires Rust 1.41 or later.
5252

5353
### Feature `std`
5454

0 commit comments

Comments
 (0)