This crate exposes a common interface to in_addr between Unix and Windows. Get rid of these #[cfg]
s!
no-std
: Compile this crate with no_std
. Conversions to and from std::net::Ipv4Addr
will not be available.cfg(windows)
: https://docs.rs/inaddr/*/x8664-pc-windows-msvc/in_addr/cfg(unix)
: https://docs.rs/inaddr/*/x8664-unknown-linux-gnu/in_addr/