netip 0.2.0

IPv4/IPv6 network types with non-contiguous masks support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! IPv4/IPv6 network primitives.
//!
//! This library provides types for IP networks by extending the standard
//! library.
//!
//! Unlike most open-source libraries, this library is designed to support
//! non-contiguous masks.

mod macaddr;
mod net;

pub use macaddr::{MacAddr, MacAddrParseError};
pub use net::{
    Contiguous, ContiguousIpNetParseError, IpNetParseError, IpNetwork, Ipv4Network, Ipv4NetworkAddrs, Ipv6Network,
    Ipv6NetworkAddrs, ipv4_binary_split, ipv6_binary_split,
};