Decision Workspace
host-port-pair vs hostaddr vs use-socket
Side-by-side comparison of Rust crates
45
host-port-pair
growingv0.2.3
Owned host and port pair type for DNS names and IP addresses
58
hostaddr
growingv0.3.0
Type-safe, validated DNS domain names, hosts, and host addresses with IDNA/punycode support. Generic over storage (`String`, `Arc<str>`, `Vec<u8>`, stack-allocated `Buffer`, etc.) and `no_std`/`no-alloc` compatible.
43
use-socket
experimentalv0.1.0
Socket endpoint parsing and formatting helpers for RustUse.
Core Metrics
| host-port-pair | hostaddr | use-socket | |
|---|---|---|---|
| Health Score | 45 | 58 | 43 |
| Total Downloads | 9.6K | 79.6K | 98 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 26 | 4 | 4 |
| Releases | 8 | 16 | 1 |
| Last Updated | 148d ago | 2d ago | 146d ago |
| Age | 3y | 1y 6m | 4m |
Health Breakdown
host-port-pair
Maintenance
9
Quality
11
Community
10
Popularity
5
Documentation
10
hostaddr
Maintenance
19
Quality
10
Community
8
Popularity
6
Documentation
15
use-socket
Maintenance
6
Quality
15
Community
5
Popularity
2
Documentation
15
Technical Details
| host-port-pair | hostaddr | use-socket | |
|---|---|---|---|
| Version | 0.2.3 | 0.3.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 25 | 0 |
| Crate Size | 8KB | 58KB | 3KB |
| Features | 0 | 16 | 0 |
| Yanked % | 12.5% | 75.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.83 | 1.95.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hostaddr leads with a health score of 58/100, but none of the options score above 80.