tower-rate-limiter 0.1.1

Keyed fixed-window rate limiting middleware for Tower
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Concrete rate-limit storage adapters.

#[cfg(feature = "memory")]
mod memory;

#[cfg(feature = "memory")]
pub use memory::MemoryStore;

#[cfg(feature = "redis")]
mod redis;

#[cfg(feature = "redis")]
pub use redis::{RedisStore, RedisStoreFuture};