Commit 5fed91d
committed
build: run basic feature matrix in CI
Extending the "build" step to run all feature flags, as well as
the existing default. Could possible add more flag combos in the future
if things get complicated, but this should cover most cases for now.
This helps ensure that the different flag combos exposed by the library
actually build for consumers. If the feature flag matrix begins to get
more complex, we could look into a more specific tool like cargo-hack,
but for now simplicity is fine.
Switched to the optional dependency syntax which ensures that the
(unused in our case) implicit features of the optional dependencies are
not created. This cleans up the library interface for consumers, only
our explicit flags are exposed.
Dropping the "check" CI step since build covers all of it. If build gets
really slow in the future, we can add check back as a form of "fast
failure", but as it is today this is just duplicating work and slowing
CI down.1 parent 64a88ab commit 5fed91d
2 files changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments