Releases: tikv/async-speed-limit
Releases · tikv/async-speed-limit
v0.4.2
- Added
<Limiter>::builder(_).min_wait(x)
configuration to change the minimal waiting time after speed limit has exceeded.
v0.4.1
- 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
- Added the
Limiter::unconsume
and Limiter::consume_duration
functions
- Minimum supported Rust version is now 1.54.0.
v0.3.1
- Improved performance when using infinity as speed limit.
v0.3.0
- Fixed the bug where using
Limited<impl AsyncRead>
on Tokio 0.1 does not return any initialized bytes.
v0.2.0
- Supports synchronous speed limiting via blocking sleep (
std::time::sleep()
).
- Supports unlimited speed by special-casing
std::f64::INFINITY
.