hasql-postgres-0.10.3.1: hasql-postgres.cabal
name:
hasql-postgres
version:
0.10.3.1
synopsis:
A "PostgreSQL" backend for the "hasql" library
description:
This library provides a \"PostgreSQL\" driver for
<http://hackage.haskell.org/package/hasql the "hasql" library>.
.
It supports all Postgres versions starting from 8.3
and is tested against 8.3, 9.3 and 9.4
with the @integer_datetimes@ setting off and on.
.
According to the included benchmarks,
it performs up to 2x faster than \"postgresql-simple\" and
up to 7x faster than \"HDBC\".
You can read up
<http://nikita-volkov.github.io/hasql-benchmarks/ a post with analysis of those benchmarks>.
category:
Database
homepage:
https://github.com/nikita-volkov/hasql-postgres
bug-reports:
https://github.com/nikita-volkov/hasql-postgres/issues
author:
Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
(c) 2014, Nikita Volkov
license:
MIT
license-file:
LICENSE
build-type:
Custom
cabal-version:
>=1.10
extra-source-files:
CHANGELOG.md
source-repository head
type:
git
location:
git://github.com/nikita-volkov/hasql-postgres.git
library
hs-source-dirs:
library
ghc-options:
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
other-modules:
Hasql.Postgres.Prelude
Hasql.Postgres.PTI
Hasql.Postgres.Mapping
Hasql.Postgres.Connector
Hasql.Postgres.Statement
Hasql.Postgres.Statement.TemplateConverter
Hasql.Postgres.Statement.TemplateConverter.Parser
Hasql.Postgres.Session.ResultProcessing
Hasql.Postgres.Session.Execution
Hasql.Postgres.Session.Transaction
exposed-modules:
Hasql.Postgres.ErrorCode
Hasql.Postgres
build-depends:
-- template haskell:
template-haskell == 2.*,
-- parsers:
attoparsec >= 0.10 && < 0.14,
-- database:
hasql-backend == 0.4.*,
postgresql-binary == 0.5.*,
postgresql-libpq == 0.9.*,
-- data:
aeson >= 0.7 && < 0.9,
uuid == 1.3.*,
vector == 0.10.*,
time >= 1.4 && < 1.6,
hashtables >= 1.1 && < 1.3,
scientific >= 0.2 && < 0.4,
text >= 1 && < 1.3,
bytestring >= 0.10 && < 0.11,
hashable >= 1.2 && < 1.3,
-- control:
free >= 4.6 && < 5,
either >= 4.3 && < 4.4,
list-t < 0.5,
mmorph == 1.0.*,
transformers >= 0.3 && < 0.5,
-- errors:
loch-th == 0.2.*,
placeholders == 0.1.*,
-- general:
base-prelude >= 0.1.13 && < 0.2
test-suite doctest
type:
exitcode-stdio-1.0
hs-source-dirs:
doctest
main-is:
Main.hs
ghc-options:
-threaded
build-depends:
doctest == 0.9.*,
directory == 1.2.*,
filepath >= 1.3 && < 1.5,
base-prelude == 0.1.*,
base
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators
default-language:
Haskell2010
test-suite hspec
type:
exitcode-stdio-1.0
hs-source-dirs:
hspec
main-is:
Main.hs
ghc-options:
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
-- database:
postgresql-binary,
hasql-postgres,
hasql-backend,
hasql == 0.7.*,
-- testing:
hspec == 2.1.*,
quickcheck-instances == 0.3.*,
QuickCheck == 2.7.*,
-- data:
aeson,
vector == 0.10.*,
old-locale == 1.0.*,
time >= 1.4 && < 1.6,
scientific >= 0.2 && < 0.4,
text >= 1 && < 1.3,
bytestring >= 0.10 && < 0.11,
hashable >= 1.2 && < 1.3,
-- general:
either,
list-t < 0.5,
mtl-prelude < 3,
base-prelude >= 0.1.3 && < 0.2
benchmark competition
type:
exitcode-stdio-1.0
hs-source-dirs:
competition
main-is:
Main.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
HDBC == 2.4.*,
HDBC-postgresql == 2.3.*,
postgresql-simple == 0.4.*,
hasql-postgres,
hasql-backend,
hasql == 0.7.*,
-- random:
QuickCheck == 2.7.*,
quickcheck-instances == 0.3.*,
-- benchmarking:
criterion-plus == 0.1.*,
-- data:
vector == 0.10.*,
time >= 1.4 && < 1.6,
text >= 1 && < 1.3,
scientific >= 0.2 && < 0.4,
-- general:
either,
monad-control >= 0.3 && < 1.1,
deepseq == 1.3.*,
list-t < 0.5,
mtl-prelude < 3,
base-prelude >= 0.1.3 && < 0.2