Decision Workspace
dir_spec vs cfgmatic-paths vs dirs-lite
Side-by-side comparison of Rust crates
49
dir_spec
experimentalv0.5.0
A cross-platform Rust library for resolving XDG and platform-specific directories with proper fallbacks.
56
cfgmatic-paths
experimentalv3.0.1
Cross-platform configuration path discovery following XDG and platform conventions
60
dirs-lite
experimentalv1.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 | 49 | 56 | 60 |
| Total Downloads | 3.9K | 356 | 1.5K |
| 30d Downloads | 652 | 81 | 1.5K |
| Dependents | 27 | 35 | 3 |
| Releases | 6 | 15 | 3 |
| Last Updated | 210d ago | 35d ago | 11d ago |
| Age | 7m | 1m | 1m |
Health Breakdown
dir_spec
Maintenance
11
Quality
14
Community
10
Popularity
4
Documentation
10
cfgmatic-paths
Maintenance
12
Quality
19
Community
10
Popularity
3
Documentation
12
dirs-lite
Maintenance
13
Quality
20
Community
8
Popularity
4
Documentation
15
Technical Details
| dir_spec | cfgmatic-paths | dirs-lite | |
|---|---|---|---|
| Version | 0.5.0 | 3.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 | 28KB | 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 60/100, but none of the options score above 80.
- •dir_spec has the most downloads (3.9K), suggesting wider adoption.
- •dir_spec is pre-1.0 — API may change.