Crates.io | speedbump |
lib.rs | speedbump |
version | 0.1.0 |
created_at | 2025-05-04 01:46:23.857033+00 |
updated_at | 2025-05-04 01:46:23.857033+00 |
description | An extensible rate limiting library. |
homepage | |
repository | https://github.com/samvrlewis/speedbump |
max_upload_size | |
id | 1659324 |
size | 24,219 |
Flexible and extensible rate limiting with batteries included implementations.
The crate is built around two (user-definable) traits.
These traits are used within a Limiter
struct, which orchestrates the retrieval of state from the Store
and the application of the Strategy
to decide whether a request should be rejected or allowed. This
Limiter
can then be integrated into middleware.