1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#[cfg(target_arch = "wasm32")]
pub mod web;
#[cfg(target_arch = "wasm32")]
pub use web::WebTimer;
#[cfg(windows)]
pub mod win;
#[cfg(windows)]
pub use win::WinTimer;
#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod posix;
#[cfg(any(target_os = "linux", target_os = "android"))]
pub use posix::PosixTimer;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub mod apple;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub use apple::AppleTimer;
pub mod dummy;
pub use dummy::DummyTimer;