leaky-bucket

A token-based rate limiter based on the leaky bucket algorithm.

APACHE-2.0 License

Downloads
764.4K
Stars
86
Committers
4
leaky-bucket - 1.1.2 Latest Release

Published by udoprog 5 months ago

What's Changed

Full Changelog: https://github.com/udoprog/leaky-bucket/compare/1.1.1...1.1.2

leaky-bucket - 1.1.1

Published by udoprog 5 months ago

leaky-bucket - 1.1.0

Published by udoprog 5 months ago

What's Changed

Full Changelog: https://github.com/udoprog/leaky-bucket/compare/1.0.1...1.1.0

leaky-bucket -

Published by udoprog about 1 year ago

leaky-bucket -

Published by udoprog over 1 year ago

The library is now as feature complete as I want it to be.

Added

  • Dropped tasks now release the tokens they have acquired, preventing the rate limiter from starving by frequently dropped tasks eating up tokens.
leaky-bucket -

Published by udoprog over 1 year ago

This is a small maintenance release which updates some documentation and bumps dependencies to MSRV compatible versions.

Package Rankings
Top 8.65% on Crates.io