Decision Workspace
dns-lookup vs hclient-dns-system vs libnss-host4
Side-by-side comparison of Rust crates
72
dns-lookup
stablev4.0.2
A simple DNS resolving API, including getaddrinfo and getnameinfo wrappers for libc variants.
53
hclient-dns-system
experimentalv0.1.0-alpha.17
System resolver (getaddrinfo + res_query) for hclient via the Blocking capability
52
libnss-host4
experimentalv0.2.2
A convenient way to implement the glibc gethostbyname4_r NSS host API
Core Metrics
| dns-lookup | hclient-dns-system | libnss-host4 | |
|---|---|---|---|
| Health Score | 72 | 53 | 52 |
| Total Downloads | 31.4M | 1.7K | 83 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1.7K | 115 | 0 |
| Releases | 35 | 17 | 4 |
| Last Updated | 9d ago | 3d ago | 130d ago |
| Age | 10y 6m | 1m | 4m |
Health Breakdown
dns-lookup
Maintenance
17
Quality
20
Community
12
Popularity
8
Documentation
15
hclient-dns-system
Maintenance
14
Quality
12
Community
11
Popularity
4
Documentation
12
libnss-host4
Maintenance
18
Quality
14
Community
6
Popularity
2
Documentation
12
Technical Details
| dns-lookup | hclient-dns-system | libnss-host4 | |
|---|---|---|---|
| Version | 4.0.2 | 0.1.0-alpha.17 | 0.2.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 12 | 2 |
| Crate Size | 15KB | 44KB | 17KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.63 | 1.99 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dns-lookup leads with a health score of 72/100, but none of the options score above 80.
- •dns-lookup is depended on by 1.7K crates — strongest ecosystem trust.
- •hclient-dns-system, libnss-host4 are pre-1.0 — API may change.