rustio rustio.net

libnss-host4 vs dns-lookup vs gethostname

Side-by-side comparison of Rust crates

Core Metrics

libnss-host4dns-lookupgethostname
Health Score527264
Total Downloads8331.4M130.0M
30d Downloads000
Dependents01.7K4.0K
Releases43515
Last Updated130d ago9d ago360d ago
Age4m10y 6m7y 8m

Health Breakdown

libnss-host4
Maintenance
18
Quality
14
Community
6
Popularity
2
Documentation
12
dns-lookup
Maintenance
17
Quality
20
Community
12
Popularity
8
Documentation
15
gethostname
Maintenance
7
Quality
19
Community
15
Popularity
8
Documentation
15

Technical Details

libnss-host4dns-lookupgethostname
Version0.2.24.0.21.1.0
Stable (≥1.0)✗ No✓ Yes✓ Yes
LicenseMIT OR Apache-2.0MIT OR Apache-2.0Apache-2.0
Dependencies242
Crate Size17KB15KB10KB
Features010
Yanked %0.0%0.0%0.0%
Edition202420212021
MSRV1.881.631.71
Owners111

Quick Verdict

  • •dns-lookup leads with a health score of 72/100, but none of the options score above 80.
  • •gethostname has the most downloads (130.0M), suggesting wider adoption.
  • •gethostname is depended on by 4.0K crates — strongest ecosystem trust.
  • •libnss-host4 is pre-1.0 — API may change.