forked from acid-state/acid-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacid-state.cabal
133 lines (123 loc) · 3.69 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
Name: acid-state
Version: 0.14.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: http://acid-state.seize.it/
License: PublicDomain
Author: David Himmelstrup
Maintainer: Lemmih <lemmih@gmail.com>
-- Copyright:
Category: Database
Build-type: Simple
Cabal-version: >=1.10
tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
Extra-source-files:
CHANGELOG.md
examples/*.hs
examples/errors/*.hs
src-win32/*.hs
src-unix/*.hs
Source-repository head
type: git
location: https://github.com/acid-state/acid-state
Library
if impl (ghcjs)
Exposed-Modules: Data.Acid,
Data.Acid.Local, Data.Acid.Memory,
Data.Acid.Memory.Pure,
Data.Acid.Advanced,
Data.Acid.Log, Data.Acid.CRC,
Data.Acid.Abstract, Data.Acid.Core
else
Exposed-Modules: Data.Acid,
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
Other-modules: Data.Acid.Archive,
Paths_acid_state,
Data.Acid.TemplateHaskell, Data.Acid.Common, FileIO
if impl (ghcjs)
Build-depends: array,
base >= 4 && < 5,
bytestring >= 0.10.2,
cereal >= 0.4.1.0,
containers,
extensible-exceptions,
safecopy >= 0.6,
stm >= 2.4,
directory,
filepath,
mtl,
template-haskell
else
Build-depends: array,
base >= 4 && < 5,
bytestring >= 0.10.2,
cereal >= 0.4.1.0,
containers,
extensible-exceptions,
safecopy >= 0.6,
stm >= 2.4,
directory,
filepath,
mtl,
network,
template-haskell
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: -fwarn-unused-imports -fwarn-unused-binds
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,
criterion >= 0.8 && < 1.2,
mtl,
base,
acid-state
default-language:
Haskell2010
default-extensions:
PatternGuards
GADTs
StandaloneDeriving
MultiParamTypeClasses
ScopedTypeVariables
FlexibleInstances
TypeFamilies
TypeOperators
FlexibleContexts
NoImplicitPrelude
EmptyDataDecls
DataKinds
NoMonomorphismRestriction
RankNTypes
ConstraintKinds
DefaultSignatures
TupleSections
TemplateHaskell
OverloadedStrings
DeriveDataTypeable
ghc-options:
-O2