pub use std::time::Duration;
#[cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))]
pub use std::time::{SystemTime, SystemTimeError, UNIX_EPOCH};
#[cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))]
pub use tokio::time::{
error::Elapsed, interval, interval_at, sleep, sleep_until, timeout, timeout_at, Instant, Interval,
MissedTickBehavior, Sleep, Timeout,
};
#[cfg(all(target_arch = "wasm32", not(target_os = "wasi")))]
pub use wasmtimer::{
std::{Instant, SystemTime, SystemTimeError, UNIX_EPOCH},
tokio::{
error::Elapsed, interval, interval_at, sleep, sleep_until, timeout, timeout_at, Interval, MissedTickBehavior,
Sleep, Timeout,
},
};