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

name:           async-timer
version:        0.2.0.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.
category:       Concurrency
homepage:       https://github.com/mtesseract/async-timer#readme
bug-reports:    https://github.com/mtesseract/async-timer/issues
author:         Moritz Clasmeier
maintainer:     mtesseract@silverratio.net
copyright:      (c) 2016-2018 Moritz Clasmeier
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/async-timer

flag devel
  manual: True
  default: False

library
  hs-source-dirs:
      src
  build-depends:
      async >=2.2.1 && <2.3
    , base >=4.9.1.0 && <5
    , safe-exceptions >=0.1.7.0 && <0.2
    , unliftio >=0.2.4.0 && <0.3
    , unliftio-core >=0.1.1.0 && <0.2
  if flag(devel)
    ghc-options: -Wall -fno-warn-type-defaults -Werror
  else
    ghc-options: -Wall -fno-warn-type-defaults
  exposed-modules:
      Control.Concurrent.Async.Timer
  other-modules:
      Control.Concurrent.Async.Timer.Internal
      Paths_async_timer
  default-language: Haskell2010

test-suite async-timer-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  default-extensions: OverloadedStrings
  build-depends:
      async
    , async-timer
    , base
    , containers
    , criterion
    , tasty
    , tasty-hunit
  if flag(devel)
    ghc-options: -Wall -fno-warn-type-defaults -Werror
  else
    ghc-options: -Wall -fno-warn-type-defaults
  other-modules:
      Paths_async_timer
  default-language: Haskell2010