limitador 0.3.0-rc1

Rate limiting library
Documentation

Limitador (library)

Crates.io docs.rs

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 of Conditions
  • default: 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:

[dependencies]
limitador = { version = "0.3.0", default-features = false }