limitador

Crates.iolimitador
lib.rslimitador
version0.6.0
sourcesrc
created_at2020-07-29 10:33:25.195586
updated_at2024-05-03 15:19:17.320827
descriptionRate limiting library
homepagehttps://kuadrant.io
repositoryhttps://github.com/kuadrant/limitador
max_upload_size
id270885
size255,233
kuadrant-dev (kuadrant-dev)

documentation

https://docs.rs/limitador

README

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 }
Commit count: 905

cargo fmt