hasql-0.20.1: hasql.cabal
name:
hasql
version:
0.20.1
category:
Hasql, Database, PostgreSQL
synopsis:
An efficient native PostgreSQL driver
description:
A highly efficient PostgreSQL driver and a flexible mapping API.
.
This is an experimental version, which implements the binary protocol natively.
.
This package is the root of the \"hasql\" ecosystem.
.
The API is completely disinfected from exceptions. All error-reporting is explicit and is presented using the 'Either' type.
homepage:
https://github.com/nikita-volkov/hasql
bug-reports:
https://github.com/nikita-volkov/hasql/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:
Simple
cabal-version:
>=1.10
source-repository head
type:
git
location:
git://github.com/nikita-volkov/hasql.git
library
hs-source-dirs:
library
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, PatternSynonyms, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
exposed-modules:
Hasql.Connection
Hasql.Statement
Hasql.EncodeParams
Hasql.EncodeParam
Hasql.EncodePrimitive
Hasql.DecodeResult
Hasql.DecodeRow
Hasql.DecodePrimitive
Hasql.Batch
Hasql.Session
other-modules:
Hasql.Prelude
Hasql.Core.Statement
Hasql.Core.Batch
Hasql.Core.Session
Hasql.Core.Model
Hasql.Core.EncodeParams
Hasql.Core.EncodeParam
Hasql.Core.EncodePrimitive
Hasql.Core.EncodeArray
Hasql.Core.DecodeResult
Hasql.Core.DecodeRow
Hasql.Core.DecodePrimitive
Hasql.Core.InterpretResponses
Hasql.Core.UnauthenticatedSession
Hasql.Core.Request
Hasql.Core.Dispatcher
Hasql.Core.ParseDataRow
Hasql.Core.MessageTypePredicates
Hasql.Core.NoticeFieldTypes
Hasql.Core.MessageTypeNames
Hasql.Core.Loops.Serializer
Hasql.Core.Loops.Receiver
Hasql.Core.Loops.Sender
Hasql.Core.Loops.Interpreter
Hasql.Core.Socket
Hasql.Core.OID.Array
Hasql.Core.OID.Primitive
Hasql.Core.PreparedStatementRegistry
Hasql.Core.Protocol.Encoding
Hasql.Core.Protocol.Parse.Primitives
Hasql.Core.Protocol.Parse.Responses
Hasql.Core.Protocol.Parse.Values
Hasql.Core.Protocol.Peek
Hasql.Core.Protocol.Model
build-depends:
-- concurrency:
stm >= 2.4 && < 3,
slave-thread == 1.*,
-- networking:
network == 2.*,
-- template-haskell:
template-haskell == 2.*,
-- parsing:
attoparsec >= 0.10 && < 0.14,
-- database:
postgresql-binary == 0.12.*,
-- IO:
ptr >= 0.15.2 && < 0.16,
buffer >= 0.5 && < 0.6,
-- data:
bytestring-strict-builder >= 0.4.5 && < 0.5,
vector-builder == 0.3.*,
deque == 0.2.*,
cryptonite == 0.22.*,
persistent-vector == 0.1.*,
dlist >= 0.7 && < 0.9,
aeson >= 0.7 && < 2,
vector >= 0.10 && < 0.13,
text >= 1 && < 2,
bytestring >= 0.10 && < 0.11,
hashable >= 1.2 && < 1.3,
containers == 0.5.*,
unordered-containers == 0.2.*,
time == 1.*,
-- control:
free >= 4.12.4 && < 5,
managed == 1.*,
foldl >= 1.3 && < 2,
semigroups >= 0.18 && < 0.20,
profunctors >= 5.1 && < 6,
contravariant >= 1.3 && < 2,
mtl >= 2 && < 3,
transformers >= 0.3 && < 0.6,
-- errors:
bug == 1.*,
-- general:
base-prelude >= 0.1.19 && < 2,
base >= 4.7 && < 5
test-suite tests
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
main-is:
Main.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, 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:
hasql,
-- testing:
tasty == 0.11.*,
tasty-quickcheck == 0.8.*,
tasty-smallcheck == 0.8.*,
tasty-hunit == 0.9.*,
quickcheck-instances >= 0.3.11 && < 0.4,
QuickCheck >= 2.8.1 && < 2.10,
--
foldl,
bug == 1.*,
rerebase == 1.*
benchmark benchmarks
type:
exitcode-stdio-1.0
hs-source-dirs:
benchmarks
main-is:
Main.hs
ghc-options:
-O2
-threaded
-rtsopts
"-with-rtsopts=-N"
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, 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:
hasql,
-- benchmarking:
criterion >= 1.0 && < 2,
-- general:
foldl,
bug == 1.*,
rerebase < 2
test-suite profiling
type:
exitcode-stdio-1.0
hs-source-dirs:
profiling
main-is:
Main.hs
ghc-options:
-O2
-threaded
-rtsopts
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, 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:
hasql,
foldl,
bug == 1.*,
rerebase == 1.*