A tiny crate providing the IpAddr enum, which can represent either an IPv4 or an IPv6 address.
As of Rust 1.7.0, the std::net::IpAddr is stabilized - and should be preferred.
API documentation is here.
In Cargo.toml:
[dependencies]
ip = "*"And in your crate root:
extern crate ip;