forked from acid-state/acid-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acid-state.cabal
230 lines (212 loc) · 6.52 KB
/
acid-state.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
Name: acid-state
Version: 0.16.1.3
Synopsis: Add ACID guarantees to any serializable Haskell data structure.
Description: Use regular Haskell data structures as your database and get stronger ACID guarantees than most RDBMS offer.
Homepage: https://github.com/acid-state/acid-state
License: PublicDomain
Author: David Himmelstrup
Maintainer: Lemmih <lemmih@gmail.com>
-- Copyright:
Category: Database
Build-type: Simple
Cabal-version: >=1.10
tested-with:
GHC == 9.8.1
GHC == 9.6.3
GHC == 9.4.7
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
Extra-source-files:
CHANGELOG.md
test-state/OldStateTest1/*.log
test-state/OldStateTest1/*.version
test-state/OldStateTest2/*.log
test-state/OldStateTest2/*.version
test-state/OldStateTest3/*.log
test-state/OldStateTest3/*.version
Source-repository head
type: git
location: https://github.com/acid-state/acid-state
flag skip-state-machine-test
description: If enabled, do not build/run the state-machine test
default: False
manual: False
Library
Exposed-Modules: Data.Acid,
Data.Acid.Archive,
Data.Acid.Common,
Data.Acid.Local, Data.Acid.Memory,
Data.Acid.Memory.Pure, Data.Acid.Remote,
Data.Acid.Advanced,
Data.Acid.Log, Data.Acid.CRC,
Data.Acid.Abstract, Data.Acid.Core,
Data.Acid.TemplateHaskell
Data.Acid.Repair
Other-modules: Paths_acid_state,
FileIO
Build-depends: array,
base >= 4.7 && < 5,
bytestring >= 0.10.2,
cereal >= 0.4.1.0,
containers,
safecopy >= 0.6 && < 0.11,
stm >= 2.4,
directory,
filelock,
filepath,
mtl,
network < 3.2,
network-bsd,
template-haskell < 2.22,
th-expand-syns
if os(windows)
Build-depends: Win32
else
Build-depends: unix
Hs-Source-Dirs: src/
if os(windows)
Hs-Source-Dirs: src-win32/
else
Hs-Source-Dirs: src-unix/
default-language: Haskell2010
GHC-Options: -Wall
-fno-warn-dodgy-imports
-fno-warn-missing-signatures
-fno-warn-name-shadowing
-fno-warn-unused-do-bind
-fno-warn-unused-matches
if impl(ghc >= 8.0)
ghc-options: -Wcompat
executable acid-state-repair
hs-source-dirs: repair
build-depends: acid-state
, base
, directory
main-is: Main.hs
default-language: Haskell2010
test-suite specs
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, acid-state
, deepseq
, hspec
, hspec-discover
, mtl
, safecopy
, template-haskell
build-tool-depends: hspec-discover:hspec-discover
ghc-options: -threaded -rtsopts -with-rtsopts=-N
other-modules: Data.Acid.TemplateHaskellSpec
default-language: Haskell2010
test-suite state-machine
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: StateMachine.hs
build-depends: base
, acid-state
, containers
, deepseq >= 1.4.0.0
, directory
, hedgehog
, mtl
, safecopy
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
other-modules: Data.Acid.KeyValueStateMachine
Data.Acid.StateMachineTest
default-language: Haskell2010
default-extensions: TypeOperators
if flag(skip-state-machine-test)
buildable: False
test-suite examples
type: exitcode-stdio-1.0
hs-source-dirs: examples
examples/errors
main-is: Examples.hs
build-depends: base
, acid-state
, cereal
, containers
, directory
, mtl
, network
, safecopy
, text
, time
ghc-options: -threaded -rtsopts -with-rtsopts=-N
other-modules: ChangeState
ChangeVersion
CheckpointCutsEvent
Exceptions
HelloDatabase
HelloWorld
HelloWorldNoTH
KeyValue
KeyValueNoTH
MonadStateConstraint
ParameterisedState
RemoteClient
RemoteCommon
RemoteServer
RemoveEvent
SlowCheckpoint
StressTest
StressTestNoTH
if !os(windows)
other-modules: Proxy
default-language: Haskell2010
benchmark loading-benchmark
type:
exitcode-stdio-1.0
hs-source-dirs:
benchmarks/loading
main-is:
Benchmark.hs
other-modules:
Benchmark.FileSystem
Benchmark.Model
Benchmark.Prelude
build-depends:
random,
directory,
system-fileio == 0.3.*,
system-filepath,
-- perRunEnv was added in criterion-1.2.0.0
criterion >= 1.2.0.0 && < 1.7,
mtl,
base,
acid-state
default-language:
Haskell2010
default-extensions:
-- keep this list alphabetically sorted!
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
EmptyDataDecls
FlexibleContexts
FlexibleInstances
GADTs
MultiParamTypeClasses
NoImplicitPrelude
NoMonomorphismRestriction
OverloadedStrings
PatternGuards
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
TypeOperators
ghc-options:
-O2