rustio rustio.net
67

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.6K crates depend on it)
  • โœ“Tiny footprint (10KB, 2 deps)
  • โœ“Permissive license (Apache-2.0)

Security

Checking security advisories...
Downloads
71.9M
Dependents
2.6K
Releases
15
Size
10KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

5.7M downloads in the last 30 days (188.9K/day), up 27% from the previous period.

๐Ÿ”—
Widely adopted

2.6K 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.6K 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 10/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
147K/day avg+74%
050K100K150K200K250K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.2.3
46%
v0.4.3
28%
v1.1.0
11%
v1.0.2
9%
v0.3.0
6%

Release Timeline

15 releasessince 2019
J
F
M
A
M
J
J
A
S
O
N
D
2019
3
2020
2021
2022
5
2023
2
2024
1
2025
4
2026
Less
More

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
2.6K
crates depend on gethostname

Similar Crates