Decision Workspace
unidirs vs cap-directories vs directories
Side-by-side comparison of Rust crates
55
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.
59
cap-directories
stablev4.0.2
Capability-based standard directories for config, cache and other data
54
directories
growingv6.0.0
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
| unidirs | cap-directories | directories | |
|---|---|---|---|
| Health Score | 55 | 59 | 54 |
| Total Downloads | 11.4K | 118.7K | 54.5M |
| 30d Downloads | 0 | 1.2K | 3.9M |
| Dependents | 7 | 30 | 22.4K |
| Releases | 4 | 89 | 43 |
| Last Updated | 43d ago | 99d ago | 498d ago |
| Age | 4y 5m | 5y 9m | 8y 5m |
Health Breakdown
unidirs
Maintenance
13
Quality
14
Community
8
Popularity
5
Documentation
15
cap-directories
Maintenance
14
Quality
18
Community
11
Popularity
6
Documentation
10
directories
Maintenance
7
Quality
19
Community
12
Popularity
8
Documentation
8
Technical Details
| unidirs | cap-directories | directories | |
|---|---|---|---|
| Version | 0.1.3 | 4.0.2 | 6.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 4 | 2 |
| Crate Size | 14KB | 12KB | 18KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 2.3% | 2.3% |
| Edition | 2021 | 2021 | — |
| MSRV | 1.70 | — | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •cap-directories leads with a health score of 59/100, but none of the options score above 80.
- •directories has the most downloads (54.5M), suggesting wider adoption.
- •directories is depended on by 22.4K crates — strongest ecosystem trust.
- •⚠ directories has not been updated in over a year.
- •unidirs is pre-1.0 — API may change.