name:                redis-io
version:             0.4.1
synopsis:            Yet another redis client.
license:             OtherLicense
license-file:        LICENSE
author:              Toralf Wittner
maintainer:          Toralf Wittner <tw@dtex.org>
copyright:           (c) 2014-2015 Toralf Wittner
homepage:            https://github.com/twittner/redis-io/
bug-reports:         https://github.com/twittner/redis-io/issues
stability:           experimental
category:            Database
build-type:          Simple
cabal-version:       >= 1.10
extra-source-files:  README.md, CHANGELOG.md

description:
    Yet another redis client.

source-repository head
    type:             git
    location:         git://github.com/twittner/redis-io.git

library
    default-language: Haskell2010
    hs-source-dirs:   src
    ghc-options:      -Wall -O2 -fwarn-tabs -funbox-strict-fields
    ghc-prof-options: -prof -auto-all

    exposed-modules:
        Database.Redis.IO

    other-modules:
        Database.Redis.IO.Client
        Database.Redis.IO.Connection
        Database.Redis.IO.Settings
        Database.Redis.IO.Timeouts
        Database.Redis.IO.Types

    build-depends:
        attoparsec        >= 0.12.1.2 && < 1.0
      , auto-update       >= 0.1      && < 0.2
      , base              >= 4.5      && < 5.0
      , bytestring        >= 0.9      && < 1.0
      , containers        >= 0.5      && < 1.0
      , exceptions        >= 0.6      && < 1.0
      , monad-control     >= 0.3      && < 2.0
      , mtl               >= 2.1      && < 3.0
      , network           >= 2.5      && < 3.0
      , operational       == 0.2.*
      , redis-resp        >= 0.2      && < 0.4
      , resource-pool     >= 0.2      && < 0.3
      , time              >= 1.4      && < 2.0
      , transformers      >= 0.3      && < 0.5
      , transformers-base >= 0.4      && < 1.0
      , tinylog           >= 0.10     && < 0.15

test-suite redis-io-tests
    type:              exitcode-stdio-1.0
    default-language:  Haskell2010
    main-is:           Test.hs
    hs-source-dirs:    test
    ghc-options:       -Wall -O2 -fwarn-tabs

    other-modules:
        CommandTests

    build-depends:
        async                 == 2.0.*
      , base
      , bytestring
      , bytestring-conversion >= 0.2
      , containers
      , redis-io
      , redis-resp
      , tasty                 >= 0.10
      , tasty-hunit           >= 0.9
      , tinylog
      , transformers

benchmark redis-io-bench
    type:             exitcode-stdio-1.0
    default-language: Haskell2010
    main-is:          Bench.hs
    hs-source-dirs:   bench
    ghc-options:      -Wall -O2 -fwarn-tabs
    build-depends:
        base
      , bytestring
      , criterion   >= 1.0.0.2 && < 2.0
      , hedis       >= 0.6     && < 1.0
      , redis-io
      , redis-resp
      , tinylog
      , transformers