2014-08-03 17:48:18 +04:00
|
|
|
name:
|
2014-10-18 00:03:02 +04:00
|
|
|
hasql
|
2014-08-03 17:48:18 +04:00
|
|
|
version:
|
2017-10-12 15:03:11 +03:00
|
|
|
1
|
2015-11-08 21:09:42 +03:00
|
|
|
category:
|
|
|
|
Hasql, Database, PostgreSQL
|
2014-08-03 17:48:18 +04:00
|
|
|
synopsis:
|
2016-08-11 23:52:59 +03:00
|
|
|
An efficient PostgreSQL driver and a flexible mapping API
|
2014-08-03 17:48:18 +04:00
|
|
|
description:
|
2015-11-08 21:09:42 +03:00
|
|
|
This package is the root of the \"hasql\" ecosystem.
|
2015-11-22 10:10:21 +03:00
|
|
|
.
|
|
|
|
The API is completely disinfected from exceptions. All error-reporting is explicit and is presented using the 'Either' type.
|
2017-10-12 15:03:11 +03:00
|
|
|
.
|
|
|
|
The version 1 is completely backward-compatible with 0.19.
|
2014-08-03 17:48:18 +04:00
|
|
|
homepage:
|
2014-10-18 00:03:02 +04:00
|
|
|
https://github.com/nikita-volkov/hasql
|
2014-08-03 17:48:18 +04:00
|
|
|
bug-reports:
|
2014-10-18 00:03:02 +04:00
|
|
|
https://github.com/nikita-volkov/hasql/issues
|
2014-08-03 17:48:18 +04:00
|
|
|
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:
|
2015-11-21 09:39:09 +03:00
|
|
|
Simple
|
2014-08-03 17:48:18 +04:00
|
|
|
cabal-version:
|
|
|
|
>=1.10
|
|
|
|
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type:
|
|
|
|
git
|
|
|
|
location:
|
2014-10-18 00:03:02 +04:00
|
|
|
git://github.com/nikita-volkov/hasql.git
|
2014-08-03 17:48:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
library
|
|
|
|
hs-source-dirs:
|
|
|
|
library
|
2014-10-28 15:02:44 +03:00
|
|
|
ghc-options:
|
|
|
|
default-extensions:
|
2016-02-07 09:55:17 +03:00
|
|
|
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
|
2014-10-28 15:02:44 +03:00
|
|
|
default-language:
|
|
|
|
Haskell2010
|
2014-08-03 17:48:18 +04:00
|
|
|
other-modules:
|
2016-08-06 12:22:11 +03:00
|
|
|
Hasql.Private.Prelude
|
|
|
|
Hasql.Private.PTI
|
2015-12-21 16:11:14 +03:00
|
|
|
Hasql.Private.IO
|
|
|
|
Hasql.Private.Query
|
|
|
|
Hasql.Private.Session
|
2015-12-21 16:45:10 +03:00
|
|
|
Hasql.Private.Connection
|
2015-12-21 16:11:14 +03:00
|
|
|
Hasql.Private.PreparedStatementRegistry
|
2016-08-06 12:22:11 +03:00
|
|
|
Hasql.Private.Settings
|
|
|
|
Hasql.Private.Commands
|
|
|
|
Hasql.Private.Decoders.Array
|
|
|
|
Hasql.Private.Decoders.Composite
|
|
|
|
Hasql.Private.Decoders.Value
|
|
|
|
Hasql.Private.Decoders.Row
|
|
|
|
Hasql.Private.Decoders.Result
|
|
|
|
Hasql.Private.Decoders.Results
|
|
|
|
Hasql.Private.Encoders.Array
|
|
|
|
Hasql.Private.Encoders.Value
|
|
|
|
Hasql.Private.Encoders.Params
|
2014-08-03 17:48:18 +04:00
|
|
|
exposed-modules:
|
2015-12-05 09:09:31 +03:00
|
|
|
Hasql.Decoders
|
|
|
|
Hasql.Encoders
|
2015-12-21 16:45:10 +03:00
|
|
|
Hasql.Connection
|
2015-11-22 10:10:21 +03:00
|
|
|
Hasql.Query
|
2015-12-21 16:11:14 +03:00
|
|
|
Hasql.Session
|
2014-08-03 17:48:18 +04:00
|
|
|
build-depends:
|
2015-11-08 21:09:42 +03:00
|
|
|
-- parsing:
|
2015-05-15 08:05:49 +03:00
|
|
|
attoparsec >= 0.10 && < 0.14,
|
2015-11-08 21:09:42 +03:00
|
|
|
-- database:
|
2017-03-20 23:13:21 +03:00
|
|
|
postgresql-binary >= 0.12.1 && < 0.13,
|
2015-11-08 21:09:42 +03:00
|
|
|
postgresql-libpq == 0.9.*,
|
2016-02-26 15:26:55 +03:00
|
|
|
-- builders:
|
2017-03-21 00:29:27 +03:00
|
|
|
bytestring-strict-builder >= 0.4 && < 0.5,
|
2015-11-08 21:09:42 +03:00
|
|
|
-- data:
|
2016-07-18 09:46:49 +03:00
|
|
|
dlist >= 0.7 && < 0.9,
|
2017-01-31 19:36:02 +03:00
|
|
|
vector >= 0.10 && < 0.13,
|
2016-12-09 11:33:02 +03:00
|
|
|
hashtables >= 1.1 && < 2,
|
|
|
|
text >= 1 && < 2,
|
2015-11-08 21:09:42 +03:00
|
|
|
bytestring >= 0.10 && < 0.11,
|
|
|
|
hashable >= 1.2 && < 1.3,
|
|
|
|
-- control:
|
2016-02-23 09:39:57 +03:00
|
|
|
semigroups >= 0.18 && < 0.20,
|
2016-05-22 10:02:15 +03:00
|
|
|
data-default-class >= 0.0.1 && < 0.2,
|
2015-11-08 21:09:42 +03:00
|
|
|
profunctors >= 5.1 && < 6,
|
2015-11-21 15:30:14 +03:00
|
|
|
contravariant-extras == 0.3.*,
|
2015-11-08 21:09:42 +03:00
|
|
|
contravariant >= 1.3 && < 2,
|
|
|
|
either >= 4.4.1 && < 5,
|
2015-12-21 16:45:10 +03:00
|
|
|
mtl >= 2 && < 3,
|
2016-01-29 14:28:50 +03:00
|
|
|
transformers >= 0.3 && < 0.6,
|
2015-11-08 21:09:42 +03:00
|
|
|
-- errors:
|
|
|
|
loch-th == 0.2.*,
|
|
|
|
placeholders == 0.1.*,
|
|
|
|
-- general:
|
2016-02-12 15:34:54 +03:00
|
|
|
base-prelude >= 0.1.19 && < 2,
|
2015-11-08 21:09:42 +03:00
|
|
|
base >= 4.6 && < 5
|
2014-10-28 15:00:42 +03:00
|
|
|
|
|
|
|
|
2015-11-10 21:19:41 +03:00
|
|
|
test-suite tasty
|
2014-12-18 00:50:13 +03:00
|
|
|
type:
|
2014-11-23 19:54:11 +03:00
|
|
|
exitcode-stdio-1.0
|
2014-12-18 00:50:13 +03:00
|
|
|
hs-source-dirs:
|
2015-11-10 21:19:41 +03:00
|
|
|
tasty
|
2014-12-18 00:50:13 +03:00
|
|
|
main-is:
|
2014-11-23 19:54:11 +03:00
|
|
|
Main.hs
|
2015-11-15 12:13:45 +03:00
|
|
|
other-modules:
|
|
|
|
Main.DSL
|
2016-01-24 19:15:11 +03:00
|
|
|
Main.Connection
|
2015-11-15 12:13:45 +03:00
|
|
|
Main.Queries
|
|
|
|
Main.Prelude
|
2014-11-23 19:54:11 +03:00
|
|
|
default-extensions:
|
2016-02-07 09:55:17 +03:00
|
|
|
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
|
2014-11-23 19:54:11 +03:00
|
|
|
default-language:
|
|
|
|
Haskell2010
|
|
|
|
build-depends:
|
2015-11-08 21:09:42 +03:00
|
|
|
-- database:
|
2014-11-29 14:48:14 +03:00
|
|
|
hasql,
|
2015-11-08 21:09:42 +03:00
|
|
|
-- testing:
|
2015-11-10 21:19:41 +03:00
|
|
|
tasty == 0.11.*,
|
|
|
|
tasty-quickcheck == 0.8.*,
|
|
|
|
tasty-smallcheck == 0.8.*,
|
|
|
|
tasty-hunit == 0.9.*,
|
2015-11-08 21:09:42 +03:00
|
|
|
quickcheck-instances >= 0.3.11 && < 0.4,
|
2016-12-09 11:33:02 +03:00
|
|
|
QuickCheck >= 2.8.1 && < 2.10,
|
2015-11-08 21:09:42 +03:00
|
|
|
-- general:
|
2015-11-15 12:13:45 +03:00
|
|
|
data-default-class,
|
2016-12-09 11:33:02 +03:00
|
|
|
--
|
|
|
|
rerebase < 2
|
2014-11-23 19:54:11 +03:00
|
|
|
|
|
|
|
|
2016-03-06 13:44:56 +03:00
|
|
|
test-suite threads-test
|
|
|
|
type:
|
|
|
|
exitcode-stdio-1.0
|
|
|
|
hs-source-dirs:
|
|
|
|
threads-test
|
|
|
|
main-is:
|
|
|
|
Main.hs
|
|
|
|
other-modules:
|
|
|
|
Main.Queries
|
|
|
|
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:
|
|
|
|
-- database:
|
|
|
|
hasql,
|
2016-12-09 11:33:02 +03:00
|
|
|
--
|
2016-03-06 13:44:56 +03:00
|
|
|
rebase
|
|
|
|
|
|
|
|
|
2017-04-10 17:55:58 +03:00
|
|
|
benchmark benchmarks
|
2015-11-16 22:06:47 +03:00
|
|
|
type:
|
|
|
|
exitcode-stdio-1.0
|
|
|
|
hs-source-dirs:
|
2017-04-10 17:55:58 +03:00
|
|
|
benchmarks
|
2015-11-16 22:06:47 +03:00
|
|
|
main-is:
|
|
|
|
Main.hs
|
|
|
|
ghc-options:
|
|
|
|
-O2
|
|
|
|
-threaded
|
|
|
|
"-with-rtsopts=-N"
|
2017-04-14 01:41:36 +03:00
|
|
|
-rtsopts
|
2017-04-10 17:55:58 +03:00
|
|
|
-funbox-strict-fields
|
2015-11-16 22:06:47 +03:00
|
|
|
default-extensions:
|
2016-02-07 09:55:17 +03:00
|
|
|
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
|
2015-11-16 22:06:47 +03:00
|
|
|
default-language:
|
|
|
|
Haskell2010
|
|
|
|
build-depends:
|
|
|
|
hasql,
|
|
|
|
-- benchmarking:
|
2017-04-10 17:55:58 +03:00
|
|
|
criterion >= 1.1 && < 2,
|
2015-11-16 22:06:47 +03:00
|
|
|
-- general:
|
2017-04-10 17:55:58 +03:00
|
|
|
bug == 1.*,
|
|
|
|
rerebase < 2
|
2017-04-14 00:46:59 +03:00
|
|
|
|
|
|
|
|
|
|
|
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,
|
|
|
|
bug == 1.*,
|
|
|
|
rerebase == 1.*
|