| Crates.io | rate_limit |
| lib.rs | rate_limit |
| version | 0.1.1 |
| created_at | 2019-07-30 11:04:32.314272+00 |
| updated_at | 2019-07-30 13:16:14.558987+00 |
| description | A simple token-bucket style rate limiter |
| homepage | |
| repository | https://github.com/museun/rate_limit |
| max_upload_size | |
| id | 152882 |
| size | 10,797 |
This is a simple token-butcket style rate limiter
It provides neat features like an estimate of the next block
and possible inverse of the bucket (filling vs draining)
this provides both thread-safe and non-thread-safe versions