Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io Documentation

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:

[dependencies]
naptime = "0.1"

License

Licensed under the MIT License.

About

Rust library to get OS sleep/wake events

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages