-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzkfold-prover-api.cabal
110 lines (105 loc) · 2.96 KB
/
zkfold-prover-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
cabal-version: 3.0
name: zkfold-prover-api
version: 0.1.0.0
synopsis: ZkFold's prover backend API for constructing ZK proofs
homepage: https://zkfold.io/
license: MIT
license-file: LICENSE
author: Vardominator, Murat Kasimov, Ilya Barishnikov, Vladimir Sinyakov
maintainer: [email protected]
build-type: Simple
extra-doc-files: CHANGELOG.md
Flag Pedantic
Description: Enable pedantic build with -Werror
Manual: True
Default: False
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
-O2
if flag(pedantic)
ghc-options:
-Werror
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,
NoStarIsType,
NumericUnderscores,
OverloadedStrings,
OverloadedLabels,
PolyKinds,
RankNTypes,
RecordWildCards,
ScopedTypeVariables,
StandaloneDeriving,
StandaloneKindSignatures,
TupleSections,
TypeApplications,
TypeFamilies,
ViewPatterns
library
import: options
exposed-modules: ZkFold.Prover.API.Server
, ZkFold.Prover.API.Types.Args
, ZkFold.Prover.API.Types.ZkProof
build-depends: base ^>=4.18.1.0 && <5
, servant
, servant-server
, servant-swagger
, servant-swagger-ui
, swagger2
, aeson
, bytestring
, text
, lens
, deepseq
, generic-deriving
, QuickCheck
, cryptohash-sha256
, base64-bytestring
, warp
, katip
, zkfold-base
hs-source-dirs: src
executable zkfold-prover-api
import: options
main-is: Main.hs
build-depends: base ^>=4.18.1.0 && <5
, zkfold-prover-api
, aeson
, bytestring
, base64-bytestring
, text
, warp
, katip
hs-source-dirs: app