forked from zkFold/symbolic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzkfold-base.cabal
163 lines (155 loc) · 4.87 KB
/
zkfold-base.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
cabal-version: 3.0
name: zkfold-base
version: 0.1.0.0
license: MIT
license-file: LICENSE
author: Vladimir Sinyakov
maintainer: [email protected]
build-type: Simple
common options
default-language: Haskell2010
ghc-options:
-fwarn-redundant-constraints
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
-Wpartial-fields
-Wredundant-constraints
default-extensions:
BangPatterns,
BinaryLiterals,
ConstraintKinds,
DataKinds,
DefaultSignatures,
DeriveDataTypeable,
DeriveFoldable,
DeriveFunctor,
DeriveGeneric,
DeriveTraversable,
ExistentialQuantification,
FlexibleContexts,
FlexibleInstances,
FunctionalDependencies,
GADTs,
GeneralizedNewtypeDeriving,
InstanceSigs,
KindSignatures,
LambdaCase,
MultiParamTypeClasses,
MultiWayIf,
NamedFieldPuns,
NoImplicitPrelude,
NumericUnderscores,
OverloadedStrings,
PolyKinds,
RankNTypes,
RecordWildCards,
ScopedTypeVariables,
StandaloneDeriving,
StandaloneKindSignatures,
TupleSections,
TypeFamilies,
ViewPatterns
library
import: options
exposed-modules:
ZkFold.Base.Algebra.Basic.Class
ZkFold.Base.Algebra.Basic.Field
ZkFold.Base.Algebra.Basic.Permutations
ZkFold.Base.Algebra.EllipticCurve.BLS12_381
ZkFold.Base.Algebra.EllipticCurve.Class
ZkFold.Base.Algebra.Polynomials.Multivariate
ZkFold.Base.Algebra.Polynomials.Multivariate.Internal
ZkFold.Base.Algebra.Polynomials.Univariate
ZkFold.Base.Data.ByteString
ZkFold.Base.Protocol.ARK.BabyHyrax
ZkFold.Base.Protocol.ARK.HyperPlonk
ZkFold.Base.Protocol.ARK.Lasso
ZkFold.Base.Protocol.ARK.Nova
ZkFold.Base.Protocol.ARK.Plonk
ZkFold.Base.Protocol.ARK.Plonk.Internal
ZkFold.Base.Protocol.Commitment.KZG
ZkFold.Base.Protocol.Commitment.Sona
ZkFold.Base.Protocol.NonInteractiveProof
ZkFold.Prelude
ZkFold.Symbolic.Arithmetization
ZkFold.Symbolic.Cardano.Types
ZkFold.Symbolic.Cardano.Types.Script
ZkFold.Symbolic.Cardano.Types.Tx
ZkFold.Symbolic.Compiler
ZkFold.Symbolic.Data.Bool
ZkFold.Symbolic.Data.Conditional
ZkFold.Symbolic.Data.Eq
ZkFold.Symbolic.Data.List
ZkFold.Symbolic.Data.Ord
ZkFold.Symbolic.Data.UInt
ZkFold.Symbolic.GroebnerBasis
ZkFold.Symbolic.GroebnerBasis.Internal
ZkFold.Symbolic.GroebnerBasis.Internal.Reduction
ZkFold.Symbolic.GroebnerBasis.Internal.Types
ZkFold.Symbolic.GroebnerBasis.Types
ZkFold.Symbolic.Types
build-depends:
base >= 4.9 && < 5,
aeson ,
bytestring ,
containers ,
cryptohash-sha256 ,
fixed-length ,
mtl ,
non-empty ,
pretty-simple ,
QuickCheck ,
random ,
tfp ,
hs-source-dirs: src
test-suite zkfold-base-test
import: options
type: exitcode-stdio-1.0
ghc-options: -rtsopts
main-is: Main.hs
other-modules:
Tests.Arithmetization
Tests.Arithmetization.Test1
Tests.Arithmetization.Test2
Tests.Arithmetization.Test3
Tests.Field
Tests.GroebnerBasis
Tests.Group
Tests.NonInteractiveProof
Tests.Pairing
Tests.Permutations
Tests.Plonk
Tests.Scripts.LockedByTxId
Tests.Univariate
build-depends:
base >= 4.9 && < 5,
containers ,
hspec ,
QuickCheck ,
zkfold-base ,
hs-source-dirs: tests
test-suite zkfold-base-examples
import: options
type: exitcode-stdio-1.0
ghc-options: -rtsopts
main-is: Main.hs
other-modules:
Examples.Eq
Examples.Fibonacci
Examples.LEQ
Examples.MiMCHash
Examples.MiMC.Constants
Examples.VestingScript
build-depends:
base >= 4.9 && < 5,
containers ,
cryptohash-sha256 ,
directory ,
fixed-length ,
tfp ,
zkfold-base ,
hs-source-dirs: examples