-
Notifications
You must be signed in to change notification settings - Fork 34
/
cardano-crypto.cabal
143 lines (135 loc) · 4.83 KB
/
cardano-crypto.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
name: cardano-crypto
version: 1.1.3
synopsis: Cryptography primitives for cardano
description:
homepage: https://github.com/input-output-hk/cardano-crypto#readme
license: MIT
license-file: LICENSE
author: Vincent Hanquez
maintainer: [email protected]
copyright: 2016-2021 IOHK
category: Crypto
build-type: Simple
extra-source-files: README.md
cbits/*.h
cbits/ed25519/*.h
cabal-version: >=1.10
flag golden-tests
description: compile the golden tests and run them
default: False
manual: True
flag golden-tests-exe
description: compile the golden test binary allowing to generate pretty markdown output
default: False
manual: True
library
hs-source-dirs: src
exposed-modules: Cardano.Crypto.Wallet
Cardano.Crypto.Wallet.Encrypted
Cardano.Crypto.Wallet.Types
Cardano.Crypto.Wallet.Pure
Cardano.Crypto.Encoding.BIP39
Cardano.Crypto.Encoding.Seed
Crypto.Math.Edwards25519
Crypto.Math.Bits
Crypto.Math.Bytes
Crypto.Math.NatMath
Crypto.ECC.Ed25519Donna
Crypto.ECC.Ed25519BIP32
Crypto.Encoding.BIP39
Crypto.Encoding.BIP39.Dictionary
Crypto.Encoding.BIP39.English
Cardano.Internal.Compat
build-depends: base >= 4.7 && < 5
, memory
, deepseq
, bytestring
, basement
, foundation
, crypton >= 0.22
, hashable
, integer-gmp
default-language: Haskell2010
C-sources: cbits/ed25519/ed25519.c
cbits/encrypted_sign.c
include-dirs: cbits/ed25519 cbits
default-extensions: GeneralizedNewtypeDeriving
ghc-options: -Wall
cc-options: -Wall -Wno-unused-function
if impl(ghc >= 8.6)
default-extensions: NoStarIsType
test-suite cardano-crypto-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Test.Crypto
Test.Crypto.Encoding
Test.Crypto.Encoding.BIP39
Test.Cardano
Test.Cardano.Crypto
Test.Cardano.Crypto.Encoding
Test.Cardano.Crypto.Encoding.Seed
Utils
build-depends: base
, bytestring
, memory
, crypton
, cardano-crypto
, basement
, foundation
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
test-suite cardano-crypto-golden-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: GoldenTest.hs
other-modules: Test.Orphans
build-depends: base
, basement
, foundation
, memory
, bytestring
, crypton
, cardano-crypto
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-extensions: NoImplicitPrelude
default-language: Haskell2010
if flag(golden-tests)
build-depends: inspector
buildable: True
else
buildable: False
executable golden-tests
hs-source-dirs: test
main-is: GoldenTest.hs
other-modules: Test.Orphans
if flag(golden-tests-exe)
build-depends: inspector
buildable: True
else
buildable: False
build-depends: base
, basement
, foundation
, memory
, bytestring
, crypton
, cardano-crypto
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-extensions: NoImplicitPrelude
default-language: Haskell2010
benchmark cardano-crypto-bench
type: exitcode-stdio-1.0
hs-source-dirs: benchs
Main-is: Bench.hs
build-depends: base
, bytestring
, memory
, crypton
, cardano-crypto
, gauge
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/input-output-hk/cardano-crypto