-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzepter.yaml
More file actions
36 lines (32 loc) · 1.43 KB
/
Copy pathzepter.yaml
File metadata and controls
36 lines (32 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version:
format: 1
binary: 0.13.2
workflows:
check:
- [
"lint",
# Check that `A` activates the features of `B`.
"propagate-feature",
# These are the features to check:
"--features=arbitrary,std,serde,test-utils,metrics",
# Do not try to add a new section into `[features]` of `A` only because `B` exposes that feature. There are edge-cases where this is still needed, but we can add them manually.
"--left-side-feature-missing=ignore",
# Ignore the case that `A` is outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on.
"--left-side-outside-workspace=ignore",
# Only check normal dependencies.
# Propagating to dev-dependencies leads to compilation issues.
"--dep-kinds=normal:check,dev:ignore",
"--show-path",
"--quiet",
]
default:
# Running `zepter` with no subcommand will check & fix.
- [$check.0, "--fix"]
# Will be displayed when any workflow fails:
help:
text: |
This repository uses the Zepter CLI to detect abnormalities in Cargo features, e.g. missing propagation.
It looks like one or more checks failed; please check the console output.
You can try to automatically address them by installing zepter (`cargo install zepter --locked`) and simply running `zepter` in the workspace root.
links:
- "https://github.com/ggwpez/zepter"