packages feed

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

cabal-version: 1.12

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

name:           wai-rate-limit-redis
version:        0.1.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:     m.gale@warwick.ac.uk
copyright:      Copyright (c) Michael B. Gale
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.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.1 && <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