Email me

Crates / gethostname

Rust crate · real downloads · data Oct 24, 2026

gethostname downloads, and should you depend on it?

gethostname for all platforms crates.io · docs · repository

Owned on crates.io by swsnr · alternatives · is it still maintained?

EstablishedShould you depend on gethostname? The data says

Established and gaining.

gethostname: 311 crates depend on it; no release in the last 90 days, so its count is all steady use.

421Kreal downloads a day (quiet-day median)
311crates depend on it
12 monthssince the last release (1.1.0)
+22%quiet-day trend vs the field, 90 days
How this verdict is decided (4 rules)
  • Usage: crates.io reverse dependencies (crates that list it as a dependency): 10,000+ = foundational, 1,000+ = widely used, 100+ = established, under 100 = few direct dependents.
  • Direction: the median quiet day in the last 30 days of the window against the first 30, read against the median tracked crate (the whole field moved +39% from late summer to October, so a raw trend says nothing). 10%+ ahead of the field = gaining; 10%+ behind = losing ground; otherwise steady. Steady with no release in 2+ years = quiet for years.
  • Release spikes: the median release-window day against the quiet-day baseline: under 1.15x = no spike, 1.15x to 1.3x = small bumps, 1.3x or more = jumps on release days.
  • Release recency: days since the newest version that was not yanked, from crates.io publish times.
Data: crates.io API, Jul 27, 2026 to Oct 23, 2026, fetched Oct 24, 2026. Downloads are not users: read the baseline as steady use, not a head count.
2026-07-27: 325,1592026-07-28: 362,6932026-07-29: 335,7322026-07-30: 342,5432026-07-31: 313,7532026-08-01: 218,4532026-08-02: 192,8152026-08-03: 328,2792026-08-04: 365,4062026-08-05: 365,3972026-08-06: 305,7462026-08-07: 367,0802026-08-08: 207,1552026-08-09: 191,4162026-08-10: 338,9192026-08-11: 362,4042026-08-12: 369,2512026-08-13: 401,2702026-08-14: 373,8312026-08-15: 227,7032026-08-16: 222,6562026-08-17: 353,0152026-08-18: 379,2332026-08-19: 380,0052026-08-20: 420,5802026-08-21: 386,2472026-08-22: 242,4632026-08-23: 241,5362026-08-24: 401,7992026-08-25: 419,3462026-08-26: 400,2622026-08-27: 437,5262026-08-28: 447,2982026-08-29: 222,9812026-08-30: 202,3352026-08-31: 398,6912026-09-01: 446,5462026-09-02: 470,5572026-09-03: 464,8252026-09-04: 416,1112026-09-05: 274,2872026-09-06: 251,4282026-09-07: 335,1242026-09-08: 440,4052026-09-09: 458,9762026-09-10: 466,3262026-09-11: 442,3832026-09-12: 268,7982026-09-13: 248,9782026-09-14: 458,5232026-09-15: 494,7622026-09-16: 466,5642026-09-17: 511,7072026-09-18: 483,2542026-09-19: 295,8092026-09-20: 316,9452026-09-21: 474,4292026-09-22: 481,6132026-09-23: 524,3992026-09-24: 545,5132026-09-25: 519,1742026-09-26: 340,7222026-09-27: 341,6262026-09-28: 552,3752026-09-29: 572,2002026-09-30: 578,6622026-10-01: 600,6962026-10-02: 597,4102026-10-03: 426,5412026-10-04: 388,7172026-10-05: 553,7202026-10-06: 673,7182026-10-07: 704,6372026-10-08: 717,3352026-10-09: 674,4282026-10-10: 471,8362026-10-11: 443,9502026-10-12: 578,7932026-10-13: 711,6352026-10-14: 823,3542026-10-15: 763,2872026-10-16: 708,7252026-10-17: 460,0152026-10-18: 441,4222026-10-19: 755,9552026-10-20: 804,5952026-10-21: 913,1292026-10-22: 1,014,4072026-10-23: 935,551

release window (release day + next day)quiet dayquiet-day median · download the 89 days as CSV

The numbers in one paragraphgethostname got 39,957,855 crates.io downloads from Jul 27, 2026 to Oct 23, 2026 with no new version in that window, so every day is a quiet day: a median of 420,580 a day, about 2,944,060 a week. With no release spikes to remove, its whole count is the steady baseline.

What this means if you're choosing a dependency

  • Used, not everywhere. 311 crates depend on it. Look at how fast its issues get answered before you lean on it.
  • No release in over a year (last: 1.1.0, Oct 14, 2025). Fine for a finished crate; check open issues and the latest commit before relying on it.
  • Fit check: license Apache-2.0, edition 2021, needs Rust 1.71 or newer (from the latest version's manifest).
  • Its raw count is a fair read. Under 1% of its downloads in the window came from release windows, so the raw number and the baseline (420,580 a day) tell the same story.

Alternatives that do a similar job

Crates that share its crates.io category or keywords, most similar first. Each line is the crate's own description, then how it compares on the same data.

Its place in the dependency graph

gethostname builds on

Tracked crates its latest version (1.1.0) depends on.

What the chart says

  • Weekend quiet days ran at 57% of weekday quiet days (260,113 vs 458,976). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 1,014,407 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads139,867,896 (rank #751 on crates.io by all-time downloads)
Downloads in the window39,957,855 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release0 (0.0%)
Quiet-day median (baseline)420,580 a day; weekdays 458,976, weekends 260,113
Release-adjusted downloads39,957,855 (release-window days capped at the baseline)
Baseline rank#743 of the 1000 crates we track
Quiet-day trend+69% raw, +22% against the median tracked crate (+39%)
Releases in the window0
Versions published, ever15
Latest version1.1.0, published Oct 14, 2025 (license Apache-2.0, edition 2021, MSRV 1.71)
First publishedJan 20, 2019
Reverse dependencies311

How we compute this

crates.io counts every download, including CI runners, mirrors and bots that fetch each new version, so raw counts run high (why, in The Manual). We split the last 89 days into release windows (the day a version of gethostname was published, plus the next day) and quiet days, and use the median quiet day as the baseline: an upper bound on steady use, never a head count. The method and data come from our study of 90 days of crates.io data from 69 crates, featured in This Week in Rust #674; check any crate live with the real-downloads checker.

Badge for your README

Maintainers can show the baseline in a README. It is optional, updates when we refresh the data, and links back here. Preview, then copy:

README, light

gethostname real downloads per day badge

README, dark

Publishing a crate of your own? How to publish a Rust crate to crates.io, step by step.

Categories

Sources

Up next

Next in operating systems: Next in Operating systems by real downloads: 418,589 a day, 26 dependents. Few direct dependents and gaining.io-lifetimesRust crate. A low-level I/O ownership and borrowing library. Real use: 419K downloads a day on quiet days; 26 crates depend on it.Read it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Cite this

Free to cite and reuse under CC BY 4.0 with a link back. How it was collected: methods. Spotted an error? Corrections.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ