Email me

Crates / dirs

Rust crate · real downloads · data Oct 24, 2026

dirs downloads, and should you depend on it?

A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by the XDG base/user directory specifications on Linux, the Known Folder API on Windows, and the Standard Directory guidelines on macOS. crates.io · docs.rs · repository

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

FoundationalShould you depend on dirs? The data says

Foundational and steady.

dirs: 11,001 crates depend on it; downloads don't spike on releases.

1Mreal downloads a day (quiet-day median)
11,001crates depend on it
49 dayssince the last release (7.0.0)
+2%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: 923,3922026-07-28: 1,001,0922026-07-29: 959,7782026-07-30: 945,5222026-07-31: 880,7992026-08-01: 650,3092026-08-02: 598,2802026-08-03: 926,2542026-08-04: 977,5162026-08-05: 986,0452026-08-06: 827,4102026-08-07: 942,5522026-08-08: 602,9312026-08-09: 583,4062026-08-10: 917,8782026-08-11: 955,5452026-08-12: 990,5992026-08-13: 996,3892026-08-14: 956,7762026-08-15: 676,1332026-08-16: 672,8992026-08-17: 931,2522026-08-18: 987,8152026-08-19: 946,4432026-08-20: 1,064,4632026-08-21: 1,029,1762026-08-22: 698,8422026-08-23: 681,7682026-08-24: 1,009,4622026-08-25: 1,004,7842026-08-26: 1,061,2202026-08-27: 1,129,8612026-08-28: 1,157,5002026-08-29: 683,8652026-08-30: 649,4902026-08-31: 1,033,3972026-09-01: 1,156,2052026-09-02: 1,217,6652026-09-03: 1,190,5302026-09-04: 1,112,3692026-09-05: 798,204 (release window)2026-09-06: 752,871 (release window)2026-09-07: 977,3852026-09-08: 1,177,9262026-09-09: 1,193,7022026-09-10: 1,205,9102026-09-11: 1,122,8722026-09-12: 790,0072026-09-13: 704,7612026-09-14: 1,219,0752026-09-15: 1,312,5262026-09-16: 1,226,0322026-09-17: 1,316,0612026-09-18: 1,224,4542026-09-19: 823,9132026-09-20: 844,0362026-09-21: 1,196,4982026-09-22: 1,216,5312026-09-23: 1,283,5782026-09-24: 1,270,1532026-09-25: 1,233,1702026-09-26: 854,9302026-09-27: 846,1092026-09-28: 1,340,3542026-09-29: 1,337,8002026-09-30: 1,323,2342026-10-01: 1,414,9632026-10-02: 1,337,9852026-10-03: 927,3492026-10-04: 857,4892026-10-05: 1,295,1672026-10-06: 1,471,8622026-10-07: 1,486,3182026-10-08: 1,455,1182026-10-09: 1,405,1102026-10-10: 1,006,7512026-10-11: 943,8972026-10-12: 1,276,8982026-10-13: 1,500,8042026-10-14: 1,623,0012026-10-15: 1,570,6842026-10-16: 1,447,7472026-10-17: 970,8452026-10-18: 924,1282026-10-19: 1,505,1692026-10-20: 1,618,1062026-10-21: 1,845,6622026-10-22: 1,979,2652026-10-23: 1,816,492

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

The numbers in one paragraphdirs got 96,990,514 crates.io downloads from Jul 27, 2026 to Oct 23, 2026. 2% of them landed within 2 days of one of its 1 release. On the other 87 quiet days it got a median of 1,029,176 a day, about 7,204,232 a week. Capping release days at that baseline leaves 96,990,514 release-adjusted downloads for the window.

What this means if you're choosing a dependency

  • You probably already have it. With 11,001 crates depending on it, it is in most dependency trees. Run cargo tree -i dirs to see what pulls it into yours before you add it directly.
  • Actively released. 7.0.0 shipped 49 days ago (Sep 5, 2026).
  • Fit check: license MIT OR Apache-2.0 (from the latest version's manifest).
  • Compare it by the baseline, not the raw count. 2% of its 96,990,514 downloads in the window landed within 2 days of a release; the steady number is 1,029,176 a day.

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

dirs builds on

Tracked crates its latest version (7.0.0) depends on.

What the chart says

  • Weekend quiet days ran at 63% of weekday quiet days (747,384 vs 1,193,702). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 1,979,265 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads376,939,487 (rank #348 on crates.io by all-time downloads)
Downloads in the window96,990,514 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release1,551,075 (1.6%)
Quiet-day median (baseline)1,029,176 a day; weekdays 1,193,702, weekends 747,384
Release-adjusted downloads96,990,514 (release-window days capped at the baseline)
Baseline rank#377 of the 1000 crates we track
Quiet-day trend+42% raw, +2% against the median tracked crate (+39%)
Releases in the window1
Versions published, ever21
Latest version7.0.0, published Sep 5, 2026 (license MIT OR Apache-2.0)
First publishedNov 24, 2015
Reverse dependencies11,001

Releases in the window

Each one opens a 2-day release window on the chart.

VersionPublishedDownloads that version got (lifetime)
7.0.0Sep 5, 20266,147,659

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 dirs 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

dirs 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

No crates.io category set.

Sources

Up next

Next by real downloads: The next crate down the real-downloads ranking: 1,023,280 a day. Established and steady.wasmparserRust crate. A simple event-driven library for parsing WebAssembly binary files. Real use: 1M downloads a day on quiet days; 431 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