Decision Workspace
directories vs cap-directories vs dirs
Side-by-side comparison of Rust crates
A tiny mid-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.
Capability-based standard directories for config, cache and other data
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.
Core Metrics
| directories | cap-directories | dirs | |
|---|---|---|---|
| Health Score | 54 | 62 | 53 |
| Total Downloads | 47.4M | 115.8K | 197.8M |
| 30d Downloads | 2.9M | 1.4K | 15.0M |
| Dependents | 19.4K | 30 | 70.6K |
| Releases | 43 | 89 | 20 |
| Last Updated | 439d ago | 40d ago | 439d ago |
| Age | 8y 3m | 5y 7m | 10y 4m |
Health Breakdown
Technical Details
| directories | cap-directories | dirs | |
|---|---|---|---|
| Version | 6.0.0 | 4.0.2 | 6.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 1 |
| Crate Size | 18KB | 12KB | 14KB |
| Features | 0 | 0 | 0 |
| Yanked % | 2.3% | 2.3% | 0.0% |
| Edition | — | 2021 | — |
| MSRV | — | — | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •cap-directories leads with a health score of 62/100, but none of the options score above 80.
- •dirs has the most downloads (197.8M), suggesting wider adoption.
- •dirs is depended on by 70.6K crates — strongest ecosystem trust.
- •⚠ directories, dirs have not been updated in over a year.