ipnetx 0.3.0

ipnetx is the crate for set operations on IP address space — union, intersection, difference, and complement over arbitrary collections of ranges and CIDR prefixes, for both IPv4 and IPv6.
Documentation
1
2
3
4
5
// The Sealed trait is a library contract.
// - It stops users of the crate from implementing it for their own types.
pub trait Sealed {}
impl Sealed for std::net::Ipv4Addr {}
impl Sealed for std::net::Ipv6Addr {}