Skip to content

Releases: tikv/async-speed-limit

v0.4.2

05 Oct 15:32
7773017
Compare
Choose a tag to compare
  • Added <Limiter>::builder(_).min_wait(x) configuration to change the minimal waiting time after speed limit has exceeded.

v0.4.1

07 Aug 08:02
0e74acf
Compare
Choose a tag to compare
  • Removed the nightly read-initializer feature as it has been removed from futures-io 0.3.19.
  • Experimental support of tokio 1.0.

v0.4.0

15 Sep 15:00
cc8c8b2
Compare
Choose a tag to compare
  • Added the Limiter::unconsume and Limiter::consume_duration functions
  • Minimum supported Rust version is now 1.54.0.

v0.3.1

11 Dec 09:35
691439d
Compare
Choose a tag to compare
  • Improved performance when using infinity as speed limit.

v0.3.0

23 Feb 07:26
2dc8eb9
Compare
Choose a tag to compare
  • Fixed the bug where using Limited<impl AsyncRead> on Tokio 0.1 does not return any initialized bytes.

v0.2.0

23 Feb 07:04
7ce5be0
Compare
Choose a tag to compare
  • Supports synchronous speed limiting via blocking sleep (std::time::sleep()).
  • Supports unlimited speed by special-casing std::f64::INFINITY.

v0.1.0

23 Feb 06:55
v0.1.0
fdec522
Compare
Choose a tag to compare

Initial version