-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
141 lines (136 loc) · 3.38 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
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
# This YAML file describes your package. Stack will automatically generate a
# Cabal file when you run `stack build`. See the hpack website for help with
# this file: <https://github.com/sol/hpack>.
name: lithium
version: '0.0.0'
github: "eth-r/lithium"
license: PublicDomain
author: "Promethea Raschke"
maintainer: "Promethea Raschke"
synopsis: "Cryptography that's slightly less likely to blow up on you"
description: "Lithium is a Libsodium wrapper aiming to remove all unnecessary and dangerous choices"
category: Crypto
extra-libraries:
- sodium
extra-source-files:
- CHANGELOG.md
- LICENSE
- package.yaml
- README.md
- stack.yaml
library:
default-extensions:
- DataKinds
- GeneralizedNewtypeDeriving
- MultiParamTypeClasses
- NoImplicitPrelude
- OverloadedStrings
- ScopedTypeVariables
- TypeApplications
- TypeFamilies
- TypeOperators
ghc-options:
- -Wall
- -Werror
exposed-modules:
- Crypto.Lithium.Aead
- Crypto.Lithium.Auth
- Crypto.Lithium.Box
- Crypto.Lithium.Derive
- Crypto.Lithium.Hash
- Crypto.Lithium.Password
- Crypto.Lithium.Random
- Crypto.Lithium.SecretBox
- Crypto.Lithium.SecretStream
- Crypto.Lithium.ShortHash
- Crypto.Lithium.Sign
- Crypto.Lithium.Types
- Crypto.Lithium.Unsafe.Aead
- Crypto.Lithium.Unsafe.Auth
- Crypto.Lithium.Unsafe.Box
- Crypto.Lithium.Unsafe.Derive
- Crypto.Lithium.Unsafe.Hash
- Crypto.Lithium.Unsafe.KeyExchange
- Crypto.Lithium.Unsafe.OnetimeAuth
- Crypto.Lithium.Unsafe.Password
- Crypto.Lithium.Unsafe.SecretBox
- Crypto.Lithium.Unsafe.SecretStream
- Crypto.Lithium.Unsafe.ShortHash
- Crypto.Lithium.Unsafe.Sign
- Crypto.Lithium.Unsafe.Stream
- Crypto.Lithium.Unsafe.Types
other-modules:
- Crypto.Lithium.Internal.Aead
- Crypto.Lithium.Internal.Auth
- Crypto.Lithium.Internal.Box
- Crypto.Lithium.Internal.Derive
- Crypto.Lithium.Internal.Hash
- Crypto.Lithium.Internal.Init
- Crypto.Lithium.Internal.KeyExchange
- Crypto.Lithium.Internal.OnetimeAuth
- Crypto.Lithium.Internal.Password
- Crypto.Lithium.Internal.Random
- Crypto.Lithium.Internal.SecretBox
- Crypto.Lithium.Internal.SecretStream
- Crypto.Lithium.Internal.Sign
- Crypto.Lithium.Internal.Stream
- Crypto.Lithium.Internal.Util
- Crypto.Lithium.Util.Init
- Crypto.Lithium.Util.Phantom
- Crypto.Lithium.Util.Random
- Crypto.Lithium.Util.Secret
dependencies:
- base
- basement
- bytestring
- deepseq
- foundation
- memory
- sized-memory
benchmarks:
lithium-benchmarks:
source-dirs: bench
main: Main.hs
other-modules:
- BoxBench
- HashBench
- RandomBench
- SignBench
- BenchUtils
dependencies:
- base
- bytestring
- deepseq
- lithium
- memory
- criterion
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
- -O2
tests:
lithium-tests:
source-dirs: test
main: Main.hs
other-modules:
- AeadTest
- AuthTest
- BoxTest
- HashTest
- PasswordTest
- SecretBoxTest
- SignTest
- TestUtils
dependencies:
- base
- bytestring
- hspec
- lithium
- memory
- sized-memory
- QuickCheck
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N