Decision Workspace
netindex vs ipnet vs cidr-utils
Side-by-side comparison of Rust crates
55
netindex
experimentalv2.0.2
Immutable IP-range and ASN indexes with borrowed payloads
72
ipnet
stablev2.12.2
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 is guaranteed to compile using the stable toolchain.
62
cidr-utils
growingv0.7.1
This crate provides functions for working with IPv4 CIDRs and IPv6 CIDRs.
Core Metrics
| netindex | ipnet | cidr-utils | |
|---|---|---|---|
| Health Score | 55 | 72 | 62 |
| Total Downloads | 79 | 634.0M | 6.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 12.7K | 306 |
| Releases | 5 | 72 | 34 |
| Last Updated | 2d ago | 34d ago | 104d ago |
| Age | 3d | 9y 1m | 7y 6m |
Health Breakdown
netindex
Maintenance
19
Quality
16
Community
6
Popularity
2
Documentation
12
ipnet
Maintenance
17
Quality
21
Community
14
Popularity
8
Documentation
12
cidr-utils
Maintenance
13
Quality
17
Community
12
Popularity
8
Documentation
12
Technical Details
| netindex | ipnet | cidr-utils | |
|---|---|---|---|
| Version | 2.0.2 | 2.12.2 | 0.7.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 12 | 5 | 3 |
| Crate Size | 133KB | 31KB | 8KB |
| Features | 6 | 9 | 4 |
| Yanked % | 0.0% | 1.4% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | 1.95 | — | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ipnet leads with a health score of 72/100, but none of the options score above 80.
- •ipnet is depended on by 12.7K crates — strongest ecosystem trust.
- •cidr-utils is pre-1.0 — API may change.