cargo ipnet 2.0.0
Remove Emu128 and implement native 128-bit integers

latest releases: 2.12.2, 2.12.1, 2.12.0...
8 years ago
  • The Emu128 module has been removed. This provided an emulated 128-bit integer for supporting IPv6 addresses. As of Rust 1.26 the built-in 128-bit integers have been marked stable and this library has been updated to use these instead of Emu128.

  • The with-serde feature name shim has been removed. The serde feature should now be used using the bare serde feature name per the Rust API Guidelines.

  • The Deref on Ipv4Net and Ipv6Net has been removed. This dereferenced to the Ipv4Addr and Ipv6Addr contained in the type. To use these methods call them directly on the contained IP address of interest, which may be accessed using the addr() or network() methods.

  • In prior versions it was necessary to use the Contains trait to access the contains() methods. These are now inherited in public methods on the IpNet, Ipv4Net, and Ipv6Net types so are always available.

  • The implementations of IpAdd<u32> and IpSub<u32> for IpAddr have been removed.

  • The implementations of IpAdd<u32> and IpSub<u32> for Ipv6Addr have been removed.

Don't miss a new ipnet release

NewReleases is sending notifications on new releases.