packages feed

wai-rate-limit-redis-0.2.0.0: wai-rate-limit-redis.cabal

cabal-version: 1.12

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

name:           wai-rate-limit-redis
version:        0.2.0.0
synopsis:       Redis backend for rate limiting as WAI middleware
description:    A Haskell library which implements rate limiting as WAI middleware
category:       Security
homepage:       https://github.com/mbg/wai-rate-limit#readme
bug-reports:    https://github.com/mbg/wai-rate-limit/issues
author:         Michael B. Gale
maintainer:     github@michael-gale.co.uk
copyright:      Copyright (c) Michael B. Gale
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/mbg/wai-rate-limit

library
  exposed-modules:
      Network.Wai.RateLimit.Redis
  other-modules:
      Paths_wai_rate_limit_redis
  hs-source-dirs:
      src
  default-extensions:
      OverloadedStrings
      LambdaCase
  ghc-options: -W
  build-depends:
      base >=4.8 && <5
    , bytestring >=0.9 && <0.11
    , hedis >=0.12 && <1
    , wai-rate-limit >=0.2 && <1
  default-language: Haskell2010

test-suite wai-rate-limit-redis-tests
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_wai_rate_limit_redis
  hs-source-dirs:
      test
  default-extensions:
      OverloadedStrings
      LambdaCase
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.8 && <5
    , bytestring >=0.9 && <0.11
    , hedis >=0.12 && <1
    , http-types
    , tasty
    , tasty-hedgehog
    , tasty-hunit
    , wai
    , wai-extra
    , wai-rate-limit
    , wai-rate-limit-redis
    , warp
  default-language: Haskell2010