#[cfg(feature = "std")]
pub mod system_clock;
#[cfg(feature = "std")]
pub mod thread_local_ctxt;
#[cfg(feature = "rand")]
pub mod rand_rng;
pub type DefaultEmitter = crate::Empty;
pub type DefaultFilter = crate::Empty;
#[cfg(not(feature = "rand"))]
pub type DefaultRng = crate::Empty;
#[cfg(feature = "rand")]
pub type DefaultRng = rand_rng::RandRng;
#[cfg(feature = "std")]
mod std_support {
use super::*;
#[cfg(not(all(
target_arch = "wasm32",
target_vendor = "unknown",
target_os = "unknown"
)))]
pub type DefaultClock = system_clock::SystemClock;
#[cfg(all(
target_arch = "wasm32",
target_vendor = "unknown",
target_os = "unknown"
))]
pub type DefaultClock = crate::Empty;
pub type DefaultCtxt = thread_local_ctxt::ThreadLocalCtxt;
}
#[cfg(feature = "std")]
pub use self::std_support::*;
#[cfg(not(feature = "std"))]
mod no_std_support {
#[cfg(not(feature = "std"))]
pub type DefaultClock = crate::Empty;
#[cfg(not(feature = "std"))]
pub type DefaultCtxt = crate::Empty;
}
#[cfg(not(feature = "std"))]
pub use self::no_std_support::*;