rustio rustio.net
53

dirs

v6.0.0 Growing

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.

MIT OR Apache-2.0
#path#xdg#basedir#folder#app_dirs

Quick Verdict

  • Not updated for 1+ year
  • Stable API (6.x for 10+ years)
  • Massive adoption (70.6K crates depend on it)
  • Tiny footprint (14KB, 1 deps)
  • Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
197.8M
Dependents
70.6K
Releases
20
Size
14KB

Deep Insights

📈
Strong growth momentum

16.0M downloads in the last 30 days (534.2K/day), up 30% from the previous period.

🏛️
Foundational crate

70.6K crates depend on dirs — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

⚠️
Single maintainer risk

dirs has only 1 owner despite 70.6K dependents. This is a bus-factor concern — consider the implications for long-term support.

Stable for 10+ years

The API has been stable (1.x) for over 10 years with 20 releases. This level of maturity means you can depend on it without worrying about breaking changes.

🪶
Minimal dependencies

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

📐
Compact crate

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

🌟
Used by top crates

Notable dependents include shellexpand, wry, tauri, tauri-build, utoipa-swagger-ui. When high-quality crates choose dirs, it's a strong quality signal.

Health Breakdown

Maintenance 5/25

Recency, release consistency, active ratio

Quality 20/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 8/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
406K/day avg+85%
0200K400K600K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v5.0.1
32%
v4.0.0
29%
v6.0.0
21%
v2.0.2
9%
v1.0.5
9%

Release Timeline

20 releasessince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
4
2016
2017
2018
5
2019
4
2020
2
2021
2
2022
2023
2
2024
2025
1
2026
Less
More

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
70.6K
crates depend on dirs

Similar Crates