A rate-limiting library for Rust, providing token bucket and other algorithms.
# Cargo.toml
[dependencies]
governor = "0.10.4"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a rate limiter allowing 10 requests per second and check a single request.
Add `nonzero_ext` to your dependencies or use `NonZeroU32::new(10).unwrap()`.
No dependency data recorded yet.