-
Notifications
You must be signed in to change notification settings - Fork 8
/
deny.toml
223 lines (177 loc) · 4.76 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
[advisories]
ignore = []
[licenses]
# List of explicitly allowed licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"ISC",
"CC0-1.0",
"Unicode-DFS-2016",
"BSD-3-Clause",
"BSD-2-Clause",
"Zlib",
"MPL-2.0",
"OpenSSL"
]
#
# Most of crates above are coming from lighthouse
# where they keep repository license of Apache 2.0
# https://github.com/sigp/lighthouse/blob/291146eeb4fea4bbe0aa3c6aa37eadd566d7e1d4/LICENSE
[[licenses.clarify]]
crate = "merkle_proof"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "bls"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "cached_tree_hash"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "compare_fields"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "compare_fields_derive"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "eth2_config"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "eth2_interop_keypairs"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "eth2_key_derivation"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "eth2_keystore"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "eth2_network_config"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "eth2_wallet"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "int_to_bytes"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "kzg"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "lighthouse_metrics"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "logging"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "pretty_reqwest_error"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "safe_arith"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "sensitive_url"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "swap_or_not_shuffle"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "test_random_derive"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "types"
expression = "Apache-2.0"
license-files = [
{ path = "../../LICENSE", hash = 0x001c7e6c },
]
[[licenses.clarify]]
crate = "ring"
# SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses
# https://spdx.org/licenses/OpenSSL.html
# ISC - Both BoringSSL and ring use this for their new files
# MIT - "Files in third_party/ have their own licenses, as described therein. The MIT
# license, for third_party/fiat, which, unlike other third_party directories, is
# compiled into non-test libraries, is included below."
# OpenSSL - Obviously
expression = "ISC AND MIT AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
#
# Denies versions of Serde derive which contain precompiled binary by default
# See
# https://github.com/serde-rs/serde/pull/2590
# https://github.com/serde-rs/serde/issues/2538
# https://github.com/rustsec/advisory-db/pull/1738
#
[bans]
deny = [
{ name = "serde_derive", version = ">1.0.171, <1.0.185" }
]
[output]
# When outputting inclusion graphs in diagnostics that include features, this
# option can be used to specify the depth at which feature edges will be added.
# This option is included since the graphs can be quite large and the addition
# of features from the crate(s) to all of the graph roots can be far too verbose.
# This option can be overridden via `--feature-depth` on the cmd line
feature-depth = 1