forked from pragma-org/db-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb-server.cabal
More file actions
129 lines (117 loc) · 2.65 KB
/
db-server.cabal
File metadata and controls
129 lines (117 loc) · 2.65 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
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
copyright:
2024 Cardano Foundation
author: Arnaud Bailly <arnaud@pankzsoft.com>
maintainer: Arnaud Bailly <arnaud@pankzsoft.com>
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.DB
Cardano.Tools.DBQuery
Cardano.Tools.DBServer
Cardano.Tools.DBServer.Options
build-depends:
aeson,
base >=4.14 && <4.21,
base16-bytestring >=1.0,
bytestring >=0.10 && <0.13,
cardano-crypto-class,
cardano-ledger-api,
cardano-ledger-binary,
cardano-ledger-core,
cardano-slotting,
contra-tracer,
http-types,
network,
optparse-applicative,
ouroboros-consensus,
ouroboros-consensus-cardano ^>= 0.26,
ouroboros-consensus-diffusion,
ouroboros-consensus-cardano:unstable-cardano-tools,
ouroboros-network-api,
resource-registry,
QuickCheck,
text,
time,
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,
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.DBQuerySpec
Cardano.Tools.DBServerSpec
Cardano.Tools.DBServer.OptionsSpec
Cardano.Tools.TestHelper
build-depends:
QuickCheck,
aeson,
base,
base16-bytestring >=1.0,
bytestring,
cardano-crypto-class,
contra-tracer,
db-server,
directory,
filepath,
hspec,
http-types,
temporary,
text,
unix,
wai,
wai-extra,
warp
build-tool-depends:
hspec-discover:hspec-discover