forked from TerminalWitchcraft/actix-ratelimit
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (35 loc) · 1.3 KB
/
Cargo.toml
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
[package]
name = "actix-ratelimit"
version = "0.3.1"
authors = ["Hitesh Paul <[email protected]>"]
edition = "2018"
description = "Rate limiting middleware framework for actix-web"
homepage = "https://github.com/TerminalWitchcraft/actix-ratelimit"
repository = "https://github.com/TerminalWitchcraft/actix-ratelimit"
readme = "./README.md"
keywords = ["actix", "actix-web", "ratelimit", "middleware", "rate-limiting"]
categories = ["web-programming::http-server", "web-programming", "asynchronous", "caching", "web-programming::http-client"]
license = "MIT"
[badges]
maintenance = { status = "actively-developed" }
travis-ci = { repository = "TerminalWitchcraft/actix-ratelimit", branch = "master" }
[features]
default = ["memory", "redis-store", "memcached"]
memory = ["dashmap"]
redis-store = ["redis_rs", "backoff"]
memcached = ["r2d2-memcache", "backoff"]
[dependencies]
log = "0.4.11"
actix-web = {version = "3.3.2"}
actix-http = {version = "2.2.0", features=["actors"]}
actix = "0.10"
futures = "0.3.8"
failure = "0.1.8"
dashmap = {version = "4.0.1", optional = true}
redis_rs = {version = "0.15.1", optional = true, package= "redis"}
backoff = {version = "0.2.1", optional = true}
r2d2-memcache = { version = "0.6", optional = true }
[dev-dependencies]
actix-rt = "1.1.1"
env_logger = "0.8.2"
version-sync = "0.9.1"