1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
// Allow while hacking
#![allow(dead_code)]

pub use self::ipnet::{IpNet, Ipv4Net, Ipv6Net};
pub use self::parser::AddrParseError;

mod ipnet;

// Not sure if there is a way to reuse and extend std::net::parser
// because it's private. So it's reimplemented in parser.rs to add
// parsing for network types.
mod parser;