#[cfg(all(feature = "platform_specific_functions_darwin", target_vendor = "apple"))]
mod darwin;
#[cfg(all(feature = "platform_specific_functions_unix", not(target_vendor = "apple"), target_family = "unix"))]
mod unix;
#[cfg(all(feature = "platform_specific_functions_windows", target_family = "windows"))]
mod windows;
#[cfg(any(
feature = "platform_specific_functions_darwin",
feature = "platform_specific_functions_unix",
feature = "platform_specific_functions_windows"
))]
macro_rules! import_functions {
($platform:ident) => {
pub use self::$platform::{time};
pub use self::$platform::{tz};
};
}
#[cfg(all(feature = "platform_specific_functions_darwin", target_vendor = "apple"))]
import_functions!(darwin);
#[cfg(all(feature = "platform_specific_functions_unix", not(target_vendor = "apple"), target_family = "unix"))]
import_functions!(unix);
#[cfg(all(feature = "platform_specific_functions_windows", target_family = "windows"))]
import_functions!(windows);