cargo ipnet 2.3.0
Implement Default on IpNet, Ipv4Net, and Ipv6Net

latest releases: 2.12.2, 2.12.1, 2.12.0...
6 years ago
  • Merge @imp's Default implementation. See #18. Ipv4Net and Ipv6Net now default to 0.0.0.0/0 and ::/0 respectively. IpNet defaults to the 0/0 Ipv4Net.

  • Add #[allow(arithmetic_overflow)] for Ipv4AddrRange::count() and Ipv6AddrRange::count(). Since 1.43.0-nightly it gives a build error but this panic behavior is desired. In future it may be replaced with explicit use of panic!. See #21.

Don't miss a new ipnet release

NewReleases is sending notifications on new releases.