cidr-radix
Zero-Dependency Zero-Allocation IPv4/IPv6 CIDR Parser, Matcher & Radix Set
Overview
cidr-radix provides zero-dependency IPv4 and IPv6 CIDR parsing, canonical masking, branchless containment checks, and a coalesced radix IpCidrSet for allowlists, firewalls, and trusted-proxy validation.
Installation
Usage
use ;
use ;
let v4 = parse.unwrap;
let v6 = parse.unwrap;
let mut builder = builder;
builder.insert_v4;
builder.insert_v6;
let set = builder.build;
assert!;
Verification
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For inquiries, please contact the author at root@devhub.vip.