-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.yaml
More file actions
100 lines (87 loc) · 2.01 KB
/
package.yaml
File metadata and controls
100 lines (87 loc) · 2.01 KB
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
name: pedersen-commitment
version: 0.1.0
synopsis: An implementation of the Mutually Independent Commitment Schemes
maintainer: Adjoint Inc (info@adjoint.io)
license: Apache
github: adjoint-io/pedersen-commitment
category: Development
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
# Data Structures
- containers
# Text
- text
- bytestring
- mtl >= 2.2
# Cryptograhy
- cryptonite >= 0.21
- 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
when:
- condition: os(linux) && flag(static)
ghc-options: -static -optl-static
- condition: flag(optimized)
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2
exposed-modules:
- PrimeField
- Pedersen
- MICP.Internal
- MICP
tests:
test-suite:
dependencies:
- base >= 4.7 && < 5
- pedersen-commitment
- protolude
- QuickCheck
- tasty
- tasty-hunit
- tasty-quickcheck
main: Main.hs
source-dirs: tests, example
other-modules: Example