riak-1.0.0.0: riak.cabal
name: riak
version: 1.0.0.0
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/markhibberd/riak-haskell-client
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
cabal-version: >=1.8
source-repository head
type: git
location: https://github.com:markhibberd/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 && < 0.11,
attoparsec >= 0.12.1.6 && < 0.14,
base >= 3 && <5,
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.5,
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.3,
pureMD5,
random,
random-shuffle >= 0.0.4 && < 0.1,
riak-protobuf == 0.21.*,
semigroups >= 0.16,
text == 1.2.*,
time >= 1.4.2 && < 1.6,
vector >= 0.10.12.3 && < 0.12,
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
ghc-options: -Wall
if flag(test2i)
cpp-options: -DTEST2I
other-modules:
Properties
CRDTProperties
Common
build-depends:
base,
riak,
bytestring,
containers,
HUnit,
QuickCheck,
tasty,
tasty-hunit,
tasty-quickcheck,
text,
mtl >= 2.1,
semigroups >= 0.16,
data-default-class >= 0.0.1
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