packages feed

flush-queue-1.0.0: flush-queue.cabal

name:           flush-queue
version:        1.0.0
synopsis:       Concurrent bouded blocking queues optimized for flushing. Both IO and STM implementations.
description:    Please see the README on GitHub at <https://github.com/fpco/flush-queue#readme>
homepage:       https://github.com/fpco/flush-queue#readme
bug-reports:    https://github.com/fpco/flush-queue/issues
author:         Alexey Kuleshevich
maintainer:     alexey@fpcomplete.com
copyright:      2018-2019 FP Complete
category:       Concurrency
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/fpco/flush-queue

library
  exposed-modules: Control.Concurrent.BFQueue
                   Control.Concurrent.STM.TBFQueue
  other-modules: Control.Concurrent.BQueue
  hs-source-dirs: src
  build-depends: base >=4.8 && <5
               , stm
               , atomic-primops
               , containers
  default-language: Haskell2010

test-suite tests
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules: Control.Concurrent.BFQueueSpec
               , Control.Concurrent.STM.TBFQueueSpec
  hs-source-dirs: test
  ghc-options:  -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends: base >=4.9 && <5
               , async >= 2.1.1
               , stm
               , flush-queue
               , QuickCheck
               , hspec
  default-language: Haskell2010

benchmark bench
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Benchmark.hs
  ghc-options:         -Wall -threaded -O2 -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , stm >= 2.4.5
                     , async >= 2.1.1
                     , flush-queue
                     , old-time
                     , deepseq
  default-language:    Haskell2010