Skip to content

Commit

Permalink
Update cargo-deny config
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Sep 17, 2023
1 parent 62a7f5e commit a114483
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
run: cargo clippy -p term-transcript --no-default-features --features test --lib -- -D warnings

- name: Check dependencies
run: cargo deny --all-features check
run: cargo deny --workspace --all-features check

- name: Run tests
run: cargo test --workspace --all-features --all-targets
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ confidence-threshold = 0.8
multiple-versions = "deny"
wildcards = "deny"
allow-wildcard-paths = true
skip = [
# `bitflags` v1 is still used by many crates. Since it's largely a macro,
# having multiple versions seems OK.
{ name = "bitflags", version = "^1" },
]
skip-tree = [
# Used by `tracing-subscriber` together with the new version :(
{ name = "regex-automata", version = "^0.1" },
# Used by `clap` via `terminal_size`; likely to get updated soon.
{ name = "rustix", version = "^0.37" },
]

[sources]
unknown-registry = "deny"
Expand Down

0 comments on commit a114483

Please sign in to comment.