consumers-2.3.4.0: consumers.cabal
cabal-version: 3.0
name: consumers
version: 2.3.4.0
synopsis: Concurrent PostgreSQL data consumers
description: Library for setting up concurrent consumers of data
stored inside PostgreSQL database in a simple,
declarative manner.
homepage: https://github.com/scrive/consumers
license: BSD-3-Clause
license-file: LICENSE
extra-source-files: CHANGELOG.md, README.md
author: Scrive AB
maintainer: Andrzej Rybczak <andrzej@rybczak.net>,
Jonathan Jouty <jonathan.jouty@scrive.com>
copyright: Scrive AB
category: Concurrency, Database
build-type: Simple
tested-with: GHC == { 9.2.8, 9.4.8, 9.6.7, 9.8.4, 9.10.3, 9.12.2, 9.14.1 }
bug-reports: https://github.com/scrive/consumers/issues
source-repository head
type: git
location: https://github.com/scrive/consumers.git
common language
ghc-options: -Wall -Wcompat -Werror=prepositive-qualified-module
default-language: Haskell2010
default-extensions: DeriveDataTypeable
, ExistentialQuantification
, FlexibleContexts
, GeneralizedNewtypeDeriving
, ImportQualifiedPost
, LambdaCase
, MultiParamTypeClasses
, OverloadedStrings
, RankNTypes
, RecordWildCards
, ScopedTypeVariables
, TupleSections
, TypeApplications
, TypeFamilies
, UndecidableInstances
library
import: language
exposed-modules: Database.PostgreSQL.Consumers,
Database.PostgreSQL.Consumers.Config,
Database.PostgreSQL.Consumers.Consumer,
Database.PostgreSQL.Consumers.Components,
Database.PostgreSQL.Consumers.Utils
build-depends: base >= 4.16 && < 5
, aeson >= 2.0
, containers >= 0.5
, exceptions >= 0.10
, hpqtypes >= 1.13
, lifted-base >= 0.2
, lifted-threads >= 1.0
, log-base >= 0.11
, monad-control >= 1.0
, monad-time >= 0.4
, mtl >= 2.2
, safe-exceptions >= 0.1.7
, stm >= 2.4
, text >= 1.2
, time >= 1.6
, transformers-base >= 0.4
hs-source-dirs: src
test-suite consumers-example
ghc-options: -threaded -Wall -Wcompat
build-depends: base,
consumers,
hpqtypes,
hpqtypes-extras >= 1.17.0.1,
log-base,
text
hs-source-dirs: example
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Example.hs
test-suite consumers-test
import: language
ghc-options: -threaded
build-depends: base,
consumers,
exceptions,
HUnit,
hpqtypes,
hpqtypes-extras >= 1.19.0.0,
log-base,
monad-control,
monad-time,
mtl,
stm,
text,
time,
transformers-base
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: Test.hs