-
Notifications
You must be signed in to change notification settings - Fork 155
/
cardano-ledger-mary.cabal
147 lines (132 loc) · 4.29 KB
/
cardano-ledger-mary.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
cabal-version: 3.0
name: cardano-ledger-mary
version: 1.5.1.1
license: Apache-2.0
maintainer: operations@iohk.io
author: IOHK
bug-reports: https://github.com/intersectmbo/cardano-ledger/issues
synopsis: Cardano ledger with multiasset support.
description:
This package extends the Allegra ledger with support for
native tokens.
category: Network
build-type: Simple
data-files:
cddl-files/mary.cddl
cddl-files/crypto.cddl
cddl-files/extras.cddl
extra-source-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/intersectmbo/cardano-ledger
subdir: eras/mary/impl
flag asserts
description: Enable assertions
default: False
library
exposed-modules:
Cardano.Ledger.Mary
Cardano.Ledger.Mary.Core
Cardano.Ledger.Mary.Transition
Cardano.Ledger.Mary.Translation
Cardano.Ledger.Mary.TxBody
Cardano.Ledger.Mary.TxOut
Cardano.Ledger.Mary.UTxO
Cardano.Ledger.Mary.Value
hs-source-dirs: src
other-modules:
Cardano.Ledger.Mary.Era
Cardano.Ledger.Mary.PParams
Cardano.Ledger.Mary.Scripts
Cardano.Ledger.Mary.Tx
Cardano.Ledger.Mary.TxAuxData
Cardano.Ledger.Mary.TxCert
Cardano.Ledger.Mary.TxSeq
Cardano.Ledger.Mary.TxWits
Cardano.Ledger.Mary.Rules
Cardano.Ledger.Mary.Rules.Bbody
Cardano.Ledger.Mary.Rules.Deleg
Cardano.Ledger.Mary.Rules.Delegs
Cardano.Ledger.Mary.Rules.Delpl
Cardano.Ledger.Mary.Rules.Pool
Cardano.Ledger.Mary.Rules.Ppup
Cardano.Ledger.Mary.Rules.Ledger
Cardano.Ledger.Mary.Rules.Ledgers
Cardano.Ledger.Mary.Rules.Utxo
Cardano.Ledger.Mary.Rules.Utxow
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields
-Wunused-packages
build-depends:
base >=4.14 && <5,
bytestring,
base16-bytestring,
aeson >=2.2,
cardano-crypto-class,
cardano-data ^>=1.2,
cardano-ledger-allegra ^>=1.4.1,
cardano-ledger-binary ^>=1.3,
cardano-ledger-core ^>=1.12,
cardano-ledger-shelley ^>=1.10,
containers,
deepseq,
groups,
microlens,
nothunks,
primitive,
cardano-strict-containers,
text
if flag(asserts)
ghc-options: -fno-ignore-asserts
library testlib
exposed-modules:
Test.Cardano.Ledger.Mary.Arbitrary
Test.Cardano.Ledger.Mary.Binary.Cddl
Test.Cardano.Ledger.Mary.ImpTest
Test.Cardano.Ledger.Mary.TreeDiff
visibility: public
hs-source-dirs: testlib
other-modules: Paths_cardano_ledger_mary
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields
-Wunused-packages
build-depends:
base,
bytestring,
containers,
cardano-data:testlib,
cardano-crypto-class,
cardano-ledger-binary:testlib,
cardano-ledger-core:{cardano-ledger-core, testlib},
cardano-ledger-mary,
cardano-ledger-allegra:testlib,
cardano-ledger-shelley:{cardano-ledger-shelley, testlib},
cardano-strict-containers
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
Test.Cardano.Ledger.Mary.BinarySpec
Test.Cardano.Ledger.Mary.Binary.CddlSpec
Test.Cardano.Ledger.Mary.ValueSpec
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wpartial-fields
-Wunused-packages -threaded -rtsopts -with-rtsopts=-N
build-depends:
base,
base16-bytestring,
bytestring,
cardano-data:{cardano-data, testlib},
cardano-ledger-binary:testlib,
cardano-ledger-core:{cardano-ledger-core, testlib},
cardano-ledger-mary,
cardano-ledger-shelley:testlib,
data-default-class,
testlib