rustio rustio.net
45

dirs-2

v3.0.1 Growing

A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows and macOS 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 5+ years
  • Stable API (3.x for 7+ years)
  • Trusted by 104 crates
  • Tiny footprint (13KB, 3 deps)
  • Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
38.7K
Dependents
104
Releases
2
Size
13KB

Deep Insights

📊
Stable downloads

494 downloads in the last 30 days (16/day). Volume is roughly flat compared to the previous period.

🔗
Moderate adoption

104 crates depend on dirs-2. Reasonable ecosystem adoption, though not yet a core dependency.

Stable for 7+ years

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

🪶
Minimal dependencies

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

📐
Compact crate

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

🌟
Used by top crates

Notable dependents include uvm_core, uvm-install2, hunter, uvm_live_platform, unity-hub. When high-quality crates choose dirs-2, it's a strong quality signal.

Health Breakdown

Maintenance 3/25

Recency, release consistency, active ratio

Quality 20/25

Yanked ratio, deps, size, maturity, features

Community 9/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 8/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
0/day avg
02/263/164/34/215/95/26

Top Dependents

Version Adoption

v3.0.1
54%
v1.1.0
46%

Release Timeline

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

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
104
crates depend on dirs-2

Similar Crates