Releases: alexheretic/spin-sleep
Releases · alexheretic/spin-sleep
spin-sleep-1.3.0
- Add
sleep_until
,SpinSleeper::sleep_until
.
spin-sleep-1.2.1
- Windows: Update windows-sys to 0.59.
spin-sleep-util-0.1.1
- Add
Interval::set_period
,Interval::tick_no_spin
.
spin-sleep-1.2.0
- Deprecate
LoopHelper
. Instead use spin_sleep_util crate. - Windows: Use a high resolution waitable timer when available (>= Windows 10, version 1803).
- Windows: Replace winapi with windows-sys dependency.
- Windows: Remove once_cell dependency.
spin-sleep-util-0.1.0
- Add
Interval
,RateReporter
.
1.1.1
- Fix LoopHelper increment overflow handling.
1.1.0
1.0.0
- Use rust 1.38 duration_float methods to replace manual implementations.
- Use edition 2018.
- Windows: Replace lazy_static dependency with once_cell.
0.3.7
report_rate()
no longer eagerly reports on first call, as this is often inaccurate & unexpected.
0.3.6
- Add
spin_sleep::sleep
- Add
LoopHelper::set_target_rate
&LoopHelper::target_rate
- Improve documentation