-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwai-middleware-rate-limit.cabal
68 lines (64 loc) · 2.14 KB
/
wai-middleware-rate-limit.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: wai-middleware-rate-limit
version: 0.1.0.0
homepage: https://github.com/channable/wai-middleware-rate-limit
synopsis: Wai Middleware for rate-limiting HTTP requests
description: Rate-limit HTTP requests either on IP or on session tokens, or both.
category: Network
license: MIT
license-file: LICENSE
author: Channable Developers
maintainer: [email protected]
build-type: Simple
extra-source-files: README.md
cabal-version: >=2.0
flag example
description: enable example-app executable
default: True
source-repository head
type: git
location: https://github.com/channable/wai-middleware-rate-limit
library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules: Network.Wai.Middleware.RateLimit
other-modules:
Network.Wai.Middleware.RateLimit.Frequency
Network.Wai.Middleware.RateLimit.IP
Network.Wai.Middleware.RateLimit.LeakyBucket
Network.Wai.Middleware.RateLimit.RateLimit
build-depends: aeson
, async
, base >=4.6 && <5
, bytestring
, hashable
, http-types
, ip
, jwt
, mtl
, network
, stm
, stm-containers
, text
, time
, wai
, wide-word
executable wai-middleware-rate-limit-example
if flag(example)
buildable: True
else
buildable: True
default-language: Haskell2010
hs-source-dirs: example
main-is: Main.hs
build-depends: async
, base >=4.6 && <5
, hashable
, http-types
, monad-logger
, stm-containers
, text
, wai
, wai-app-static
, wai-extra
, wai-middleware-rate-limit
, warp