Decision Workspace
cfgmatic-paths vs dir_spec vs dirs-lite
Side-by-side comparison of Rust crates
56
cfgmatic-paths
experimentalv3.0.1
Cross-platform configuration path discovery following XDG and platform conventions
49
dir_spec
experimentalv0.5.0
A cross-platform Rust library for resolving XDG and platform-specific directories with proper fallbacks.
60
dirs-lite
experimentalv1.0.2
Get platform-specific config, data, and cache directories. Supports XDG-style on macOS. No dependencies.
Core Metrics
| cfgmatic-paths | dir_spec | dirs-lite | |
|---|---|---|---|
| Health Score | 56 | 49 | 60 |
| Total Downloads | 356 | 3.9K | 1.5K |
| 30d Downloads | 87 | 661 | 1.5K |
| Dependents | 35 | 27 | 3 |
| Releases | 15 | 6 | 3 |
| Last Updated | 35d ago | 210d ago | 11d ago |
| Age | 1m | 7m | 1m |
Health Breakdown
cfgmatic-paths
Maintenance
12
Quality
19
Community
10
Popularity
3
Documentation
12
dir_spec
Maintenance
11
Quality
14
Community
10
Popularity
4
Documentation
10
dirs-lite
Maintenance
13
Quality
20
Community
8
Popularity
4
Documentation
15
Technical Details
| cfgmatic-paths | dir_spec | dirs-lite | |
|---|---|---|---|
| Version | 3.0.1 | 0.5.0 | 1.0.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 0 |
| Crate Size | 21KB | 28KB | 11KB |
| Features | 3 | 0 | 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.