forked from nervosnetwork/ckb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
57 lines (52 loc) · 1.38 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
47
48
49
50
51
52
53
54
55
56
57
[advisories]
vulnerability = "deny"
unmaintained = "warn"
yanked = "deny"
notice = "deny"
ignore = [
# The CVE can be kept under control for its triggering.
# See https://github.com/launchbadge/sqlx/pull/2455#issuecomment-1507657825 for more information.
# Meanwhile, awaiting SQLx's new version (> 0.7.3) for full support of any DB driver.
"RUSTSEC-2022-0090",
# ckb-rich-indexer need sqlx's runtime-tokio-rustls feature,
# ignore https://rustsec.org/advisories/RUSTSEC-2024-0336
"RUSTSEC-2024-0336"
]
[licenses]
unlicensed = "deny"
allow = [
"Apache-2.0",
"BSD-3-Clause",
"CC0-1.0",
"ISC",
"MIT",
# https://softwareengineering.stackexchange.com/questions/317944/can-i-include-code-licensed-under-mpl-within-a-project-under-mit-license
"MPL-2.0",
"Unicode-DFS-2016",
"BSL-1.0",
]
copyleft = "deny"
default = "deny"
exceptions = [
{ allow = ["MIT", "ISC", "OpenSSL"], name = "ring", version = "*" },
]
[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[[licenses.clarify]]
name = "encoding_rs"
version = "*"
expression = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
license-files = [
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
]
[bans]
multiple-versions = "warn"
wildcards = "deny"
[sources]
unknown-registry = "deny"
unknown-git = "deny"