-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathdeny.toml
32 lines (26 loc) · 907 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
[advisories]
[licenses]
version = 2
confidence-threshold = 1.0
# List of explictly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = ["Unicode-3.0", "Apache-2.0", "BSD-3-Clause", "ISC", "MIT", "MPL-2.0"]
exceptions = [
# Ring has a...complicated license. However, since it is at the core of a large number of rust
# projects, we are manually allowing the OpenSSL part of the license
{ name = "ring", allow = [
"OpenSSL",
] },
]
[[licenses.clarify]]
name = "encoding_rs"
version = "*"
expression = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
license-files = [{ path = "COPYRIGHT", hash = 0x39f8ad31 }]
[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[bans]
multiple-versions = "allow"