Decision Workspace
dir_spec vs cfgmatic-paths vs dirs-lite
Side-by-side comparison of Rust crates
52
dir_spec
growingv0.5.2
A cross-platform Rust library for resolving XDG and platform-specific directories with proper fallbacks.
57
cfgmatic-paths
growingv5.0.1
Cross-platform configuration path discovery following XDG and platform conventions
62
dirs-lite
growingv1.0.2
Get platform-specific config, data, and cache directories. Supports XDG-style on macOS. No dependencies.
Core Metrics
| dir_spec | cfgmatic-paths | dirs-lite | |
|---|---|---|---|
| Health Score | 52 | 57 | 62 |
| Total Downloads | 9.4K | 945 | 12.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 71 | 41 | 28 |
| Releases | 8 | 18 | 3 |
| Last Updated | 181d ago | 180d ago | 207d ago |
| Age | 1y 2m | 8m | 8m |
Health Breakdown
dir_spec
Maintenance
11
Quality
15
Community
11
Popularity
5
Documentation
10
cfgmatic-paths
Maintenance
11
Quality
20
Community
10
Popularity
4
Documentation
12
dirs-lite
Maintenance
11
Quality
21
Community
10
Popularity
5
Documentation
15
Technical Details
| dir_spec | cfgmatic-paths | dirs-lite | |
|---|---|---|---|
| Version | 0.5.2 | 5.0.1 | 1.0.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 0 |
| Crate Size | 37KB | 21KB | 11KB |
| Features | 0 | 3 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.92 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dirs-lite leads with a health score of 62/100, but none of the options score above 80.
- •dir_spec is pre-1.0 — API may change.