Install
ipnet
Provides types and useful methods for working with IPv4 and IPv6 network addresses, commonly called IP prefixes. The new `IpNet`, `Ipv4Net`, and `Ipv6Net` types build on the existing `IpAddr`, `Ipv4Addr`, and `Ipv6Addr` types already provided in Rust's standard library and align to their design to stay consistent. The module also provides useful traits that extend `Ipv4Addr` and `Ipv6Addr` with methods for `Add`, `Sub`, `BitAnd`, and `BitOr` operations. The module only uses stable feature so it
2.12.3Latest, 29 Nov 2026
241MDownloads, last 90 days
0Advisories on the latest
0Advisories, all versions
MIT OR Apache-2.0Licence
172Stars
3.0/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.