packages feed

CurryDB-0.1.1.0: CurryDB.cabal

name:                CurryDB
version:             0.1.1.0
synopsis:            CurryDB: In-memory Key/Value Database
description:         CurryDB: Simple, Persistent, Polymorphic, Transactional, In-memory Key/Value Database
license:             BSD3
license-file:        LICENSE
author:              Hideyuki Tanaka
maintainer:          Hideyuki Tanaka <tanaka.hideyuki@gmail.com>
copyright:           (c) 2012, Hideyuki Tanaka
category:            Database
build-type:          Simple
cabal-version:       >=1.8

source-repository head
  type:              git
  location:          https://github.com/tanakh/CurryDB.git

library
  exposed-modules:   Database.Curry
                     Database.Curry.Binary
                     Database.Curry.Commands
                     Database.Curry.HashMap
                     Database.Curry.Storage
                     Database.Curry.Types
                     Database.Memcached
                     Database.Memcached.Commands
                     Database.Memcached.Server
                     Database.Redis
                     Database.Redis.Builder
                     Database.Redis.Commands
                     Database.Redis.Parser
                     Database.Redis.Server
                     Database.Redis.Types

  build-depends:     base >=4.5 && < 5
                   , bytestring >=0.9
                   , mtl >=2.1
                   , transformers >=0.3
                   , transformers-base >=0.4
                   , unordered-containers >=0.2.2
                   , containers >=0.4
                   , lens >=3.6
                   , conduit >=0.5
                   , time
                   , stm >=2.4
                   , monad-control >=0.3
                   , text >= 0.10
                   , attoparsec >=0.10
                   , attoparsec-conduit
                   , blaze-builder >=0.3
                   , blaze-textual
                   , network >=2.4
                   , network-conduit >=0.6.1.1
                   , data-default >=0.5
                   , monad-logger >=0.2
                   , fast-logger >=0.3
                   , template-haskell
                   , system-filepath >=0.4.7
                   , system-fileio >=0.3.10
                   , async >=2.0
                   , binary >=0.5
                   , lifted-base >=0.2
                   , hashable
                   , array

  ghc-prof-options:  -auto-all

executable curry-memcached
  hs-source-dirs:      memcached
  main-is:             main.hs
  build-depends:       base
                     , network-conduit
                     , CurryDB

executable curry-redis
  hs-source-dirs:      redis
  main-is:             main.hs
  ghc-options:         -O3
  build-depends:       base
                     , network-conduit
                     , system-filepath
                     , optparse-applicative
--                      , ekg >=0.3.1
                     , CurryDB

test-suite doctests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             doctests.hs
  build-depends:       base
                     , filepath
                     , directory
                     , doctest >=0.9.1

test-suite hspec
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             hspec.hs
  build-depends:       base
                     , hspec >=1.3
                     , mtl
                     , stm
                     , conduit
                     , lifted-base
                     , CurryDB

benchmark curry-bench
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             bench.hs
  ghc-options:         -rtsopts -O2
  ghc-prof-options:    -auto-all
  build-depends:       base
                     , bytestring
                     , mtl >=2.1
                     , mersenne-random-pure64
                     , CurryDB