Decision Workspace
dirs-cli vs dirs vs cap-directories
Side-by-side comparison of Rust crates
A tiny low-level command line application 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 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.
Capability-based standard directories for config, cache and other data
Core Metrics
| dirs-cli | dirs | cap-directories | |
|---|---|---|---|
| Health Score | 34 | 62 | 62 |
| Total Downloads | 4.2K | 356.9M | 150.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 135.9K | 60 |
| Releases | 3 | 21 | 91 |
| Last Updated | 1238d ago | 34d ago | 50d ago |
| Age | 4y 3m | 10y 10m | 6y 2m |
Health Breakdown
Technical Details
| dirs-cli | dirs | cap-directories | |
|---|---|---|---|
| Version | 0.1.0 | 7.0.0 | 4.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MPL-2.0 | MIT OR Apache-2.0 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
| Dependencies | 2 | 1 | 4 |
| Crate Size | 11KB | 14KB | 12KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 2.2% |
| Edition | — | — | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •dirs leads with a health score of 62/100, but none of the options score above 80.
- •dirs is depended on by 135.9K crates — strongest ecosystem trust.
- •⚠ dirs-cli has not been updated in over a year.
- •dirs-cli is pre-1.0 — API may change.