actix-rate-limiter
is a simple yet powerful per-route rate limiter for
Actix with support for regex.
Right now, only in-memory storage is supported officially. But you can
create your own backend using the BackendProvider
trait. You can use
MemoryBackendProvider
as an example implementation.
We plan to add support for some other backends in the future, such as Redis. If you want to help with their development, please open a PR.
Check the examples folder of our repository to see the available code samples.
This library is licensed under MIT License.