-
Notifications
You must be signed in to change notification settings - Fork 10
/
geniusyield-orderbot-framework.cabal
200 lines (184 loc) · 4.08 KB
/
geniusyield-orderbot-framework.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
cabal-version: 3.12
name: geniusyield-orderbot-framework
synopsis: Smart Order Router framework
version: 0.5.1
build-type: Simple
license: Apache-2.0
copyright: (c) 2023 GYELD GMBH
author: Lars Bruenjes
maintainer: [email protected]
category: Blockchain, Cardano, Framework
extra-doc-files: CHANGELOG.md
-- Common sections
common common-ghc-opts
ghc-options:
-Wall
-Wcompat
-Wincomplete-uni-patterns
-Wno-unused-do-bind
-Wno-partial-type-signatures
-Wincomplete-record-updates
-Wmissing-deriving-strategies
-Wno-name-shadowing
-Wunused-foralls
-Wno-unticked-promoted-constructors
-fprint-explicit-foralls
-fprint-explicit-kinds
common common-deps
build-depends:
aeson,
aeson-pretty,
atlas-cardano,
base,
bytestring,
containers,
mtl,
mwc-random,
random,
random-fu,
serialise,
text,
time,
common common-lang
default-language: Haskell2010
default-extensions:
ApplicativeDo
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
DoAndIfThenElse
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
GADTSyntax
GeneralisedNewtypeDeriving
HexFloatLiterals
ImplicitPrelude
InstanceSigs
KindSignatures
LambdaCase
MonomorphismRestriction
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NoStarIsType
NumericUnderscores
OverloadedStrings
PatternGuards
PatternSynonyms
PolyKinds
PostfixOperators
RankNTypes
RecordWildCards
RelaxedPolyRec
RoleAnnotations
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TraditionalRecordSyntax
TupleSections
TypeApplications
TypeFamilyDependencies
TypeOperators
UnboxedTuples
ViewPatterns
-- Build targets
library common
import: common-lang
import: common-deps
import: common-ghc-opts
visibility: public
hs-source-dirs: lib-common
build-depends:
cardano-api,
geniusyield-dex-api,
postgresql-simple,
postgresql-simple-url,
exposed-modules:
GeniusYield.OrderBot.Types
ghc-options:
-O2
library datasource
import: common-lang
import: common-ghc-opts
visibility: public
hs-source-dirs: lib-datasource
build-depends:
atlas-cardano,
base,
geniusyield-dex-api,
geniusyield-orderbot-framework:common,
signatures:
GeniusYield.OrderBot.DataSource
library orderbook
import: common-lang
import: common-ghc-opts
visibility: public
hs-source-dirs: lib-orderbook
build-depends:
aeson,
atlas-cardano,
base,
geniusyield-dex-api,
geniusyield-orderbot-framework:common,
geniusyield-orderbot-framework:datasource,
signatures:
GeniusYield.OrderBot.OrderBook
exposed-modules:
GeniusYield.OrderBot.OrderBook.Extra
library strategies
import: common-lang
import: common-ghc-opts
visibility: public
hs-source-dirs: lib-strategies
build-depends:
aeson,
atlas-cardano,
base,
envy,
geniusyield-dex-api,
geniusyield-orderbot-framework:common,
geniusyield-orderbot-framework:orderbook,
signatures:
GeniusYield.OrderBot.Strategies
-- Indefinite library exposing the OrderBot orchestration types and functions.
library
import: common-lang
import: common-deps
import: common-ghc-opts
hs-source-dirs: src
build-depends:
cardano-api,
deriving-aeson,
envy,
geniusyield-dex-api,
geniusyield-orderbot-framework:common,
geniusyield-orderbot-framework:datasource,
geniusyield-orderbot-framework:orderbook,
geniusyield-orderbot-framework:strategies,
geniusyield-server-lib,
http-api-data,
maestro-sdk,
vector,
exposed-modules:
GeniusYield.OrderBot
GeniusYield.OrderBot.MatchingStrategy
GeniusYield.OrderBot.OrderBotConfig
GeniusYield.OrderBot.Run
ghc-options:
-O2