-
Notifications
You must be signed in to change notification settings - Fork 1
/
deny.toml
40 lines (37 loc) · 887 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
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn"
notice = "warn"
ignore = [
#"RUSTSEC-0000-0000",
]
[licenses]
unlicensed = "deny"
allow = ["MIT", "Apache-2.0", "BSD-3-Clause"]
deny = []
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.95
exceptions = [
# https://spdx.org/licenses/Unicode-DFS-2016.html
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" },
]
[licenses.private]
ignore = false
[bans]
multiple-versions = "warn"
wildcards = "deny"
highlight = "all"
allow = [
#{ name = "name", version = "*" },
]
deny = [
# Nothing wrong with slog. Let's just not mix logging libs.
{ name = "slog", version = "*" },
# Let's try to do everything with rustls.
{ name = "openssl", version = "*" },
]