use-ip
use-ip provides small helpers for parsing, normalizing, and classifying IP address literals.
Experimental: this crate is below 0.3.0 and the API may change.
Example Usage
use ;
assert_eq!;
assert!;
assert_eq!;
Scope
- IP address validation and normalization.
- Basic IP classifications such as loopback, private, link-local, and multicast.
Non-goals
- Geolocation.
- Network interface inspection.
- Packet parsing.
License
Licensed under MIT OR Apache-2.0.