1
 2
 3
 4
 5
 6
 7
 8
 9
10
//! OS-specific extensions for public types.

cfg_if::cfg_if! {
    // Any unix except OpenBSD
    if #[cfg(any(doc, all(unix, not(target_os = "openbsd"))))] {
        pub mod unix;
    } else if #[cfg(any(doc, target_os = "windows"))] {
        pub mod windows;
    }
}