-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb-server.cabal
162 lines (150 loc) · 3.32 KB
/
db-server.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
cabal-version: 3.0
name: db-server
version: 0.1.0
synopsis:
An HTTP server over ouroboros-consensus' database
license: Apache-2.0
license-files:
LICENSE
NOTICE
copyright:
2024 Cardano Foundation
author: Arnaud Bailly <[email protected]>
maintainer: Arnaud Bailly <[email protected]>
category: Network
build-type: Simple
extra-doc-files:
README.md
source-repository head
type: git
location: https://github.com/pragma-org/db-server
common common-lib
default-language: Haskell2010
ghc-options:
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Widentities
-Wredundant-constraints
-Wunused-packages
-Wno-unticked-promoted-constructors
common common-test
import: common-lib
ghc-options:
-threaded
-rtsopts
common common-exe
import: common-lib
ghc-options:
-threaded
-rtsopts
"-with-rtsopts=-N -I0 -A16m"
library
import: common-lib
hs-source-dirs: src
exposed-modules:
Cardano.Tools.DBServer
Cardano.Tools.DBServer.Options
build-depends:
aeson,
base >=4.14 && <4.21,
base16-bytestring >=1.0,
base64-bytestring,
bytestring >=0.10 && <0.13,
cardano-crypto,
cardano-crypto-class,
cardano-crypto-wrapper,
cardano-git-rev ^>=0.2.1,
cardano-ledger-allegra,
cardano-ledger-alonzo,
cardano-ledger-api,
cardano-ledger-babbage,
cardano-ledger-binary,
cardano-ledger-byron,
cardano-ledger-conway,
cardano-ledger-core,
cardano-ledger-mary,
cardano-ledger-shelley,
cardano-prelude,
cardano-protocol-tpraos,
cardano-slotting,
cardano-strict-containers,
cborg ^>=0.2.2,
compact,
containers >=0.5 && <0.8,
contra-tracer,
directory,
filepath,
fs-api,
githash,
http-types,
microlens,
mtl,
network,
network-mux,
nothunks,
optparse-applicative,
ouroboros-consensus ^>= 0.21,
ouroboros-consensus-cardano,
ouroboros-consensus-diffusion,
ouroboros-consensus-protocol:unstable-protocol-testlib,
ouroboros-consensus-cardano:unstable-cardano-tools,
ouroboros-consensus-protocol,
ouroboros-network,
ouroboros-network-api,
ouroboros-network-framework,
ouroboros-network-protocols,
resource-registry,
serialise,
singletons,
sop-core,
sop-extras,
strict-sop-core,
text,
text-builder,
time,
transformers,
transformers-except,
wai,
warp
executable db-server
import: common-exe
hs-source-dirs: app
main-is: db-server.hs
build-depends:
base,
contra-tracer,
cardano-crypto-class,
network,
optparse-applicative,
db-server,
with-utf8,
test-suite db-server-test
import: common-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Cardano.Tools.DBServerSpec
Cardano.Tools.DBServer.OptionsSpec
Cardano.Tools.TestHelper
build-depends:
QuickCheck,
aeson,
base,
db-server,
directory,
filepath,
hspec,
http-types,
mtl,
temporary,
text,
unix,
wai,
wai-extra,
warp
build-tool-depends:
hspec-discover:hspec-discover