Commit 16f1b9a
authored
test: enable missing feature for test build (#2820)
Add missing feature flags to fix `cargo test` when run inside individual
crate directories.
CI previously missed this issue because running `cargo nextest` from the
workspace root automatically unifies workspace features.
Additionally, because the `grpc-gcp` example depends on
`protoc-gen-rust-grpc` (unlike `tonic` examples), this PR removes
`grpc-gcp` from the default features so `cargo test` works out of the
box. Note that `examples` crate has no tests.1 parent 5cf749d commit 16f1b9a
3 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | | - | |
| 297 | + | |
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| 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