1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! OS-specific extensions. #[cfg(any(unix, doc))] #[cfg_attr(docsrs, doc(cfg(unix)))] pub mod unix; #[cfg(any(target_os = "linux", doc))] #[cfg_attr(docsrs, doc(cfg(target_os = "linux")))] pub mod linux; #[cfg(any(target_os = "macos", doc))] #[cfg_attr(docsrs, doc(cfg(target_os = "macos")))] pub mod macos; #[cfg(any(target_os = "windows", doc))] #[cfg_attr(docsrs, doc(cfg(target_os = "windows")))] pub mod windows;