rustio rustio.net
62

dirs

v7.0.0 Stable

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

  • ✓Actively maintained (updated 34d ago)
  • ✓Stable API (7.x for 10+ years)
  • ✓Massive adoption (135.9K crates depend on it)
  • ✓Tiny footprint (14KB, 1 deps)
  • ✓Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
356.9M
Dependents
135.9K
Releases
21
Size
14KB

Deep Insights

📈
Strong growth momentum

35.4M downloads in the last 30 days (1.2M/day), up 22% from the previous period.

🏛️
Foundational crate

135.9K 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 135.9K 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 21 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 13KB, dirs is lightweight. Small crate size correlates with focused, well-scoped functionality.

🌟
Used by top crates

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

Health Breakdown

Maintenance 14/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
240K/day avg-100%
0500K1.0M1.5M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v6.0.0
40%
v5.0.1
30%
v4.0.0
21%
v2.0.2
6%
v3.0.2
4%

Release Timeline

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

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
135.9K
crates depend on dirs

Similar Crates