[![Crates.io](https://img.shields.io/crates/v/naptime)](https://crates.io/crates/naptime) [![Documentation](https://docs.rs/naptime/badge.svg)](https://docs.rs/naptime) `naptime` is a library that lets you subscribe to sleep and wake events from the OS and lets you request an idle sleep query to be denied. ## Note At the moment only macos is supported. Windows support is coming ... ## Usage Add this to your `Cargo.toml`: ```toml [dependencies] naptime = "0.1" ``` ## License Licensed under the [MIT License](LICENSE).