File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 3838 toolchain : ${{ matrix.rust }}
3939 target : ${{ matrix.target }}
4040
41- - run : sed -i '/nightly-only/d' Cargo.toml
41+ - run : mv Cargo.stable.toml Cargo.toml
4242 if : matrix.rust != 'nightly'
4343
4444 - run : cargo check --target=${{ matrix.target }} --features=${{ matrix.features }}
Original file line number Diff line number Diff line change 1+ # CI moves this file to `Cargo.toml` when building for stable.
2+
3+ [workspace ]
4+ resolver = " 2"
5+
6+ members = [
7+ " embedded-hal" ,
8+ " embedded-hal-nb" ,
9+ " embedded-hal-bus" ,
10+ " embedded-can" ,
11+ " embedded-io" ,
12+ " embedded-io-adapters" ,
13+ ]
14+
15+ # Cargo implicitly adds path dependencies to the workspace.
16+ # Even if they're optional and not enabled. This prevents that.
17+ exclude = [
18+ " embedded-hal-async" ,
19+ " embedded-io-async" ,
20+ ]
Original file line number Diff line number Diff line change 11[workspace ]
22resolver = " 2"
33
4- # CI removes lines containing 'nightly-only' when not building with nightly.
54members = [
65 " embedded-hal" ,
7- " embedded-hal-async" , # nightly-only
6+ " embedded-hal-async" ,
87 " embedded-hal-nb" ,
98 " embedded-hal-bus" ,
109 " embedded-can" ,
1110 " embedded-io" ,
12- " embedded-io-async" , # nightly-only
11+ " embedded-io-async" ,
1312 " embedded-io-adapters" ,
1413]
You can’t perform that action at this time.
0 commit comments