packages feed

throttle-io-stream-0.2.0.0: throttle-io-stream.cabal

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

name:           throttle-io-stream
version:        0.2.0.0
synopsis:       Throttler between arbitrary IO producer and consumer functions
description:    This packages provides functionality for throttling IO using general IO callbacks. The throttling depends on a provided configuration. The supported throttling modes are producer throttling, consumer throttling or producer & consumer throttling.
category:       Concurrency
homepage:       https://github.com/mtesseract/io-throttle#readme
bug-reports:    https://github.com/mtesseract/io-throttle/issues
author:         Moritz Schulte
maintainer:     mtesseract@silverratio.net
copyright:      (c) 2017 Moritz Schulte
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/mtesseract/io-throttle

library
  hs-source-dirs:
      src
  ghc-options: -Wall -fno-warn-type-defaults
  build-depends:
      base >=4.7 && <5
    , stm
    , async
    , stm-chans
    , clock
  exposed-modules:
      Control.Concurrent.Throttle
  other-modules:
      Control.Concurrent.Throttle.Ema
      Paths_throttle_io_stream
  default-language: Haskell2010

test-suite throttle-io-stream-test
  type: exitcode-stdio-1.0
  main-is: Simple.hs
  hs-source-dirs:
      tests
  ghc-options: -Wall -fno-warn-type-defaults -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-type-defaults
  build-depends:
      base >=4.7 && <5
    , stm
    , async
    , stm-chans
    , clock
    , base
    , throttle-io-stream
    , HUnit
    , test-framework
    , test-framework-hunit
    , say
    , text
    , bytestring
    , async
  default-language: Haskell2010