-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeny.toml
39 lines (33 loc) · 1.16 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
[licenses]
confidence-threshold = 0.93
allow = [
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"MIT",
"Unicode-3.0",
]
exceptions = [
# ring uses code from multiple libraries but all with permissive licenses
# https://tldrlegal.com/license/openssl-license-(openssl)
{ allow = ["ISC", "MIT", "OpenSSL"], name = "ring" },
# MPL-2.0 is a copyleft license, but we can still fulfill its requirements if:
# - We include a copyright notice (which we do through `THIRD_PARTY_LICENSES.md`)
# - We include the full license (which we do through `THIRD_PARTY_LICENSES.md`)
# - We disclose source-code (which we do, since this tool is open-source)
# - We include instructions to obtain the source (which we do through `THIRD_PARTY_LICENSES.md`)
{ allow = ["MPL-2.0"], crate = "webpki-roots"},
]
[[licenses.clarify]]
name = "ring"
expression = "ISC AND MIT AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[bans]
wildcards = "deny"
allow-wildcard-paths = true
multiple-versions = "warn"
[sources]
unknown-registry = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
unknown-git = "deny"
allow-git = []