hasql/hasql.cabal

202 lines
4.3 KiB
Plaintext
Raw Normal View History

2024-04-20 13:23:08 +03:00
cabal-version: 3.0
name: hasql
version: 1.6.4.3
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>.
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
2024-04-20 13:23:08 +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
extra-source-files:
CHANGELOG.md
README.md
2014-08-03 17:48:18 +04:00
source-repository head
2024-04-20 13:23:08 +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
2024-01-27 00:12:18 +03:00
common base
2024-04-20 13:23:08 +03:00
default-language: Haskell2010
2023-07-31 13:00:54 +03:00
default-extensions:
Arrows
BangPatterns
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
EmptyDataDecls
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
2024-04-19 07:38:30 +03:00
ImportQualifiedPost
2023-07-31 13:00:54 +03:00
LambdaCase
LiberalTypeSynonyms
MagicHash
MultiParamTypeClasses
MultiWayIf
2024-04-20 13:23:08 +03:00
NoImplicitPrelude
NoMonomorphismRestriction
2023-07-31 13:00:54 +03:00
OverloadedStrings
ParallelListComp
PatternGuards
QuasiQuotes
RankNTypes
RecordWildCards
RoleAnnotations
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
TypeOperators
UnboxedTuples
2024-01-27 00:12:18 +03:00
common executable
2024-04-20 13:23:08 +03:00
import: base
2024-01-27 00:12:18 +03:00
ghc-options:
2024-04-20 13:23:08 +03:00
-O2
-threaded
-with-rtsopts=-N
-rtsopts
-funbox-strict-fields
2024-01-27 00:12:18 +03:00
common test
2024-04-20 13:23:08 +03:00
import: base
ghc-options:
-threaded
-with-rtsopts=-N
2024-01-27 00:12:18 +03:00
library
2024-04-20 13:23:08 +03:00
import: base
hs-source-dirs: library
exposed-modules:
2023-07-31 13:00:54 +03:00
Hasql.Connection
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:
Hasql.Commands
Hasql.Connection.Core
Hasql.Decoders.All
Hasql.Decoders.Array
Hasql.Decoders.Composite
Hasql.Decoders.Result
Hasql.Decoders.Results
Hasql.Decoders.Row
Hasql.Decoders.Value
Hasql.Encoders.All
Hasql.Encoders.Array
Hasql.Encoders.Params
Hasql.Encoders.Value
Hasql.Errors
Hasql.IO
2024-04-19 07:34:33 +03:00
Hasql.PostgresTypeInfo
Hasql.Prelude
Hasql.PreparedStatementRegistry
Hasql.Session.Core
Hasql.Settings
2023-07-31 13:00:54 +03:00
2014-08-03 17:48:18 +04:00
build-depends:
2024-04-20 13:23:08 +03:00
aeson >=2 && <3,
attoparsec >=0.10 && <0.15,
base >=4.14 && <5,
bytestring >=0.10 && <0.13,
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,
postgresql-libpq >=0.9 && <0.11,
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
2024-04-20 13:46:51 +03:00
library testing-utils
import: base
hs-source-dirs: testing-utils
exposed-modules:
Hasql.TestingUtils.Session
build-depends:
hasql,
rerebase <2,
2015-11-10 21:19:41 +03:00
test-suite tasty
2024-04-20 13:23:08 +03:00
import: base
type: exitcode-stdio-1.0
2024-01-27 00:12:18 +03:00
hs-source-dirs: tasty
2024-04-20 13:23:08 +03:00
main-is: Main.hs
2015-11-15 12:13:45 +03:00
other-modules:
2016-01-24 19:15:11 +03:00
Main.Connection
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:
2024-04-20 13:23:08 +03:00
contravariant-extras >=0.3.5.2 && <0.4,
hasql,
2024-04-20 13:46:51 +03:00
hasql:testing-utils,
2024-04-20 13:23:08 +03:00
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
2024-04-20 13:23:08 +03:00
import: test
type: exitcode-stdio-1.0
2024-01-27 00:12:18 +03:00
hs-source-dirs: threads-test
2024-04-20 13:23:08 +03:00
main-is: Main.hs
other-modules: Main.Statements
2016-03-06 13:44:56 +03:00
build-depends:
2024-04-20 13:23:08 +03:00
hasql,
rerebase,
2016-03-06 13:44:56 +03:00
2017-04-10 17:55:58 +03:00
benchmark benchmarks
2024-04-20 13:23:08 +03:00
import: executable
type: exitcode-stdio-1.0
2024-01-27 00:12:18 +03:00
hs-source-dirs: benchmarks
2024-04-20 13:23:08 +03:00
main-is: Main.hs
2015-11-16 22:06:47 +03:00
build-depends:
2024-04-20 13:23:08 +03:00
criterion >=1.6 && <2,
hasql,
rerebase <2,
2017-04-14 00:46:59 +03:00
test-suite profiling
2024-04-20 13:23:08 +03:00
import: base
type: exitcode-stdio-1.0
2024-01-27 00:12:18 +03:00
hs-source-dirs: profiling
2024-04-20 13:23:08 +03:00
main-is: Main.hs
ghc-options:
-O2
-threaded
-rtsopts
2017-04-14 00:46:59 +03:00
build-depends:
2024-04-20 13:23:08 +03:00
hasql,
rerebase >=1 && <2,