rustio rustio.net

gethostname vs hostname vs hostaddr

Side-by-side comparison of Rust crates

Core Metrics

gethostnamehostnamehostaddr
Health Score656155
Total Downloads83.6M158.7M40.7K
30d Downloads6.2M9.9M6.5K
Dependents2.8K7.9K4
Releases151213
Last Updated223d ago178d ago42d ago
Age7y 4m9y 5m1y 2m

Health Breakdown

gethostname
Maintenance
8
Quality
19
Community
15
Popularity
8
Documentation
15
hostname
Maintenance
8
Quality
16
Community
17
Popularity
8
Documentation
12
hostaddr
Maintenance
16
Quality
10
Community
8
Popularity
6
Documentation
15

Technical Details

gethostnamehostnamehostaddr
Version1.1.00.4.20.2.4
Stable (≥1.0)✓ Yes✗ No✗ No
LicenseApache-2.0MITMIT OR Apache-2.0
Dependencies2623
Crate Size10KB13KB44KB
Features0215
Yanked %0.0%0.0%92.3%
Edition202120212021
MSRV1.711.741.83
Owners121

Quick Verdict

  • gethostname leads with a health score of 65/100, but none of the options score above 80.
  • hostname has the most downloads (158.7M), suggesting wider adoption.
  • hostname is depended on by 7.9K crates — strongest ecosystem trust.
  • hostname, hostaddr are pre-1.0 — API may change.