sys nosleep-mac-sys

Block power save mode for macOS

6 releases

0.2.1 Nov 20, 2022
0.2.0 May 8, 2022
0.2.0-rc.2 May 7, 2022
0.2.0-rc.1 May 4, 2022
0.1.0 Apr 21, 2022

47 downloads per month
Used in 2 crates (via nosleep)

MIT license

8KB
127 lines

nosleep-mac-sys

macOS library to block the power save function and preventing the OS to sleep.


lib.rs:

Thin wrapper utility that provides utility methods to block and unblock the macOS power save mode

Dependencies

~1.6–2.3MB
~53K SLoC