1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00
actix-extras/actix-limitation/Cargo.toml

44 lines
1.1 KiB
TOML
Raw Normal View History

[package]
name = "actix-limitation"
version = "0.5.1"
2022-03-22 16:36:41 +01:00
authors = [
"0xmad <0xmad@users.noreply.github.com>",
"Rob Ede <robjtede@icloud.com>",
]
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"]
2024-06-20 03:18:37 +02:00
repository = "https://github.com/actix/actix-extras"
2023-09-16 01:30:38 +02:00
license.workspace = true
edition.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[features]
default = ["session"]
session = ["actix-session"]
[dependencies]
actix-utils = "3"
2023-09-16 04:35:56 +02:00
actix-web = { version = "4", default-features = false, features = ["cookies"] }
chrono = "0.4"
2023-01-07 02:08:01 +01:00
derive_more = "0.99.7"
log = "0.4"
redis = { version = "0.26", default-features = false, features = ["tokio-comp"] }
time = "0.3"
# session
actix-session = { version = "0.9", optional = true }
[dev-dependencies]
actix-web = "4"
static_assertions = "1"
2022-07-09 20:58:42 +02:00
uuid = { version = "1", features = ["v4"] }
2024-06-20 03:14:35 +02:00
[lints]
workspace = true