2023-07-31 13:00:54 +03:00
|
|
|
cabal-version: 3.0
|
|
|
|
name: hasql
|
2023-07-31 13:05:18 +03:00
|
|
|
version: 1.6.3.2
|
2023-07-31 13:00:54 +03:00
|
|
|
category: Hasql, Database, PostgreSQL
|
|
|
|
synopsis: An efficient PostgreSQL driver with a flexible mapping API
|
2014-08-03 17:48:18 +04:00
|
|
|
description:
|
2019-11-06 02:26:57 +03:00
|
|
|
Root of the \"hasql\" ecosystem.
|
|
|
|
For details and tutorials see
|
|
|
|
<https://github.com/nikita-volkov/hasql the readme>.
|
2015-11-22 10:10:21 +03:00
|
|
|
.
|
2019-01-21 08:58:32 +03:00
|
|
|
The API comes free from all kinds of exceptions. All error-reporting is explicit and is presented using the 'Either' type.
|
2023-07-31 13:00:54 +03:00
|
|
|
|
|
|
|
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
|
2022-01-03 16:40:55 +03:00
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
|
|
|
README.md
|
2014-08-03 17:48:18 +04:00
|
|
|
|
|
|
|
source-repository head
|
2023-07-31 13:00:54 +03:00
|
|
|
type: git
|
2019-05-20 14:57:05 +03:00
|
|
|
location: git://github.com/nikita-volkov/hasql.git
|
2014-08-03 17:48:18 +04:00
|
|
|
|
|
|
|
library
|
2023-07-31 13:00:54 +03:00
|
|
|
hs-source-dirs: library
|
|
|
|
default-extensions:
|
|
|
|
NoImplicitPrelude
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
Arrows
|
|
|
|
BangPatterns
|
|
|
|
ConstraintKinds
|
|
|
|
DataKinds
|
|
|
|
DefaultSignatures
|
|
|
|
DeriveDataTypeable
|
|
|
|
DeriveFoldable
|
|
|
|
DeriveFunctor
|
|
|
|
DeriveGeneric
|
|
|
|
DeriveTraversable
|
|
|
|
EmptyDataDecls
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
FunctionalDependencies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
LambdaCase
|
|
|
|
LiberalTypeSynonyms
|
|
|
|
MagicHash
|
|
|
|
MultiParamTypeClasses
|
|
|
|
MultiWayIf
|
|
|
|
OverloadedStrings
|
|
|
|
ParallelListComp
|
|
|
|
PatternGuards
|
|
|
|
QuasiQuotes
|
|
|
|
RankNTypes
|
|
|
|
RecordWildCards
|
|
|
|
RoleAnnotations
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TemplateHaskell
|
|
|
|
TupleSections
|
|
|
|
TypeFamilies
|
|
|
|
TypeOperators
|
|
|
|
UnboxedTuples
|
|
|
|
|
|
|
|
default-language: Haskell2010
|
2018-05-23 12:15:34 +03:00
|
|
|
exposed-modules:
|
2023-07-31 13:00:54 +03:00
|
|
|
Hasql.Connection
|
2018-05-23 12:15:34 +03:00
|
|
|
Hasql.Decoders
|
|
|
|
Hasql.Encoders
|
|
|
|
Hasql.Session
|
2023-07-31 13:00:54 +03:00
|
|
|
Hasql.Statement
|
|
|
|
|
2014-08-03 17:48:18 +04:00
|
|
|
other-modules:
|
2016-08-06 12:22:11 +03:00
|
|
|
Hasql.Private.Commands
|
2023-07-31 13:00:54 +03:00
|
|
|
Hasql.Private.Connection
|
2019-05-21 01:20:57 +03:00
|
|
|
Hasql.Private.Decoders
|
2016-08-06 12:22:11 +03:00
|
|
|
Hasql.Private.Decoders.Array
|
|
|
|
Hasql.Private.Decoders.Composite
|
|
|
|
Hasql.Private.Decoders.Result
|
|
|
|
Hasql.Private.Decoders.Results
|
2023-07-31 13:00:54 +03:00
|
|
|
Hasql.Private.Decoders.Row
|
|
|
|
Hasql.Private.Decoders.Value
|
2019-05-20 19:24:27 +03:00
|
|
|
Hasql.Private.Encoders
|
2016-08-06 12:22:11 +03:00
|
|
|
Hasql.Private.Encoders.Array
|
|
|
|
Hasql.Private.Encoders.Params
|
2023-07-31 13:00:54 +03:00
|
|
|
Hasql.Private.Encoders.Value
|
|
|
|
Hasql.Private.Errors
|
|
|
|
Hasql.Private.IO
|
|
|
|
Hasql.Private.Prelude
|
|
|
|
Hasql.Private.PreparedStatementRegistry
|
|
|
|
Hasql.Private.PTI
|
|
|
|
Hasql.Private.Session
|
|
|
|
Hasql.Private.Settings
|
|
|
|
|
2014-08-03 17:48:18 +04:00
|
|
|
build-depends:
|
2023-07-31 13:00:54 +03:00
|
|
|
, aeson >=2 && <3
|
|
|
|
, attoparsec >=0.10 && <0.15
|
|
|
|
, base >=4.12 && <5
|
|
|
|
, bytestring >=0.10 && <0.12
|
|
|
|
, bytestring-strict-builder >=0.4.5.1 && <0.5
|
|
|
|
, contravariant >=1.3 && <2
|
|
|
|
, dlist >=0.8 && <0.9 || >=1 && <2
|
|
|
|
, hashable >=1.2 && <2
|
|
|
|
, hashtables >=1.1 && <2
|
|
|
|
, mtl >=2 && <3
|
|
|
|
, network-ip >=0.3.0.3 && <0.4
|
|
|
|
, postgresql-binary >=0.13.1 && <0.14
|
2023-07-31 13:05:18 +03:00
|
|
|
, postgresql-libpq >=0.9 && <0.11
|
2023-07-31 13:00:54 +03:00
|
|
|
, profunctors >=5.1 && <6
|
|
|
|
, scientific >=0.3 && <0.4
|
|
|
|
, text >=1 && <3
|
|
|
|
, text-builder >=0.6.7 && <0.7
|
|
|
|
, time >=1.9 && <2
|
|
|
|
, transformers >=0.3 && <0.7
|
|
|
|
, uuid >=1.3 && <2
|
|
|
|
, vector >=0.10 && <0.14
|
2014-10-28 15:00:42 +03:00
|
|
|
|
2015-11-10 21:19:41 +03:00
|
|
|
test-suite tasty
|
2023-07-31 13:00:54 +03:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: tasty
|
|
|
|
main-is: Main.hs
|
|
|
|
default-extensions:
|
|
|
|
NoImplicitPrelude
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
Arrows
|
|
|
|
BangPatterns
|
|
|
|
ConstraintKinds
|
|
|
|
DataKinds
|
|
|
|
DefaultSignatures
|
|
|
|
DeriveDataTypeable
|
|
|
|
DeriveFoldable
|
|
|
|
DeriveFunctor
|
|
|
|
DeriveGeneric
|
|
|
|
DeriveTraversable
|
|
|
|
EmptyDataDecls
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
FunctionalDependencies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
LambdaCase
|
|
|
|
LiberalTypeSynonyms
|
|
|
|
MagicHash
|
|
|
|
MultiParamTypeClasses
|
|
|
|
MultiWayIf
|
|
|
|
OverloadedStrings
|
|
|
|
ParallelListComp
|
|
|
|
PatternGuards
|
|
|
|
QuasiQuotes
|
|
|
|
RankNTypes
|
|
|
|
RecordWildCards
|
|
|
|
RoleAnnotations
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TemplateHaskell
|
|
|
|
TupleSections
|
|
|
|
TypeFamilies
|
|
|
|
TypeOperators
|
|
|
|
UnboxedTuples
|
|
|
|
|
|
|
|
default-language: Haskell2010
|
2015-11-15 12:13:45 +03:00
|
|
|
other-modules:
|
2016-01-24 19:15:11 +03:00
|
|
|
Main.Connection
|
2023-07-31 13:00:54 +03:00
|
|
|
Main.DSL
|
2015-11-15 12:13:45 +03:00
|
|
|
Main.Prelude
|
2023-07-31 13:00:54 +03:00
|
|
|
Main.Statements
|
|
|
|
|
2014-11-23 19:54:11 +03:00
|
|
|
build-depends:
|
2023-07-31 13:00:54 +03:00
|
|
|
, contravariant-extras >=0.3.5.2 && <0.4
|
|
|
|
, hasql
|
|
|
|
, QuickCheck >=2.8.1 && <3
|
|
|
|
, quickcheck-instances >=0.3.11 && <0.4
|
|
|
|
, rerebase <2
|
|
|
|
, tasty >=0.12 && <2
|
|
|
|
, tasty-hunit >=0.9 && <0.11
|
|
|
|
, tasty-quickcheck >=0.9 && <0.11
|
2014-11-23 19:54:11 +03:00
|
|
|
|
2016-03-06 13:44:56 +03:00
|
|
|
test-suite threads-test
|
2023-07-31 13:00:54 +03:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: threads-test
|
|
|
|
main-is: Main.hs
|
2019-05-20 14:57:05 +03:00
|
|
|
default-extensions:
|
2023-07-31 13:00:54 +03:00
|
|
|
NoImplicitPrelude
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
Arrows
|
|
|
|
BangPatterns
|
|
|
|
ConstraintKinds
|
|
|
|
DataKinds
|
|
|
|
DefaultSignatures
|
|
|
|
DeriveDataTypeable
|
|
|
|
DeriveFoldable
|
|
|
|
DeriveFunctor
|
|
|
|
DeriveGeneric
|
|
|
|
DeriveTraversable
|
|
|
|
EmptyDataDecls
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
FunctionalDependencies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
LambdaCase
|
|
|
|
LiberalTypeSynonyms
|
|
|
|
MagicHash
|
|
|
|
MultiParamTypeClasses
|
|
|
|
MultiWayIf
|
|
|
|
OverloadedStrings
|
|
|
|
ParallelListComp
|
|
|
|
PatternGuards
|
|
|
|
QuasiQuotes
|
|
|
|
RankNTypes
|
|
|
|
RecordWildCards
|
|
|
|
RoleAnnotations
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TemplateHaskell
|
|
|
|
TupleSections
|
|
|
|
TypeFamilies
|
|
|
|
TypeOperators
|
|
|
|
UnboxedTuples
|
|
|
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
other-modules: Main.Statements
|
|
|
|
ghc-options: -O2 -threaded -with-rtsopts=-N
|
2016-03-06 13:44:56 +03:00
|
|
|
build-depends:
|
2023-07-31 13:00:54 +03:00
|
|
|
, hasql
|
|
|
|
, rerebase
|
2016-03-06 13:44:56 +03:00
|
|
|
|
2017-04-10 17:55:58 +03:00
|
|
|
benchmark benchmarks
|
2023-07-31 13:00:54 +03:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: benchmarks
|
|
|
|
main-is: Main.hs
|
|
|
|
default-extensions:
|
|
|
|
NoImplicitPrelude
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
Arrows
|
|
|
|
BangPatterns
|
|
|
|
ConstraintKinds
|
|
|
|
DataKinds
|
|
|
|
DefaultSignatures
|
|
|
|
DeriveDataTypeable
|
|
|
|
DeriveFoldable
|
|
|
|
DeriveFunctor
|
|
|
|
DeriveGeneric
|
|
|
|
DeriveTraversable
|
|
|
|
EmptyDataDecls
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
FunctionalDependencies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
LambdaCase
|
|
|
|
LiberalTypeSynonyms
|
|
|
|
MagicHash
|
|
|
|
MultiParamTypeClasses
|
|
|
|
MultiWayIf
|
|
|
|
OverloadedStrings
|
|
|
|
ParallelListComp
|
|
|
|
PatternGuards
|
|
|
|
QuasiQuotes
|
|
|
|
RankNTypes
|
|
|
|
RecordWildCards
|
|
|
|
RoleAnnotations
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TemplateHaskell
|
|
|
|
TupleSections
|
|
|
|
TypeFamilies
|
|
|
|
TypeOperators
|
|
|
|
UnboxedTuples
|
|
|
|
|
|
|
|
default-language: Haskell2010
|
2015-11-16 22:06:47 +03:00
|
|
|
ghc-options:
|
2023-07-31 13:00:54 +03:00
|
|
|
-O2 -threaded -with-rtsopts=-N -rtsopts -funbox-strict-fields
|
|
|
|
|
2015-11-16 22:06:47 +03:00
|
|
|
build-depends:
|
2023-07-31 13:00:54 +03:00
|
|
|
, gauge >=0.2.5 && <0.3
|
|
|
|
, hasql
|
|
|
|
, rerebase <2
|
2017-04-14 00:46:59 +03:00
|
|
|
|
|
|
|
test-suite profiling
|
2023-07-31 13:00:54 +03:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: profiling
|
|
|
|
main-is: Main.hs
|
|
|
|
default-extensions:
|
|
|
|
NoImplicitPrelude
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
Arrows
|
|
|
|
BangPatterns
|
|
|
|
ConstraintKinds
|
|
|
|
DataKinds
|
|
|
|
DefaultSignatures
|
|
|
|
DeriveDataTypeable
|
|
|
|
DeriveFoldable
|
|
|
|
DeriveFunctor
|
|
|
|
DeriveGeneric
|
|
|
|
DeriveTraversable
|
|
|
|
EmptyDataDecls
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
FunctionalDependencies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
LambdaCase
|
|
|
|
LiberalTypeSynonyms
|
|
|
|
MagicHash
|
|
|
|
MultiParamTypeClasses
|
|
|
|
MultiWayIf
|
|
|
|
OverloadedStrings
|
|
|
|
ParallelListComp
|
|
|
|
PatternGuards
|
|
|
|
QuasiQuotes
|
|
|
|
RankNTypes
|
|
|
|
RecordWildCards
|
|
|
|
RoleAnnotations
|
|
|
|
ScopedTypeVariables
|
|
|
|
StandaloneDeriving
|
|
|
|
TemplateHaskell
|
|
|
|
TupleSections
|
|
|
|
TypeFamilies
|
|
|
|
TypeOperators
|
|
|
|
UnboxedTuples
|
|
|
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -O2 -threaded -rtsopts
|
2017-04-14 00:46:59 +03:00
|
|
|
build-depends:
|
2023-07-31 13:00:54 +03:00
|
|
|
, hasql
|
|
|
|
, rerebase >=1 && <2
|