-
Notifications
You must be signed in to change notification settings - Fork 20
/
riak.cabal
191 lines (172 loc) · 6.58 KB
/
riak.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
name: riak
version: 1.1.2.3
synopsis: A Haskell client for the Riak decentralized data store
description:
A Haskell client library for the Riak decentralized data
store, designed for efficiency, ease of use, and flexibility. Uses
the Riak protocol buffers API for speed.
.
This library is organized to allow a tradeoff between power
and ease of use. If you would like a different degree of
automation with storage and conflict resolution, you may want to
use one of the following modules (ranked from easiest to most
tricky to use):
.
[Network.Riak] JSON for storage, automatic conflict resolution.
This is the easiest module to work with.
.
[Network.Riak.JSON] JSON for storage, manual conflict resolution.
.
[Network.Riak.Value.Resolvable] More complex (but still automatic)
storage, automatic conflict resolution.
.
[Network.Riak.Value] More complex (but still automatic) storage,
manual conflict resolution.
.
[Network.Riak.Basic] manual storage, manual conflict resolution.
This is the most demanding module to work with, as you must encode
and decode data yourself, and handle all conflict resolution
yourself
.
[Network.Riak.CRDT] CRDT operations.
homepage: http://github.com/riak-haskell-client/riak-haskell-client
Bug-reports: http://github.com/riak-haskell-client/riak-haskell-client/issues
license: OtherLicense
license-file: LICENSE
author: Bryan O'Sullivan <bos@serpentine.com>
maintainer: Mark Hibberd <mark@hibberd.id.au>, Nathan Hunter <nhunter@janrain.com>, Tim McGilchrist <timmcgil@gmail.com>
copyright: Copyright 2011 MailRank, Inc.
Portions copyright 2007-2010 Basho Technologies, Inc.
category: Network
build-type: Simple
extra-source-files:
README.markdown
Changes.md
tests/test.yaml
cabal-version: >=1.8
source-repository head
type: git
location: https://github.com:riak-haskell-client/riak-haskell-client.git
flag debug
description: allow debug logging
default: True
flag developer
description: operate in developer mode
default: False
manual: True
flag test2i
description: test secondary indexes (requires default riak engine to have that support)
default: False
library
hs-source-dirs: src
exposed-modules:
Network.Riak
Network.Riak.Basic
Network.Riak.Cluster
Network.Riak.Connection
Network.Riak.Connection.Internal
Network.Riak.Connection.Pool
Network.Riak.Content
Network.Riak.CRDT
Network.Riak.CRDT.Ops
Network.Riak.CRDT.Request
Network.Riak.CRDT.Response
Network.Riak.CRDT.Riak
Network.Riak.CRDT.Types
Network.Riak.Debug
Network.Riak.Escape
Network.Riak.Functions
Network.Riak.JSON
Network.Riak.JSON.Resolvable
Network.Riak.Request
Network.Riak.Resolvable
Network.Riak.Response
Network.Riak.Search
Network.Riak.Types
Network.Riak.Value
Network.Riak.Value.Resolvable
Network.Riak.Types.Internal
other-modules:
Network.Riak.Connection.NoPush
Network.Riak.Resolvable.Internal
Network.Riak.Tag
build-depends:
aeson >= 0.8 && < 1.3,
async >= 2.0.0.0 && < 2.2,
attoparsec >= 0.12.1.6 && < 0.14,
base >= 3 && < 5,
bifunctors >= 4.2 && < 6,
binary,
blaze-builder >= 0.3 && <= 0.5,
bytestring,
containers,
data-default-class >= 0.0.1,
deepseq >= 1.3,
enclosed-exceptions >= 1.0.1.1 && <= 1.1,
exceptions >= 0.8.0.2 && <= 0.9,
hashable >= 1.2.3,
transformers >= 0.3 && < 0.6,
transformers-base == 0.4.*,
mersenne-random-pure64 >= 0.2.0.4 && < 0.3,
monad-control >= 1.0.0.4 && < 1.1,
network >= 2.3,
resource-pool == 0.2.*,
protocol-buffers >= 2.1.4 && < 2.5,
pureMD5,
random,
riak-protobuf == 0.23.*,
semigroups >= 0.16,
stm == 2.4.*,
text == 1.2.*,
time >= 1.4.2 && < 1.9,
vector >= 0.10.12.3 && < 0.13,
unordered-containers >= 0.2.5
if flag(debug)
cpp-options: -DASSERTS -DDEBUG
if flag(developer)
ghc-options: -Wall
ghc-prof-options: -auto-all
cpp-options: -DASSERTS -DDEBUG
ghc-options: -Wall
test-suite test
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: tests, tests/dsl
ghc-options: -Wall -threaded
if flag(test2i)
cpp-options: -DTEST2I
other-modules:
CRDTProperties
Internal
Utils
Network.Riak.Admin.DSL
Properties
build-depends:
base,
riak,
riak-protobuf,
aeson,
bytestring,
containers,
HUnit,
process,
QuickCheck,
tasty,
tasty-hunit,
tasty-quickcheck,
template-haskell,
text,
mtl >= 2.1,
semigroups >= 0.16,
data-default-class >= 0.0.1,
yaml >= 0.8.19
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Main.hs
build-depends:
base,
riak,
criterion >= 1.1,
bytestring >= 0.10,
semigroups >= 0.16