#![forbid(unsafe_code)]
mod data;
#[cfg(any(
windows,
target_os = "linux",
target_os = "android",
target_os = "macos",
target_os = "ios",
target_os = "freebsd",
target_os = "netbsd"
))]
mod helper;
mod ip;
mod mac;
mod networks;
mod state;
pub use self::data::NetworkData;
#[cfg(any(
windows,
target_os = "linux",
target_os = "android",
target_os = "macos",
target_os = "ios",
target_os = "freebsd",
target_os = "netbsd"
))]
#[allow(unused_imports)]
pub(crate) use self::helper::refresh_networks_addresses;
pub use self::ip::{IpNetwork, IpNetworkFromStrError};
pub use self::mac::{MacAddr, MacAddrFromStrError};
pub use self::networks::Networks;
pub use self::state::InterfaceOperationalState;