-
Notifications
You must be signed in to change notification settings - Fork 723
/
Copy pathcardano-api.cabal
245 lines (226 loc) · 9.53 KB
/
cardano-api.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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
cabal-version: 3.0
name: cardano-api
version: 1.36.0
description: The cardano api
author: IOHK
maintainer: [email protected]
license: Apache-2.0
license-files: LICENSE
NOTICE
build-type: Simple
extra-source-files: README.md, ChangeLog.md
common base { build-depends: base >= 4.14 && < 4.15 }
common project-config
default-language: Haskell2010
default-extensions: NoImplicitPrelude
OverloadedStrings
ghc-options: -Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
-Wunused-packages
common maybe-unix
if !os(windows)
build-depends: unix
library
import: base, project-config, maybe-unix
hs-source-dirs: src
exposed-modules: Cardano.Api
Cardano.Api.Byron
Cardano.Api.ChainSync.Client
Cardano.Api.ChainSync.ClientPipelined
Cardano.Api.Crypto.Ed25519Bip32
Cardano.Api.EraCast
Cardano.Api.Protocol.Types
Cardano.Api.Shelley
-- TODO: Eliminate in the future when
-- we create wrapper types for the ledger types
-- in this module
Cardano.Api.Orphans
Cardano.Api.SerialiseTextEnvelope
other-modules:
-- Splitting up the big Typed module:
Cardano.Api.Address
Cardano.Api.Block
Cardano.Api.Certificate
Cardano.Api.Convenience.Constraints
Cardano.Api.Convenience.Construction
Cardano.Api.Convenience.Query
Cardano.Api.Environment
Cardano.Api.Eras
Cardano.Api.Error
Cardano.Api.Fees
Cardano.Api.GenesisParameters
Cardano.Api.Hash
Cardano.Api.HasTypeProxy
Cardano.Api.IPC
Cardano.Api.IPC.Monad
Cardano.Api.InMode
Cardano.Api.Json
Cardano.Api.Key
Cardano.Api.KeysByron
Cardano.Api.KeysPraos
Cardano.Api.KeysShelley
Cardano.Api.LedgerEvent
Cardano.Api.LedgerState
Cardano.Api.Modes
Cardano.Api.NetworkId
Cardano.Api.OperationalCertificate
Cardano.Api.ProtocolParameters
Cardano.Api.Query
Cardano.Api.Script
Cardano.Api.ScriptData
Cardano.Api.SerialiseBech32
Cardano.Api.SerialiseCBOR
Cardano.Api.SerialiseJSON
Cardano.Api.SerialiseLedgerCddl
Cardano.Api.SerialiseRaw
Cardano.Api.SerialiseUsing
Cardano.Api.Shelley.Genesis
Cardano.Api.SpecialByron
Cardano.Api.StakePoolMetadata
Cardano.Api.Tx
Cardano.Api.TxBody
Cardano.Api.TxIn
Cardano.Api.TxMetadata
Cardano.Api.TxSubmit.ErrorRender
Cardano.Api.TxSubmit.Types
Cardano.Api.Utils
Cardano.Api.Value
Cardano.Api.ValueParser
build-depends: aeson >= 1.5.6.0
, aeson-pretty >= 0.8.5
, attoparsec
, array
, base16-bytestring >= 1.0
, base58-bytestring
, bech32 >= 1.1.0
, bytestring
, cardano-binary
, cardano-crypto
, cardano-crypto-class
, cardano-crypto-wrapper
, cardano-data
, cardano-ledger-alonzo
, cardano-ledger-babbage
, cardano-ledger-byron
, cardano-ledger-core
, cardano-ledger-shelley-ma
, cardano-prelude
, cardano-protocol-tpraos
, cardano-slotting
, cborg
, contra-tracer
, containers
, cryptonite
, deepseq
, directory
, filepath
, formatting
, iproute
, memory
, network
, nothunks
, optparse-applicative-fork
, ouroboros-consensus
, ouroboros-consensus-byron
, ouroboros-consensus-cardano
, ouroboros-consensus-protocol
, ouroboros-consensus-shelley
, ouroboros-network
, ouroboros-network-framework
, parsec
, plutus-ledger-api
, prettyprinter
, prettyprinter-configurable
, random
, scientific
, serialise
, small-steps
, cardano-ledger-shelley
, small-steps
, stm
, strict-containers
, text
, time
, transformers
, transformers-except
, typed-protocols
, unordered-containers >= 0.2.11
, vector
, vector-map
, yaml
library gen
import: base, project-config
visibility: public
hs-source-dirs: gen
exposed-modules: Gen.Cardano.Api
Gen.Cardano.Api.Metadata
Gen.Cardano.Api.Typed
Gen.Cardano.Crypto.Seed
Gen.Hedgehog.Roundtrip.Bech32
Gen.Hedgehog.Roundtrip.CBOR
build-depends: aeson >= 1.5.6.0
, base16-bytestring
, bytestring
, cardano-api
, cardano-binary
, cardano-crypto-class
, cardano-crypto-test
, cardano-ledger-alonzo
, cardano-ledger-byron-test
, cardano-ledger-core
, cardano-prelude
, containers
, hedgehog
, plutus-core
, cardano-ledger-shelley
, text
test-suite cardano-api-test
import: base, project-config
hs-source-dirs: test
main-is: cardano-api-test.hs
type: exitcode-stdio-1.0
build-depends: aeson >= 1.5.6.0
, cardano-api
, cardano-api:gen
, cardano-data
, cardano-crypto
, cardano-crypto-class
, cardano-crypto-test
, cardano-crypto-tests
, cardano-ledger-core
, cardano-prelude
, cardano-slotting
, containers
, hedgehog
, hedgehog-extras
, ouroboros-consensus
, ouroboros-consensus-shelley
, QuickCheck
, cardano-ledger-shelley
, cardano-ledger-shelley-test
, tasty
, tasty-hedgehog
, tasty-quickcheck
, time
other-modules: Test.Cardano.Api.Crypto
Test.Cardano.Api.Genesis
Test.Cardano.Api.Json
Test.Cardano.Api.KeysByron
Test.Cardano.Api.Ledger
Test.Cardano.Api.Metadata
Test.Cardano.Api.Typed.Address
Test.Cardano.Api.Typed.Bech32
Test.Cardano.Api.Typed.CBOR
Test.Cardano.Api.Typed.Envelope
Test.Cardano.Api.Typed.JSON
Test.Cardano.Api.Typed.Ord
Test.Cardano.Api.Typed.Orphans
Test.Cardano.Api.Typed.RawBytes
Test.Cardano.Api.Typed.Script
Test.Cardano.Api.Typed.TxBody
Test.Cardano.Api.Typed.Value
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T