gethostname
v1.1.0 Growinggethostname for all platforms
Quick Verdict
- โStable API (1.x for 7+ years)
- โMassive adoption (2.6K crates depend on it)
- โTiny footprint (10KB, 2 deps)
- โPermissive license (Apache-2.0)
Security
Deep Insights
5.7M downloads in the last 30 days (188.9K/day), up 27% from the previous period.
2.6K crates depend on gethostname. Strong ecosystem adoption means battle-tested code and long-term stability.
gethostname has only 1 owner despite 2.6K dependents. This is a bus-factor concern โ consider the implications for long-term support.
The API has been stable (1.x) for over 7 years with 15 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 10KB, gethostname is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include x11rb, tracing-bunyan-formatter, solana-metrics, reedline, tauri-plugin-os. When high-quality crates choose gethostname, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on gethostname