mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
Replace ipnet dependency with inline CidrRange for CIDR matching
Remove the ipnet crate and implement a lightweight CidrRange struct that handles IPv4/IPv6 CIDR parsing and containment checks using bitwise masking. Adds tests for invalid prefixes and cross-family non-matching.
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -114,7 +114,6 @@ dependencies = [
|
||||
"chrono",
|
||||
"idna",
|
||||
"if-addrs",
|
||||
"ipnet",
|
||||
"regex",
|
||||
"reqwest",
|
||||
"serde",
|
||||
|
||||
Reference in New Issue
Block a user