-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgenesis-sync-accelerator.cabal
More file actions
276 lines (249 loc) · 5.41 KB
/
genesis-sync-accelerator.cabal
File metadata and controls
276 lines (249 loc) · 5.41 KB
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
cabal-version: 3.4
name: genesis-sync-accelerator
version: 0.1.0.0
license: Apache-2.0
author: Modus Create, LLC.
maintainer: erin.vanderveen@tweag.io
build-type: Simple
data-files:
test/data/**/*.json
common common-all
ghc-options:
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Widentities
-Wredundant-constraints
-Wmissing-export-lists
-Wunused-packages
build-depends:
base
common common-test
build-depends:
QuickCheck,
tasty,
tasty-quickcheck,
executable genesis-sync-accelerator
import: common-all
main-is: Main.hs
hs-source-dirs:
app
src
ghc-options:
-threaded
-rtsopts
"-with-rtsopts=-N -I0 -A16m"
other-modules:
GenesisSyncAccelerator.Config
GenesisSyncAccelerator.Diffusion
GenesisSyncAccelerator.MiniProtocols
GenesisSyncAccelerator.OnDemand
GenesisSyncAccelerator.Parsers
GenesisSyncAccelerator.RemoteStorage
GenesisSyncAccelerator.Tracing
GenesisSyncAccelerator.Types
GenesisSyncAccelerator.Util
build-depends:
aeson,
async,
base16-bytestring,
bytestring,
cardano-crypto-class,
cborg,
containers,
contra-tracer,
directory,
exceptions,
filepath,
fs-api,
http-client,
http-client-tls,
http-types,
io-classes,
network,
network-mux,
optparse-applicative,
ouroboros-consensus,
ouroboros-consensus-cardano,
ouroboros-consensus-cardano:unstable-cardano-tools,
ouroboros-consensus-diffusion,
ouroboros-consensus-protocol,
ouroboros-network,
ouroboros-network-api,
ouroboros-network-framework,
ouroboros-network-protocols,
resource-registry,
text,
trace-dispatcher,
trace-resources,
with-utf8,
yaml,
executable immdb-get-tip
import: common-all
hs-source-dirs: tools
main-is: immdb-get-tip.hs
ghc-options:
-threaded
-rtsopts
build-depends:
base,
cardano-crypto-class,
contra-tracer,
genesis-sync-accelerator,
optparse-applicative,
with-utf8,
library
import: common-all
hs-source-dirs: src
exposed-modules:
GenesisSyncAccelerator.Config
GenesisSyncAccelerator.OnDemand
GenesisSyncAccelerator.RemoteStorage
GenesisSyncAccelerator.Tracing
GenesisSyncAccelerator.Types
GenesisSyncAccelerator.Util
other-modules:
GenesisSyncAccelerator.Diffusion
GenesisSyncAccelerator.MiniProtocols
GenesisSyncAccelerator.Parsers
build-depends:
aeson,
async,
base16-bytestring,
bytestring,
cborg,
containers,
contra-tracer,
directory,
exceptions,
filepath,
fs-api,
http-client,
http-client-tls,
http-types,
io-classes,
network,
network-mux,
ouroboros-consensus,
ouroboros-consensus-cardano,
ouroboros-consensus-cardano:unstable-cardano-tools,
ouroboros-consensus-diffusion,
ouroboros-consensus-protocol,
ouroboros-network,
ouroboros-network-api,
ouroboros-network-framework,
ouroboros-network-protocols,
resource-registry,
text,
trace-dispatcher,
trace-resources,
library gsa-testlib
import: common-all
hs-source-dirs: src/gsa-testlib
exposed-modules:
Test.GenesisSyncAccelerator.Orphans
Test.GenesisSyncAccelerator.Types
Test.GenesisSyncAccelerator.Utilities
build-depends:
QuickCheck,
contra-tracer,
filepath,
fs-api,
genesis-sync-accelerator,
ouroboros-consensus,
text,
wai-app-static,
warp,
other-modules:
Paths_genesis_sync_accelerator
test-suite storage-tests
import: common-all, common-test
main-is: Main.hs
hs-source-dirs: test/storage
type: exitcode-stdio-1.0
ghc-options:
-threaded
-rtsopts
build-depends:
directory,
exceptions,
filepath,
fs-api,
genesis-sync-accelerator,
genesis-sync-accelerator:gsa-testlib,
ouroboros-consensus,
quickcheck-instances,
temporary,
text,
other-modules:
Test.GenesisSyncAccelerator.Storage
test-suite download-tests
import: common-all, common-test
main-is: Main.hs
hs-source-dirs: test/download
type: exitcode-stdio-1.0
ghc-options:
-threaded
-rtsopts
build-depends:
aeson,
containers,
contra-tracer,
directory,
exceptions,
filepath,
genesis-sync-accelerator,
genesis-sync-accelerator:gsa-testlib,
http-types,
ouroboros-consensus,
quickcheck-instances,
tasty-hunit,
temporary,
text,
wai,
warp,
other-modules:
Test.GenesisSyncAccelerator.Download.Chunks
Test.GenesisSyncAccelerator.Download.RemoteTip
test-suite on-demand-tests
import: common-all, common-test
main-is: Main.hs
hs-source-dirs: test/on-demand
type: exitcode-stdio-1.0
ghc-options:
-threaded
-rtsopts
build-depends:
aeson,
bytestring,
exceptions,
filepath,
fs-api,
genesis-sync-accelerator,
genesis-sync-accelerator:gsa-testlib,
ouroboros-consensus,
ouroboros-consensus-cardano,
strict-checked-vars,
tasty,
tasty-quickcheck,
temporary,
text,
other-modules:
Test.GenesisSyncAccelerator.OnDemand.Runtime
test-suite config-tests
import: common-all
main-is: Main.hs
hs-source-dirs: test/config
type: exitcode-stdio-1.0
ghc-options:
-threaded
-rtsopts
build-depends:
genesis-sync-accelerator,
tasty,
tasty-hunit,
yaml,
other-modules:
Test.GenesisSyncAccelerator.Config