iprange-rs
iprange is a Rust library for managing IP ranges.
It provides fast adding and removing operations.
It also provides merge, intersect and exclude methods
that enable you to manipulate it like a set.
Of course, you can test whether an IP address is in an IpRange.
See the documentation for details.
Example
extern crate iprange;
use Ipv4Addr;
use IpRange;
License
iprange is licensed under the MIT license.