name:                async-timer
version:             0.1.4.0
synopsis:            Provides API for timer based execution of IO actions
description:         This is a lightweight package built on top of the async package
                     providing easy to use periodic timers. This can be used for executing
                     IO actions periodically.
homepage:            https://github.com/mtesseract/async-timer
license:             BSD3
license-file:        LICENSE
author:              Moritz Schulte
maintainer:          mtesseract@silverratio.net
copyright:           (c) 2016-2017 Moritz Schulte
category:            Concurrency
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Control.Concurrent.Async.Timer
                     , Control.Concurrent.Async.Timer.Unsafe
  other-modules:       Control.Concurrent.Async.Timer.Internal
  build-depends:       base >= 4.9.1.0 && < 5
                     , lifted-base >= 0.2.3.11 && < 0.3
                     , lifted-async >= 0.9.1.1 && < 0.10
                     , monad-control >= 1.0.1.0 && < 1.1
                     , safe-exceptions >= 0.1.5.0 && < 0.2
                     , transformers-base >= 0.4.4 && < 0.5
  default-language:    Haskell2010
  ghc-options:         -Wall -fno-warn-type-defaults

test-suite async-timer-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , lifted-async
                     , async-timer
                     , HUnit
                     , test-framework
                     , test-framework-hunit
                     , containers
                     , criterion
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010
  default-extensions:  OverloadedStrings

source-repository head
  type:     git
  location: https://github.com/mtesseract/async-timer