Skip to content

Commit 7724dc6

Browse files
authored
Merge pull request #10 from cfallin/cargo-deny-config
Add cargo-deny config.
2 parents 57ccaef + 8191d6c commit 7724dc6

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

deny.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
targets = [
2+
{ triple = "x86_64-unknown-linux-gnu" },
3+
{ triple = "x86_64-apple-darwin" },
4+
{ triple = "x86_64-pc-windows-msvc" },
5+
{ triple = "aarch64-linux-android" },
6+
]
7+
8+
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
9+
[advisories]
10+
vulnerability = "deny"
11+
unmaintained = "deny"
12+
yanked = "deny"
13+
ignore = [
14+
]
15+
16+
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
17+
[licenses]
18+
allow = [
19+
"Apache-2.0 WITH LLVM-exception",
20+
"Apache-2.0",
21+
"MIT",
22+
]
23+
24+
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
25+
[bans]
26+
multiple-versions = "deny"
27+
wildcards = "allow"
28+
deny = []

0 commit comments

Comments
 (0)