Decision Workspace
cap-directories vs dirs vs directories
Side-by-side comparison of Rust crates
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.
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.
Core Metrics
| cap-directories | dirs | directories | |
|---|---|---|---|
| Health Score | 62 | 62 | 53 |
| Total Downloads | 150.5K | 356.9M | 74.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 60 | 135.9K | 32.0K |
| Releases | 91 | 21 | 43 |
| Last Updated | 50d ago | 34d ago | 635d ago |
| Age | 6y 2m | 10y 10m | 8y 9m |
Health Breakdown
Technical Details
| cap-directories | dirs | directories | |
|---|---|---|---|
| Version | 4.0.3 | 7.0.0 | 6.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 1 | 2 |
| Crate Size | 12KB | 14KB | 18KB |
| Features | 0 | 0 | 0 |
| Yanked % | 2.2% | 0.0% | 2.3% |
| Edition | 2021 | — | — |
| MSRV | — | — | — |
| Owners | 2 | 1 | 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 (356.9M), suggesting wider adoption.
- •dirs is depended on by 135.9K crates — strongest ecosystem trust.
- •⚠ directories has not been updated in over a year.