forked from kadena-io/chainweb-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chainweb-data.cabal
223 lines (211 loc) · 5.44 KB
/
chainweb-data.cabal
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
cabal-version: 2.2
name: chainweb-data
version: 2.1.1
description: Data ingestion for Chainweb.
homepage: https://github.com/kadena-io/chainweb-data
author: Colin Woodbury
maintainer:
Douglas Beardsley <doug@kadena.io>, Emily Pillmore <emily@kadena.io>
copyright: 2020 Kadena LLC
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-doc-files:
README.org
ChangeLog.md
common commons
default-language: Haskell2010
default-extensions: OverloadedStrings
ghc-options:
-Wall -Wcompat -Wpartial-fields -Wincomplete-record-updates
-Wincomplete-uni-patterns -Widentities -funclutter-valid-hole-fits
-fmax-relevant-binds=0
build-depends:
, aeson >= 1.4.3
, base >=4.7 && <5
, base-prelude
, base16-bytestring ^>=0.1
, beam-automigrate
, beam-core >=0.8 && <0.10
, beam-migrate >=0.4 && <0.6
, beam-postgres >=0.5 && <0.6
, bytestring ^>=0.10
, chainweb-api
, containers ^>=0.6
, data-default
, deepseq
, directory
, exceptions
, filepath
, hashable <=1.3.3.0
, lens
, lens-aeson
, postgresql-simple
, resource-pool >= 0.3 && <0.4
, safe
, scientific ^>=0.3
, servant
, streaming-events ^>=1.0.1
, text ^>=1.2
, time >=1.8 && <1.11
, unordered-containers
flag ghc-flags
description: Enable ghc dumps of .ghc.flags and .ghc.version for tooling
default: False
manual: True
library
import: commons
hs-source-dirs: lib
exposed-modules:
ChainwebData.Backfill
ChainwebData.Genesis
ChainwebData.Types
ChainwebData.Env
ChainwebData.Spec
ChainwebDb.BoundedScan
ChainwebDb.Database
ChainwebDb.Queries
ChainwebDb.Types.Block
ChainwebDb.Types.Common
ChainwebDb.Types.DbHash
ChainwebDb.Types.Event
ChainwebDb.Types.MinerKey
ChainwebDb.Types.Signer
ChainwebDb.Types.Transaction
ChainwebDb.Types.Transfer
build-depends:
base64-bytestring ^>=1.0
, Decimal
, gargoyle
, gargoyle-postgresql
, http-client ^>=0.6
, http-client-tls ^>=0.3
, http-types
, openapi3
, optparse-applicative >=0.14 && <0.17
, servant-client
, servant-openapi3
, yet-another-logger
if flag(ghc-flags)
build-tool-depends: hsinspect:hsinspect -any
ghc-options: -fplugin GhcFlags.Plugin
build-depends: ghcflags
executable chainweb-data
import: commons
main-is: Main.hs
hs-source-dirs: exec
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
, async ^>=2.2
, base16-bytestring
, base64-bytestring ^>=1.0
, bytestring
, cassava ^>=0.5.1
, cereal ^>=0.5
, chainweb-data
, connection
, containers ^>=0.6
, Decimal
, direct-sqlite
, errors ^>=2.3
, file-embed
, gargoyle
, gargoyle-postgresql
, http-client ^>=0.6
, http-client-tls ^>=0.3
, http-types
, lens-aeson
, managed
, mtl
, optparse-applicative >=0.14 && <0.17
, pact >=4.3.1
, postgresql-simple
, postgresql-simple-migration
, process ^>=1.6
, resource-pool >= 0.3
, retry ^>=0.8
, scheduler >=1.4
, servant-client
, servant-client-core
, servant-server
, servant-swagger-ui
, stm
, stm-chans
, streaming ^>=0.2
, streaming-events
, strict-tuple ^>=0.1
, string-conv
, vector
, wai
, wai-app-static
, wai-cors
, wai-extra
, wai-middleware-throttle
, warp
, warp-tls
, witherable
, yet-another-logger
-- , gargoyle-postgresql-nix
other-modules:
Chainweb.Backfill
Chainweb.BackfillTransfers
Chainweb.Coins
Chainweb.FillEvents
Chainweb.Gaps
Chainweb.Listen
Chainweb.Lookups
Chainweb.RichList
Chainweb.Server
Chainweb.Single
Chainweb.Worker
test-suite testsuite
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Chainweb.Data.Test.Backfill
Chainweb.Data.Test.Parser
build-depends:
, aeson
, base
, bytestring
, chainweb-api
, chainweb-data
, containers ^>=0.6
, neat-interpolation >=0.5 && < 0.6
, tasty >=1.2
, tasty-hunit >=0.10
, text
benchmark bench
import: commons
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N
hs-source-dirs: bench
main-is: Bench.hs
type: exitcode-stdio-1.0
build-depends:
, aeson
, base
, beam-automigrate
, beam-core >=0.8 && <0.10
, beam-migrate >=0.4 && <0.6
, beam-postgres >=0.5 && <0.6
, bytestring
, chainweb-api
, chainweb-data
, connection
, containers ^>=0.6
, deepseq
, exceptions
, http-client ^>=0.6
, optparse-applicative >=0.14 && <0.17
, postgresql-simple
, resource-pool >= 0.3 && <0.4
, string-conv
, text
, time >=1.8 && <1.11
, unordered-containers
, vector
-- internal
-- external