packages feed

resource-pool-0.5.0.1: resource-pool.cabal

cabal-version:       3.0
build-type:          Simple
name:                resource-pool
version:             0.5.0.1
license:             BSD-3-Clause
license-file:        LICENSE
category:            Data, Database, Network
maintainer:          andrzej@rybczak.net
author:              Andrzej Rybczak, Bryan O'Sullivan

synopsis:            A high-performance striped resource pooling implementation

description: A high-performance striped pooling abstraction for managing
             flexibly-sized collections of resources such as database
             connections.

tested-with: GHC == { 8.10.7, 9.0.2, 9.2.8, 9.4.8, 9.6.7, 9.8.4, 9.10.3, 9.12.4, 9.14.1 }

extra-doc-files:
  CHANGELOG.md
  README.md

bug-reports: https://github.com/scrive/pool/issues
source-repository head
  type:     git
  location: https://github.com/scrive/pool.git

library
  hs-source-dirs:  src

  exposed-modules: Data.Pool
                   Data.Pool.Internal
                   Data.Pool.Introspection

  build-depends: base >= 4.14 && < 5
               , hashable >= 1.1.0.0
               , primitive >= 0.7
               , stm
               , text
               , time

  ghc-options:      -Wall
                    -Wcompat
                    -Wmissing-deriving-strategies
                    -Werror=prepositive-qualified-module

  default-language: Haskell2010

  default-extensions: DeriveGeneric
                    , DerivingStrategies
                    , ImportQualifiedPost
                    , LambdaCase
                    , RankNTypes
                    , ScopedTypeVariables
                    , TypeApplications

test-suite test
  type:            exitcode-stdio-1.0
  hs-source-dirs:  test

  main-is:         Main.hs

  build-depends: base
               , async
               , resource-pool
               , stm
               , tasty
               , tasty-hunit
               , text

  ghc-options:      -Wall
                    -Wcompat
                    -Wmissing-deriving-strategies
                    -Werror=prepositive-qualified-module
                    -threaded
                    -rtsopts
                    "-with-rtsopts=-N4"

  default-language: Haskell2010

  default-extensions: DerivingStrategies
                    , ImportQualifiedPost
                    , LambdaCase
                    , ScopedTypeVariables
                    , TypeApplications