name:                 cql-io
version:              0.14.4
synopsis:             Cassandra CQL client.
stability:            experimental
license:              MPL-2.0
license-file:         LICENSE.txt
author:               Toralf Wittner
maintainer:           Toralf Wittner <tw@dtex.org>
copyright:            (C) 2014-2015 Toralf Wittner
homepage:             https://github.com/twittner/cql-io/
bug-reports:          https://github.com/twittner/cql-io/issues
category:             Database
build-type:           Simple
cabal-version:        >= 1.10
extra-source-files:   README.asciidoc
                      CHANGELOG.txt
                      AUTHORS.txt

description:
    CQL Cassandra driver supporting native protocol versions 2 and 3.
    .
    This library uses the <http://hackage.haskell.org/package/cql cql> library
    which implements Cassandra's CQL protocol and complements it with the
    neccessary I/O operations. The feature-set includes:
    .
    * /Node discovery/. The driver discovers nodes automatically from a small
    set of bootstrap nodes.
    .
    * /Customisable load-balancing policies/. In addition to pre-built LB
    policies such as round-robin, users of this library can provide their
    own policies if desired.
    .
    * /Support for connection streams/. Requests can be multiplexed over a
    few connections.
    .
    * /Customisable retry settings/. Support for default retry settings as well
    as local overrides per query.
    .
    * /Prepared queries/. Prepared queries are an optimisation which parse
    and prepare a query only once on Cassandra nodes but execute it many
    times with different concrete values.

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

library
    default-language: Haskell2010
    hs-source-dirs:   src
    ghc-options:      -Wall -O2 -fwarn-tabs

    exposed-modules:
        Database.CQL.IO

    other-modules:
        Control.Retry
        Database.CQL.IO.Batch
        Database.CQL.IO.Client
        Database.CQL.IO.Cluster.Discovery
        Database.CQL.IO.Cluster.Host
        Database.CQL.IO.Cluster.Policies
        Database.CQL.IO.Connection
        Database.CQL.IO.Hexdump
        Database.CQL.IO.Jobs
        Database.CQL.IO.Pool
        Database.CQL.IO.PrepQuery
        Database.CQL.IO.Protocol
        Database.CQL.IO.Settings
        Database.CQL.IO.Signal
        Database.CQL.IO.Sync
        Database.CQL.IO.Tickets
        Database.CQL.IO.Timeouts
        Database.CQL.IO.Types

    build-depends:
          async              == 2.0.*
        , auto-update        == 0.1.*
        , base               >= 4.7     && < 5.0
        , bytestring         >= 0.10    && < 1.0
        , containers         >= 0.5     && < 1.0
        , cql                == 3.0.*
        , cryptohash         >= 0.11    && < 0.20
        , data-default-class
        , exceptions         >= 0.4     && < 1.0
        , hashable           >= 1.2     && < 2.0
        , iproute            >= 1.3     && < 2.0
        , lens               >= 4.4     && < 5.0
        , monad-control      >= 0.3     && < 2.0
        , mtl                >= 2.1     && < 2.5
        , mwc-random         >= 0.13    && < 0.14
        , network            >= 2.4     && < 3.0
        , semigroups         >= 0.15    && < 0.20
        , stm                >= 2.4     && < 3.0
        , text               >= 0.11    && < 2.0
        , tinylog            >= 0.8     && < 0.15
        , time               >= 1.4     && < 2.0
        , transformers       >= 0.3     && < 0.5
        , transformers-base  >= 0.4     && < 1.0
        , uuid               >= 1.2.6   && < 2.0
        , vector             >= 0.10    && < 1.0