limitation-v0.4.0
版本发布时间: 2022-09-11 07:07:09
actix/actix-extras最新发布版本:session-v0.10.1(2024-09-13 02:57:02)
- Add
Builder::key_by
for setting a custom rate limit key function. - Implement
Default
forRateLimiter
. -
RateLimiter
is marked#[non_exhaustive]
; useRateLimiter::default()
instead. - In the middleware errors from the count function are matched and respond with
INTERNAL_SERVER_ERROR
if it's an unexpected error, instead of the defaultTOO_MANY_REQUESTS
. - Minimum supported Rust version (MSRV) is now 1.59 due to transitive
time
dependency.