-
Notifications
You must be signed in to change notification settings - Fork 1
/
deny.toml
46 lines (41 loc) · 1.05 KB
/
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
46
# `cargo-deny` configuration.
feature-depth = 1
[advisories]
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
unsound = "deny"
yanked = "deny"
notice = "warn"
severity-threshold = "Medium"
[licenses]
unlicensed = "deny"
allow = [
# Permissive open-source licenses
"MIT",
"Apache-2.0",
"Unicode-DFS-2016",
]
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
[bans]
multiple-versions = "deny"
wildcards = "deny"
allow-wildcard-paths = true
skip = [
# `bitflags` v1 is still used by many crates. Since it's largely a macro,
# having multiple versions seems OK.
{ name = "bitflags", version = "^1" },
]
skip-tree = [
# Used by `tracing-subscriber` together with the new version :(
{ name = "regex-automata", version = "^0.1" },
# Used by some less frequently updated crates; since it only provides WinAPI declarations,
# multiple versions should be OK (?).
{ name = "windows-sys", version = "^0.48" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"