IPv4 and IPv6 network structs.
Add this to your Cargo.toml:
Cargo.toml
toml [dependencies] ip_network = "0.1"
and this to your crate root:
rust extern crate ip_network;