-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
45 lines (42 loc) · 956 Bytes
/
deny.toml
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
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"
ignore = [
"RUSTSEC-2020-0056", # stdweb is unmaintained, but we don't care
]
[licenses]
unlicensed = "deny"
copyleft = "deny"
allow = [
"MIT",
"MIT-0",
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"Zlib",
"0BSD",
"BSD-2-Clause",
"CC0-1.0",
"BSL-1.0",
]
exceptions = [
{ name = "unicode-ident", allow = ["Unicode-DFS-2016"] },
{ name = "epaint", allow = ["OFL-1.1", "LicenseRef-UFL-1.0"] },
]
default = "deny"
[bans]
multiple-versions = "allow"
wildcards = "allow"
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
#{ name = "foo", version = "0.5" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []