ipnet
v2.12.0 StableProvides 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 is guaranteed to compile using the stable toolchain.
Quick Verdict
- โActively maintained (updated 25d ago)
- โStable API (2.x for 8+ years)
- โMassive adoption (4.7K crates depend on it)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
26.9M downloads in the last 30 days (897.7K/day), up 37% from the previous period.
4.7K crates depend on ipnet. Strong ecosystem adoption means battle-tested code and long-term stability.
ipnet has only 1 owner despite 4.7K dependents. This is a bus-factor concern โ consider the implications for long-term support.
The API has been stable (1.x) for over 8 years with 70 releases. This level of maturity means you can depend on it without worrying about breaking changes.
At 30KB, ipnet is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include hyper-util, sqlx-core, sqlx-postgres, trust-dns-proto, hickory-proto. When high-quality crates choose ipnet, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Version Adoption
Release Timeline
Feature Flags
default =["std"]