Skip to content

Commit

Permalink
Improve cargo deny config
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Oct 27, 2022
1 parent 44e55fe commit 8550576
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
targets = []
targets = [
# These are the targets we test for
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]

[advisories]
db-path = "~/.cargo/advisory-db"
Expand All @@ -22,3 +27,7 @@ confidence-threshold = 0.8
[sources]
unknown-registry = "deny"
unknown-git = "deny"

[bans]
multiple-versions = "deny"
workspace-default-features = "deny"

0 comments on commit 8550576

Please sign in to comment.