rustio rustio.net
44

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 102 crates
  • Tiny footprint (13KB, 3 deps)
  • Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
37.6K
Dependents
102
Releases
2
Size
13KB

Deep Insights

📈
Strong growth momentum

619 downloads in the last 30 days (21/day), up 69% from the previous period.

🔗
Moderate adoption

102 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 8/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
17/day avg+8%
02040608012/291/162/32/213/113/28

Top Dependents

Version Adoption

v3.0.1
53%
v1.1.0
47%

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
102
crates depend on dirs-2

Similar Crates