name:                   rethinkdb-client-driver
version:                0.0.0.1
license:                MIT
license-file:           LICENSE
author:                 Tomas Carnecky
maintainer:             tomas.carnecky@gmail.com
category:               Database
build-type:             Simple
cabal-version:          >= 1.10

homepage:               https://github.com/wereHamster/rethinkdb-client-driver
bug-reports:            https://github.com/wereHamster/rethinkdb-client-driver/issues

synopsis:               Client driver for RethinkDB
description:
    This is an alternative client driver for RethinkDB. It is not complete
    yet, but the basic structure is in place and the driver can make
    simple queries.
    .
    Its main focus is on type safety, which it achieves quite well. It also
    uses the new JSON protocol which should give it a speed boost (and make
    the driver compatible with GHC 7.8).
    .
    Note that the driver is neither thread-safe nor reentrant. If you have
    a multi-threaded application, I recommend using 'resource-pool'.

source-repository head
    type:               git
    location:           git://github.com/wereHamster/rethinkdb-client-driver.git


library
    default-language  : Haskell2010
    hs-source-dirs    : src

    build-depends     : base       >= 4.6 && < 4.7
                      , aeson
                      , binary     >= 0.7.2.1
                      , bytestring
                      , hashable
                      , network
                      , scientific
                      , text
                      , unordered-containers
                      , vector

    exposed-modules   : Database.RethinkDB
    other-modules     : Database.RethinkDB.Messages
                      , Database.RethinkDB.Terms
                      , Database.RethinkDB.Types

    ghc-options       : -Wall


test-suite spec
    default-language  : Haskell2010
    hs-source-dirs    : test

    main-is           : Test.hs
    type              : exitcode-stdio-1.0

    build-depends     : base       >= 4.6 && < 4.7
                      , hspec
                      , smallcheck
                      , hspec-smallcheck

                      , rethinkdb-client-driver
                      , vector
                      , text
                      , unordered-containers