File rethinkdb-client-driver.cabal of Package ghc-rethinkdb-client-driver

name:                   rethinkdb-client-driver
version:                0.0.23
x-revision: 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.10
                      , aeson
                      , binary >= 0.6.0.0
                      , bytestring
                      , containers
                      , hashable
                      , mtl
                      , network
                      , old-locale
                      , scientific
                      , stm
                      , template-haskell >= 2.11
                      , text
                      , time >= 1.4
                      , unordered-containers
                      , vector

    exposed-modules   : Database.RethinkDB
                      , Database.RethinkDB.TH

    other-modules     : Database.RethinkDB.Messages
                      , Database.RethinkDB.Types
                      , Database.RethinkDB.Types.Datum

    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.10
                      , hspec
                      , smallcheck
                      , hspec-smallcheck

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


benchmark bench
    default-language  : Haskell2010
    hs-source-dirs    : benchmark

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

    build-depends     : base < 4.10
                      , criterion

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

    ghc-options       : -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
    ghc-prof-options  : "-with-rtsopts=-p -s -h -i0.1 -N"
openSUSE Build Service is sponsored by