rustio rustio.net
65

gethostname

v1.1.0 Growing

gethostname for all platforms

Apache-2.0 Edition 2021 MSRV 1.71
API bindingsOperating systems #dns#hostname#gethostname

Quick Verdict

  • โœ“Stable API (1.x for 7+ years)
  • โœ“Massive adoption (2.8K crates depend on it)
  • โœ“Tiny footprint (10KB, 2 deps)
  • โœ“Permissive license (Apache-2.0)

Security

Checking security advisories...
Downloads
83.6M
Dependents
2.8K
Releases
15
Size
10KB

Deep Insights

๐Ÿ“Š
Steady growth

6.3M downloads in the last 30 days (210.2K/day), up 9% from the previous period.

๐Ÿ”—
Widely adopted

2.8K crates depend on gethostname. Strong ecosystem adoption means battle-tested code and long-term stability.

โš ๏ธ
Single maintainer risk

gethostname has only 1 owner despite 2.8K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 7+ years

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.

๐Ÿชถ
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 10KB, gethostname is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

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

Maintenance 8/25

Recency, release consistency, active ratio

Quality 19/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
195K/day avg+13%
0100K200K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v0.4.3
43%
v1.1.0
27%
v1.0.2
13%
v0.3.0
10%
v0.5.0
7%

Release Timeline

10 releasessince 2022
J
F
M
A
M
J
J
A
S
O
N
D
2022
3
2023
2
2024
1
2025
4
2026
Less
More

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
2.8K
crates depend on gethostname

Similar Crates