3 ms·
I assume the website has something like "requests per second" quota, which then you'd want the `governor` crate [0]. It was recently used to implement rate lim
by michael_j_ward 6y ago
I assume the website has something like "requests per second" quota, which then you'd want the `governor` crate [0].
It was recently used to implement rate limiting middleware for both tide[1] and actix[2]
[0] https://docs.rs/governor/0.3.1/governor/_guide/index.html https://docs.rs/governor/0.3.1/governor/_guide/index.html
[1] https://github.com/ohmree/tide-governor https://github.com/ohmree/tide-governor
[2] https://github.com/AaronErhardt/actix-governor https://github.com/AaronErhardt/actix-governor