Decision Workspace
subnet-garden-core vs subg vs ipnet
Side-by-side comparison of Rust crates
37
subnet-garden-core
growingv0.3.0
A library for managing IPv4 and IPv6 subnets
34
subg
growingv0.3.0
Command line interface for managing IPv4 and IPv6 subnets
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.
Core Metrics
| subnet-garden-core | subg | ipnet | |
|---|---|---|---|
| Health Score | 37 | 34 | 72 |
| Total Downloads | 6.7K | 6.2K | 345.0M |
| 30d Downloads | 25 | 7 | 26.1M |
| Dependents | 5 | 0 | 4.7K |
| Releases | 5 | 5 | 70 |
| Last Updated | 791d ago | 791d ago | 25d ago |
| Age | 2y 2m | 2y 2m | 8y 7m |
Health Breakdown
subnet-garden-core
Maintenance
5
Quality
9
Community
5
Popularity
5
Documentation
13
subg
Maintenance
5
Quality
8
Community
3
Popularity
5
Documentation
13
ipnet
Maintenance
17
Quality
21
Community
14
Popularity
8
Documentation
12
Technical Details
| subnet-garden-core | subg | ipnet | |
|---|---|---|---|
| Version | 0.3.0 | 0.3.0 | 2.12.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 10 | 5 |
| Crate Size | 11KB | 21KB | 31KB |
| Features | 0 | 0 | 9 |
| Yanked % | 20.0% | 20.0% | 1.4% |
| Edition | 2021 | 2021 | 2018 |
| 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-garden-core, subg have not been updated in over a year.
- •subnet-garden-core, subg are pre-1.0 — API may change.