Limitador (library)¶
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
Features¶
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 ofCondition
sdefault
:redis_storage
.
WebAssembly support¶
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: