rustio rustio.net

hostname vs gethostname vs hostaddr

Side-by-side comparison of Rust crates

Core Metrics

hostnamegethostnamehostaddr
Health Score596458
Total Downloads221.1M130.0M79.6K
30d Downloads000
Dependents14.2K4.0K4
Releases121516
Last Updated315d ago360d ago2d ago
Age9y 10m7y 8m1y 6m

Health Breakdown

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

Technical Details

hostnamegethostnamehostaddr
Version0.4.21.1.00.3.0
Stable (≥1.0)✗ No✓ Yes✗ No
LicenseMITApache-2.0MIT OR Apache-2.0
Dependencies6225
Crate Size13KB10KB58KB
Features2016
Yanked %0.0%0.0%75.0%
Edition202120212021
MSRV1.741.711.83
Owners211

Quick Verdict

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