This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnarkl.cabal
270 lines (250 loc) · 6.35 KB
/
snarkl.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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
name: snarkl
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
synopsis: Snarkl: An Embedded DSL for Verifiable Computing
description: Snarkl: An Embedded DSL for Verifiable Computing
homepage: https://github.com/gstew5/snarkl
license: BSD3
license-file: LICENSE
author: Gordon Stewart
maintainer: [email protected]
category: Language
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/gstew5/snarkl
library
ghc-options:
-Wall -Wredundant-constraints -Werror -funbox-strict-fields
-optc-O3
-- -threaded
exposed-modules:
Control.Monad.Supply
Control.Monad.Supply.Class
Data.JSONLines
Snarkl.AST
Snarkl.AST.Expr
Snarkl.AST.LambdaExpr
Snarkl.AST.SyntaxMonad
Snarkl.AST.TExpr
Snarkl.AST.Type
Snarkl.Backend.R1CS
Snarkl.Backend.R1CS.Poly
Snarkl.Backend.R1CS.R1CS
Snarkl.CLI
Snarkl.CLI.Common
Snarkl.Common
Snarkl.Compile
Snarkl.Constraint
Snarkl.Constraint.Constraints
Snarkl.Constraint.Dataflow
Snarkl.Constraint.Simplify
Snarkl.Constraint.SimplMonad
Snarkl.Constraint.Solve
Snarkl.Constraint.UnionFind
Snarkl.Errors
Snarkl.Field
Snarkl.Interp
Snarkl.Language.Matrix
Snarkl.Language.Prelude
Snarkl.Language.Vector
Snarkl.Toplevel
other-modules:
Snarkl.CLI.Compile
Snarkl.CLI.GenWitness
Snarkl.CLI.RunAll
default-extensions:
BangPatterns
DataKinds
DeriveDataTypeable
DeriveGeneric
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
KindSignatures
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
OverloadedStrings
PatternSynonyms
PolyKinds
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeSynonymInstances
UndecidableInstances
build-depends:
aeson
, base >=4.7
, bytestring
, Cabal >=1.22
, containers >=0.5 && <0.7
, directory
, filepath
, fin
, galois-field >=1.0.4
, hspec >=2.0
, lens
, mtl >=2.2 && <2.3
, optparse-applicative
, parallel >=3.2 && <3.3
, process >=1.2
, string-conversions
, wl-pprint-text
hs-source-dirs: src
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Snarkl.Example.Basic
Snarkl.Example.Games
Snarkl.Example.Keccak
Snarkl.Example.Lam
Snarkl.Example.List
Snarkl.Example.Matrix
Snarkl.Example.Peano
Snarkl.Example.Queue
Snarkl.Example.Stack
Snarkl.Example.Tree
Test.ArkworksBridge
Test.Snarkl.DataflowSpec
Test.Snarkl.LambdaSpec
Test.Snarkl.Unit.Programs
Test.Snarkl.UnitSpec
Test.UnionFindSpec
default-extensions:
DataKinds
GADTs
KindSignatures
RankNTypes
ScopedTypeVariables
hs-source-dirs: tests examples
default-language: Haskell2010
build-depends:
base >=4.7
, bytestring
, Cabal >=1.22
, containers >=0.5 && <0.6
, criterion >=1.0
, galois-field >=1.0.4
, hspec >=2.0
, mtl >=2.2 && <2.3
, parallel >=3.2 && <3.3
, process >=1.2
, QuickCheck
, snarkl >=0.1.0.0
benchmark criterion
type: exitcode-stdio-1.0
main-is: Main.hs
ghc-options: -threaded -O2
other-modules:
Harness
Snarkl.Example.Basic
Snarkl.Example.Games
Snarkl.Example.Keccak
Snarkl.Example.Lam
Snarkl.Example.List
Snarkl.Example.Matrix
Snarkl.Example.Peano
Snarkl.Example.Queue
Snarkl.Example.Stack
Snarkl.Example.Tree
Test.ArkworksBridge
default-extensions:
BangPatterns
DataKinds
FlexibleContexts
FlexibleInstances
GADTs
KindSignatures
RankNTypes
ScopedTypeVariables
TypeFamilies
TypeSynonymInstances
UndecidableInstances
hs-source-dirs: benchmarks examples tests
default-language: Haskell2010
build-depends:
base >=4.7
, bytestring
, Cabal >=1.22
, containers >=0.5 && <0.6
, criterion >=1.0
, galois-field >=1.0.4
, hspec >=2.0
, mtl >=2.2 && <2.3
, parallel >=3.2 && <3.3
, process >=1.2
, snarkl >=0.1.0.0
executable print-examples
main-is: Main.hs
other-modules:
Snarkl.Example.Basic
Snarkl.Example.Games
Snarkl.Example.Keccak
Snarkl.Example.Lam
Snarkl.Example.List
Snarkl.Example.Matrix
Snarkl.Example.Peano
Snarkl.Example.Queue
Snarkl.Example.Stack
Snarkl.Example.Tree
Test.Snarkl.Unit.Programs
default-extensions:
DataKinds
GADTs
KindSignatures
RankNTypes
ScopedTypeVariables
hs-source-dirs: print-examples examples tests
default-language: Haskell2010
build-depends:
base >=4.7
, containers
, galois-field >=1.0.4
, hspec >=2.0
, snarkl >=0.1.0.0
, wl-pprint-text
executable snarkl
main-is: Main.hs
other-modules:
Snarkl.Example.Basic
Snarkl.Example.Games
Snarkl.Example.Keccak
Snarkl.Example.Lam
Snarkl.Example.List
Snarkl.Example.Matrix
Snarkl.Example.Peano
Snarkl.Example.Queue
Snarkl.Example.Stack
Snarkl.Example.Tree
Test.Snarkl.Unit.Programs
default-extensions:
DataKinds
GADTs
KindSignatures
RankNTypes
ScopedTypeVariables
hs-source-dirs: app examples tests
default-language: Haskell2010
build-depends:
base >=4.7
, bytestring
, containers
, galois-field >=1.0.4
, hspec >=2.0
, snarkl >=0.1.0.0