Decision Workspace
unidirs vs dirs vs cap-directories
Side-by-side comparison of Rust crates
50
unidirs
growingv0.1.3
Unified directories for different use cases of an application, providing standard directories for local development, when run as service or when run by a user.
62
dirs
stablev7.0.0
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.
62
cap-directories
stablev4.0.3
Capability-based standard directories for config, cache and other data
Core Metrics
| unidirs | dirs | cap-directories | |
|---|---|---|---|
| Health Score | 50 | 62 | 62 |
| Total Downloads | 13.4K | 356.9M | 150.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7 | 135.9K | 60 |
| Releases | 4 | 21 | 91 |
| Last Updated | 180d ago | 34d ago | 50d ago |
| Age | 4y 9m | 10y 10m | 6y 2m |
Health Breakdown
unidirs
Maintenance
8
Quality
14
Community
8
Popularity
5
Documentation
15
dirs
Maintenance
14
Quality
20
Community
12
Popularity
8
Documentation
8
cap-directories
Maintenance
16
Quality
18
Community
12
Popularity
6
Documentation
10
Technical Details
| unidirs | dirs | cap-directories | |
|---|---|---|---|
| Version | 0.1.3 | 7.0.0 | 4.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
| Dependencies | 5 | 1 | 4 |
| Crate Size | 14KB | 14KB | 12KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 2.2% |
| Edition | 2021 | — | 2021 |
| MSRV | 1.70 | — | — |
| 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.
- •unidirs is pre-1.0 — API may change.