|
43 | 43 | matrix:
|
44 | 44 | rust:
|
45 | 45 | # 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. |
47 | 47 | - 1.36.0
|
48 | 48 | runs-on: ubuntu-latest
|
49 | 49 | steps:
|
|
74 | 74 | matrix:
|
75 | 75 | rust:
|
76 | 76 | # 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 |
79 | 79 | runs-on: ubuntu-latest
|
80 | 80 | steps:
|
81 | 81 | - uses: actions/checkout@v2
|
|
84 | 84 | - run: cargo +stable install cargo-hack
|
85 | 85 | # remove dev-dependencies to avoid https://github.com/rust-lang/cargo/issues/4866
|
86 | 86 | - run: cargo hack --remove-dev-deps --workspace
|
| 87 | + # Check default features |
| 88 | + - run: cargo hack build --workspace --ignore-private |
87 | 89 | # Check no-default-features
|
88 | 90 | - run: cargo hack build --workspace --exclude futures-test --ignore-private --no-default-features
|
89 | 91 | # Check alloc feature
|
|
95 | 97 | # Check thread-pool feature (futures, futures-executor)
|
96 | 98 | - run: cargo hack build -p futures -p futures-executor --no-default-features --features std,thread-pool
|
97 | 99 |
|
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 |
| - |
114 | 100 | build:
|
115 | 101 | name: cargo +${{ matrix.rust }} build
|
116 | 102 | strategy:
|
|
0 commit comments