packages feed

postgresql-replicant-0.1.0.1: postgresql-replicant.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: b9e10bcacd11fef9dd3cf878a5223b111e9355f146fc121702189290e50c23ed

name:           postgresql-replicant
version:        0.1.0.1
synopsis:       PostgreSQL logical streaming replication library
description:    Please see the README on GitHub at <https://github.com/agentultra/postgres-replicant#readme>
category:       Experimental, Database
homepage:       https://github.com/agentultra/postgresql-replicant#readme
bug-reports:    https://github.com/agentultra/postgresql-replicant/issues
author:         James King
maintainer:     james@agentultra.com
copyright:      2020, 2021, James King
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md
    LICENSE

source-repository head
  type: git
  location: https://github.com/agentultra/postgresql-replicant

library
  exposed-modules:
      Database.PostgreSQL.Replicant
      Database.PostgreSQL.Replicant.Exception
      Database.PostgreSQL.Replicant.Message
      Database.PostgreSQL.Replicant.PostgresUtils
      Database.PostgreSQL.Replicant.Protocol
      Database.PostgreSQL.Replicant.Queue
      Database.PostgreSQL.Replicant.ReplicationSlot
      Database.PostgreSQL.Replicant.Serialize
      Database.PostgreSQL.Replicant.State
      Database.PostgreSQL.Replicant.Types.Lsn
      Database.PostgreSQL.Replicant.Util
  other-modules:
      Paths_postgresql_replicant
  hs-source-dirs:
      src
  default-extensions: DeriveGeneric GADTs LambdaCase OverloadedStrings TypeApplications
  build-depends:
      aeson
    , async
    , attoparsec
    , base >=4.7 && <5
    , bits
    , bytestring
    , cereal
    , containers
    , keep-alive
    , postgresql-libpq
    , scientific
    , stm
    , text
    , time
  default-language: Haskell2010

executable replicant-example
  main-is: Main.hs
  other-modules:
      Paths_postgresql_replicant
  hs-source-dirs:
      app
  default-extensions: DeriveGeneric GADTs LambdaCase OverloadedStrings TypeApplications
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , postgresql-libpq
    , postgresql-replicant
  default-language: Haskell2010

test-suite postgres-replicant-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_postgresql_replicant
  hs-source-dirs:
      test
  default-extensions: DeriveGeneric GADTs LambdaCase OverloadedStrings TypeApplications
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , binary
    , bytestring
    , cereal
    , hspec
    , postgresql-replicant
  default-language: Haskell2010