-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathdeny.toml
More file actions
49 lines (44 loc) · 1.06 KB
/
deny.toml
File metadata and controls
49 lines (44 loc) · 1.06 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
37
38
39
40
41
42
43
44
45
46
47
48
49
# cargo-deny configuration
# https://embarkstudios.github.io/cargo-deny/
[graph]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
# Advisories — checks for known vulnerable crate versions
[advisories]
ignore = []
db-urls = ["https://github.com/rustsec/advisory-db"]
# Licenses — allowlist of acceptable licenses
[licenses]
allow = [
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"OpenSSL",
"MPL-2.0",
"CC0-1.0",
"BSL-1.0",
]
# Bans — reject problematic and duplicate crates
[bans]
multiple-versions = "warn"
wildcards = "deny"
deny = []
# Sources — restrict where crates can come from
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index", "https://index.crates.io/"]
allow-git = []