Email me

Crates / dirs / Alternatives

Rust crate alternatives · data Oct 24, 2026

Alternatives to dirs

Short answerThe closest alternatives to dirs on crates.io data are etcetera (463K real downloads a day), matchit (1.6M real downloads a day), pathdiff (493K real downloads a day). Of the 5 we list, the most used is matchit, and 4 shipped a release in the last year. dirs itself gets 1,029,176 a day with 11,001 dependents.

Every alternative we found

AlternativeReal downloads a dayvs dirsDependentsLast releaseWhy it is listed
etcetera Established463,1930.45x22412mokeyword "basedir", keyword "path"compare
matchit Established1,597,3221.55x2077mokeyword "path"compare
pathdiff Established492,5920.48x66123mokeyword "path"compare
relative-path Established342,9660.33x1403dkeyword "path"compare
os_str_bytes Pulled in211,2930.21x473mokeyword "path"compare

How to choose

  • Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with dirs; read its description before you swap.
  • More dependents means more answered questions and a smaller chance it disappears.
  • Check the last release against how fast you need fixes. For dirs: is it still maintained?

Rules

Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with dirs, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.

Up next

The closest alternative: Established and gaining. 463,193 real downloads a day.etceteraRust crate. An unopinionated library for obtaining configuration, data, cache, & other directories. Real use: 463K downloads a day on quiet days; 224 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.

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