achanda / ipnetwork

A library to work with CIDRs in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage of std::net::IpAddr is unstable

faern opened this issue · comments

When reverting using the ip crate and using std::net::IpAddr instead this crate does not build on stable rust.

I have been building and testing against nightly. I do agree that using the ip crate will make it more usable across all releases of rust. I will go ahead and revert the revert. Thanks.

Updated and published v0.6.0. Closing the issue now.

std::net::IpAddr is now stable in rust 1.7.0. The developer of ip is suggesting std::net::IpAddr[1].

[1] https://github.com/dimbleby/ip-rs

Updated and published. Thanks @oblique