Crates.io | limitador |
lib.rs | limitador |
version | 0.6.0 |
source | src |
created_at | 2020-07-29 10:33:25.195586 |
updated_at | 2024-05-03 15:19:17.320827 |
description | Rate limiting library |
homepage | https://kuadrant.io |
repository | https://github.com/kuadrant/limitador |
max_upload_size | |
id | 270885 |
size | 255,233 |
An embeddable rate-limiter library supporting in-memory, Redis and Infinispan data stores. Limitador can also be compiled to WebAssembly.
For the complete documentation of the crate's API, please refer to docs.rs
redis_storage
: support for using Redis as the data storage backend.infinispan_storage
: support for using Infinispan as the data storage backend.lenient_conditions
: support for the deprecated syntax of Condition
sdefault
: redis_storage
.To use Limitador in a project that compiles to WASM, there are some features
that need to be disabled. Add this to your Cargo.toml
instead:
[dependencies]
limitador = { version = "0.3.0", default-features = false }