forked from amethyst/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeny.toml
34 lines (26 loc) · 771 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
# See docs: https://embarkstudios.github.io/cargo-deny/checks/index.html
[advisories]
unmaintained = "warn"
vulnerability = "warn"
yanked = "deny"
notice = "deny"
[bans]
multiple-versions = "warn"
wildcards = "deny"
skip = [
{ name = "itertools", version = "0.9.0" }, # criterion brings in two versions
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
required-git-spec = "rev"
[licenses]
copyleft = "deny"
# Run `cargo deny list` to see which crates use which license
# and add them to this array if we accept them
allow = ["MIT", "Apache-2.0", "Unlicense", "BSD-3-Clause"]
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
exceptions = [
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" },
]