Thanks to visit codestin.com
Credit goes to docs.rs

hotkey/
lib.rs

1#[cfg(target_os = "linux")]
2mod linux;
3#[cfg(windows)]
4mod windows;
5
6#[cfg(target_os = "linux")]
7pub use linux::*;
8#[cfg(windows)]
9pub use windows::*;