-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.yaml
94 lines (85 loc) · 1.94 KB
/
package.yaml
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
name: schnorr-nizk
version: 0.3.0
synopsis: An implementation of the Schnorr protocol
description: An implementation of the Schnorr protocol
maintainer: Adjoint Inc ([email protected])
license: Apache
github: adjoint-io/schnorr-nizk
category: Cryptography
extra-source-files:
- README.md
flags:
static:
description: Emit statically-linked binary
manual: False
default: False
optimized:
description: Perform compiler optimizations
manual: False
default: False
dependencies:
# Prelude
- base >= 4.7 && < 5
- protolude >= 0.2
- cryptonite
- bytestring
- random
- memory
library:
source-dirs: src
ghc-options:
-fwarn-tabs
-fwarn-incomplete-patterns
-fwarn-incomplete-record-updates
-fwarn-redundant-constraints
-fwarn-implicit-prelude
-fwarn-overflowed-literals
-fwarn-orphans
-fwarn-identities
-fwarn-dodgy-exports
-fwarn-dodgy-imports
-fwarn-duplicate-exports
-fwarn-overlapping-patterns
-fwarn-missing-fields
-fwarn-missing-methods
-fwarn-missing-signatures
-fwarn-noncanonical-monad-instances
-fwarn-unused-pattern-binds
-fwarn-unused-type-patterns
-fwarn-unrecognised-pragmas
-fwarn-wrong-do-bind
-fno-warn-name-shadowing
-fno-warn-unused-binds
-fno-warn-unused-matches
-fno-warn-unused-do-bind
default-extensions:
- LambdaCase
- RecordWildCards
- OverloadedStrings
- NoImplicitPrelude
- FlexibleInstances
exposed-modules:
- Schnorr
- Schnorr.Curve
- Schnorr.Curve25519
- Schnorr.Internal
tests:
schnorr-nizk-test:
main: Main.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- schnorr-nizk
- QuickCheck
- tasty
- tasty-hunit
- tasty-quickcheck
default-extensions:
- LambdaCase
- RecordWildCards
- OverloadedStrings
- NoImplicitPrelude
- FlexibleInstances