packages feed

token-limiter-concurrent-0.1.0.0: token-limiter-concurrent.cabal

cabal-version: 1.12

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

name:           token-limiter-concurrent
version:        0.1.0.0
synopsis:       A thread-safe concurrent token-bucket rate limiter that guarantees fairness
homepage:       https://github.com/NorfairKing/token-limiter-concurrent#readme
bug-reports:    https://github.com/NorfairKing/token-limiter-concurrent/issues
author:         Tom Sydney Kerckhove
maintainer:     syd@cs-syd.eu
copyright:      Copyright (c) 2022-2024 Tom Sydney Kerckhove
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    LICENSE
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/NorfairKing/token-limiter-concurrent

library
  exposed-modules:
      Control.Concurrent.TokenLimiter.Concurrent
  other-modules:
      Paths_token_limiter_concurrent
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
  default-language: Haskell2010

test-suite token-limiter-concurrent-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Control.Concurrent.TokenLimiter.ConcurrentSpec
      Paths_token_limiter_concurrent
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      sydtest-discover:sydtest-discover
  build-depends:
      QuickCheck
    , async
    , base >=4.7 && <5
    , genvalidity
    , genvalidity-sydtest
    , stm
    , sydtest
    , token-limiter-concurrent
  default-language: Haskell2010