@@ -15,10 +15,12 @@ matrix:
15
15
- name : cargo build (minimum required version)
16
16
rust : 1.36.0
17
17
script :
18
- # default features & compat feature
19
18
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
19
+ # Check default-features
20
20
- cargo build --all
21
+ # Check compat & threadpool features
21
22
- cargo build --manifest-path futures/Cargo.toml --features io-compat
23
+ - cargo build --manifest-path futures/Cargo.toml --features threadpool
22
24
23
25
# This is the minimum Rust version supported by `async-await` feature.
24
26
# When updating this, the reminder to update the minimum required version of `async-await` feature in README.md.
@@ -31,18 +33,22 @@ matrix:
31
33
- name : cargo +stable build
32
34
rust : stable
33
35
script :
34
- # default features & compat feature
35
36
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
37
+ # Check default-features
36
38
- cargo build --all
39
+ # Check compat & threadpool features
37
40
- cargo build --manifest-path futures/Cargo.toml --features io-compat
41
+ - cargo build --manifest-path futures/Cargo.toml --features threadpool
38
42
39
43
- name : cargo +beta build
40
44
rust : beta
41
45
script :
42
- # default features & compat feature & async-await feature
43
46
- cargo run --manifest-path ci/remove-dev-dependencies/Cargo.toml */Cargo.toml
47
+ # Check default-features
44
48
- cargo build --all
49
+ # Check compat & threadpool & async-await features
45
50
- cargo build --manifest-path futures/Cargo.toml --features io-compat
51
+ - cargo build --manifest-path futures/Cargo.toml --features threadpool
46
52
- cargo build --manifest-path futures/Cargo.toml --features async-await
47
53
48
54
- name : cargo test
@@ -169,7 +175,7 @@ matrix:
169
175
- cargo check --manifest-path futures-util/Cargo.toml --features io,bilock,unstable
170
176
- cargo check --manifest-path futures-util/Cargo.toml --features sink,io
171
177
- cargo check --manifest-path futures-util/Cargo.toml --features read_initializer,unstable
172
-
178
+ # Check each features with --no-default-features
173
179
- cargo check --manifest-path futures-util/Cargo.toml --no-default-features
174
180
- cargo check --manifest-path futures-util/Cargo.toml --no-default-features --features sink
175
181
- cargo check --manifest-path futures-util/Cargo.toml --no-default-features --features alloc,sink
@@ -178,6 +184,13 @@ matrix:
178
184
- cargo check --manifest-path futures-util/Cargo.toml --no-default-features --features sink,bilock,unstable
179
185
- cargo check --manifest-path futures-util/Cargo.toml --no-default-features --features io,bilock,unstable
180
186
187
+ # futures-executor
188
+ # Check default-features, all-features
189
+ - cargo check --manifest-path futures-executor/Cargo.toml
190
+ - cargo check --manifest-path futures-executor/Cargo.toml --all-features
191
+ # Check each features
192
+ - cargo check --manifest-path futures-executor/Cargo.toml --features threadpool
193
+
181
194
- name : cargo doc
182
195
rust : nightly
183
196
script :
0 commit comments