-
Notifications
You must be signed in to change notification settings - Fork 7
/
deny.toml
44 lines (36 loc) · 1.21 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
[licenses]
# Don't allow code with an unclear license.
unlicensed = "deny"
# Don't allow "copylefted" licenses unless they're listed below.
copyleft = "deny"
# Allow common non-restrictive licenses. ISC is used for various DNS and crypto
# things, and it's a minimally restrictive open source license.
allow = ["MIT", "Apache-2.0", "BSD-3-Clause", "CC0-1.0", "ISC", "OpenSSL", "Zlib"]
# Many organizations ban AGPL-licensed code
# https://opensource.google/docs/using/agpl-policy/
deny = ["AGPL-3.0"]
[[licenses.clarify]]
# Ring has a messy license.
name = "ring"
expression = "ISC AND OpenSSL AND MIT"
license-files = [
{ path = "LICENSE", hash = 3171872035 },
]
[[licenses.clarify]]
name = "encoding_rs"
expression = "(MIT OR Apache-2.0) AND BSD-3-Clause AND CC0-1.0"
license-files = [
{ path = "COPYRIGHT", hash = 972598577 },
]
[bans]
# Warn about multiple versions of the same crate, unless we've indicated otherwise below.
multiple-versions = "warn"
deny = [
# OpenSSL has caused endless deployment and build problems, and we want
# nothing to do with it, in any version.
{ name = "openssl-sys" },
]
skip = [
# Several libraries still use the old version.
{ name = "itoa", version = "0.4.8"},
]