Decision Workspace
subnet-utils vs ipnet vs ipnetwork
Side-by-side comparison of Rust crates
36
subnet-utils
growingv0.1.0
A Rust subnet utility library
72
ipnet
stablev2.12.0
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.
55
ipnetwork
growingv0.21.1
A library to work with IP CIDRs in Rust
Core Metrics
| subnet-utils | ipnet | ipnetwork | |
|---|---|---|---|
| Health Score | 36 | 72 | 55 |
| Total Downloads | 933 | 345.0M | 58.7M |
| 30d Downloads | 3 | 26.1M | 5.0M |
| Dependents | 0 | 4.7K | 3.2K |
| Releases | 1 | 70 | 46 |
| Last Updated | 480d ago | 25d ago | 444d ago |
| Age | 1y 3m | 8y 7m | 10y 11m |
Health Breakdown
subnet-utils
Maintenance
2
Quality
15
Community
5
Popularity
4
Documentation
10
ipnet
Maintenance
17
Quality
21
Community
14
Popularity
8
Documentation
12
ipnetwork
Maintenance
7
Quality
15
Community
15
Popularity
8
Documentation
10
Technical Details
| subnet-utils | ipnet | ipnetwork | |
|---|---|---|---|
| Version | 0.1.0 | 2.12.0 | 0.21.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 5 |
| Crate Size | 3KB | 31KB | 20KB |
| Features | 0 | 9 | 1 |
| Yanked % | 0.0% | 1.4% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | — | — | — |
| 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 4.7K crates — strongest ecosystem trust.
- •⚠ subnet-utils, ipnetwork have not been updated in over a year.
- •subnet-utils, ipnetwork are pre-1.0 — API may change.