Decision Workspace
host-port-pair vs hostaddr vs use-socket
Side-by-side comparison of Rust crates
53
host-port-pair
growingv0.2.3
Owned host and port pair type for DNS names and IP addresses
55
hostaddr
growingv0.2.4
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.
49
use-socket
experimentalv0.1.0
Socket endpoint parsing and formatting helpers for RustUse.
Core Metrics
| host-port-pair | hostaddr | use-socket | |
|---|---|---|---|
| Health Score | 53 | 55 | 49 |
| Total Downloads | 9.3K | 40.7K | 21 |
| 30d Downloads | 0 | 6.5K | 0 |
| Dependents | 26 | 4 | 4 |
| Releases | 8 | 13 | 1 |
| Last Updated | 11d ago | 42d ago | 8d ago |
| Age | 2y 7m | 1y 2m | 8d |
Health Breakdown
host-port-pair
Maintenance
17
Quality
11
Community
10
Popularity
5
Documentation
10
hostaddr
Maintenance
16
Quality
10
Community
8
Popularity
6
Documentation
15
use-socket
Maintenance
12
Quality
15
Community
5
Popularity
2
Documentation
15
Technical Details
| host-port-pair | hostaddr | use-socket | |
|---|---|---|---|
| Version | 0.2.3 | 0.2.4 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 23 | 0 |
| Crate Size | 8KB | 44KB | 3KB |
| Features | 0 | 15 | 0 |
| Yanked % | 12.5% | 92.3% | 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 55/100, but none of the options score above 80.