2022-03-18 18:00:33 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-limitation"
|
2022-03-22 16:36:41 +01:00
|
|
|
version = "0.2.0"
|
|
|
|
authors = [
|
|
|
|
"0xmad <0xmad@users.noreply.github.com>",
|
|
|
|
"Rob Ede <robjtede@icloud.com>",
|
|
|
|
]
|
2022-03-18 18:00:33 +01:00
|
|
|
description = "Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web"
|
|
|
|
keywords = ["actix-web", "rate-api", "rate-limit", "limitation"]
|
|
|
|
categories = ["asynchronous", "web-programming"]
|
|
|
|
repository = "https://github.com/actix/actix-extras.git"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-07-09 20:03:28 +02:00
|
|
|
actix-session = "0.7"
|
2022-03-18 18:00:33 +01:00
|
|
|
actix-utils = "3"
|
|
|
|
actix-web = { version = "4", default-features = false }
|
|
|
|
|
|
|
|
chrono = "0.4"
|
2022-03-20 01:40:34 +01:00
|
|
|
derive_more = "0.99.5"
|
2022-03-18 18:00:33 +01:00
|
|
|
log = "0.4"
|
2022-03-20 01:40:34 +01:00
|
|
|
redis = { version = "0.21", default-features = false, features = ["tokio-comp"] }
|
2022-03-18 18:00:33 +01:00
|
|
|
time = "0.3"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
actix-web = "4"
|
|
|
|
uuid = { version = "0.8", features = ["v4"] }
|
2022-03-20 01:40:34 +01:00
|
|
|
static_assertions = "1"
|