1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/// base info #[cfg(target_os = "windows")] mod win; #[cfg(target_os = "windows")] pub use win::get_interfaces; #[cfg(not(target_os = "windows"))] pub use unix::*; mod r#type; pub use r#type::*; // #[cfg(any(target_os = "unix", target_os = "linux"))] // mod unix; // #[cfg(any(target_os = "unix", target_os = "linux"))] // use unix::get_interfaces; mod memalloc;