-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharithmetic-circuits.cabal
255 lines (209 loc) · 5.66 KB
/
arithmetic-circuits.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
cabal-version: 3.0
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: b73ab8e6731b0ff5f4b4c0c9bd39948780d65c323746630293312288b155475e
name: arithmetic-circuits
version: 0.2.0
synopsis: Arithmetic circuits for zkSNARKs
description: Arithmetic circuits for zkSNARKs
category: Cryptography
homepage: https://github.com/adjoint-io/arithmetic-circuits#readme
bug-reports: https://github.com/adjoint-io/arithmetic-circuits/issues
maintainer: Adjoint Inc ([email protected])
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/l-adic/arithmetic-circuits
common extensions
default-extensions:
NoImplicitPrelude
GADTs
LambdaCase
OverloadedStrings
DataKinds
DeriveAnyClass
DerivingVia
RecordWildCards
common warnings
ghc-options: -Wall -Wredundant-constraints -Werror
common deps
build-depends:
aeson >=1.4
, base >=4.10 && <5
, binary >=0.8.9 && <0.9
, containers >=0.6.0
, filepath >=1.4.2
, finite-typelits >=0.1.0
, galois-field >=2.0.0
, propagators
, protolude >=0.2
, semirings >=0.7
, text >=1.2.3
, wl-pprint-text >=1.2.0
library
import: deps, extensions, warnings
exposed-modules:
Circuit
Circuit.Affine
Circuit.Arithmetic
Circuit.Dataflow
Circuit.Dot
Circuit.Primes
Circuit.Solver
R1CS
Fresh
other-modules: Paths_arithmetic_circuits
hs-source-dirs: circuit/src
ghc-options: -freverse-errors -O2 -Wall
default-language: GHC2021
library language
import: deps, extensions, warnings
visibility: public
exposed-modules:
Circuit.Language.Compile
Circuit.Language.Expr
Circuit.Language.DSL
Circuit.Language
hs-source-dirs: language/src
build-depends:
arithmetic-circuits
, array
, hashable
, microlens
, mtl
, unordered-containers
, vector
, vector-sized
ghc-options: -freverse-errors -O2 -Wall
default-language: GHC2021
library circom-compat
import: deps, extensions, warnings
visibility: public
exposed-modules:
FNV
Circom.CLI
Circom.Solver
Circom.R1CS
other-modules: Paths_arithmetic_circuits
hs-source-dirs: circom-compat/src
build-depends:
arithmetic-circuits
, arithmetic-circuits:language
, bytestring
, errors
, optparse-applicative
, vector
ghc-options: -freverse-errors -O2 -Wall
default-language: GHC2021
test-suite language-tests
import: deps, extensions
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Test.Circuit.Expr
Test.Circuit.Sudoku
Test.Circuit.Lang
Test.Circuit.SHA3
hs-source-dirs: language/test
ghc-options: -freverse-errors -O2 -Wall -main-is Main
build-depends:
arithmetic-circuits
, arithmetic-circuits:language
, array
, distributive
, fin
, microlens
, quickcheck-instances >=0.3
, QuickCheck
, random
, hspec
, tasty >=1.2
, tasty-hunit >=0.10
, tasty-hspec
, tasty-quickcheck >=0.10
, vec
, vector
, vector-sized
, crypton
, bytestring
, memory
, unordered-containers
build-tool-depends: tasty-discover:tasty-discover >=4.2
default-language: GHC2021
executable factors
import: warnings, extensions, deps
main-is: Main.hs
build-depends:
arithmetic-circuits
, arithmetic-circuits:language
, arithmetic-circuits:circom-compat
, vector
hs-source-dirs: circom-compat/app
default-language: GHC2021
ghc-options: -freverse-errors -O2 -Wall -main-is Main
test-suite circuit-tests
import: deps, extensions
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Paths_arithmetic_circuits
Test.Circuit.Affine
Test.Circuit.Arithmetic
Test.Circuit.R1CS
hs-source-dirs: circuit/test
ghc-options: -freverse-errors -O2 -Wall -main-is Main
build-depends:
arithmetic-circuits
, array
, quickcheck-instances >=0.3
, QuickCheck
, random
, hspec
, tasty >=1.2
, tasty-hunit >=0.10
, tasty-hspec
, tasty-quickcheck >=0.10
build-tool-depends: tasty-discover:tasty-discover >=4.2
default-language: GHC2021
test-suite circom-compat-tests
import: deps, extensions, warnings
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Paths_arithmetic_circuits
Test.Circom.R1CS
hs-source-dirs: circom-compat/test
ghc-options: -freverse-errors -O2 -Wall -main-is Main
build-depends:
arithmetic-circuits
, arithmetic-circuits:circom-compat
, quickcheck-instances >=0.3
, tasty >=1.2
, tasty-hspec
, tasty-quickcheck >=0.10
, hspec
, QuickCheck
build-tool-depends: tasty-discover:tasty-discover >=4.2
default-language: GHC2021
benchmark circuit-benchmarks
import: deps, extensions, warnings
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Circuit.Bench
Paths_arithmetic_circuits
hs-source-dirs: bench
ghc-options: -freverse-errors -O4 -Wall -main-is Main
build-depends:
arithmetic-circuits
, arithmetic-circuits:language
, criterion
, vector
default-language: GHC2021