Crates.io | ratelimit |
lib.rs | ratelimit |
version | 0.10.0 |
source | src |
created_at | 2015-10-02 17:47:18.892403 |
updated_at | 2024-10-31 23:35:26.968836 |
description | A simple ratelimiter that can be shared between threads |
homepage | https://github.com/pelikan-io/rustcommon |
repository | https://github.com/pelikan-io/rustcommon |
max_upload_size | |
id | 3145 |
size | 33,230 |
A simple ratelimiter that can be shared between threads.
This crate provides a ratelimiter that is based around a token bucket. It can be used in cases where you need to control the rate of some actions or where you may need to use admission control.
The API documentation of this library can be found at docs.rs/ratelimit.
Licensed under either of
at your option.
Create a new issue on GitHub.
A full list of contributors can be found on GitHub.