Decision Workspace
microxdg vs dirs vs cap-directories
Side-by-side comparison of Rust crates
49
microxdg
growingv0.2.0
An XDG Base Directory Specification library.
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
| microxdg | dirs | cap-directories | |
|---|---|---|---|
| Health Score | 49 | 62 | 62 |
| Total Downloads | 14.1K | 356.9M | 150.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 135.9K | 60 |
| Releases | 4 | 21 | 91 |
| Last Updated | 699d ago | 34d ago | 50d ago |
| Age | 3y 3m | 10y 10m | 6y 2m |
Health Breakdown
microxdg
Maintenance
8
Quality
15
Community
9
Popularity
5
Documentation
12
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
| microxdg | dirs | cap-directories | |
|---|---|---|---|
| Version | 0.2.0 | 7.0.0 | 4.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | GPL-3.0-only | MIT OR Apache-2.0 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
| Dependencies | 1 | 1 | 4 |
| Crate Size | 30KB | 14KB | 12KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 2.2% |
| Edition | 2021 | — | 2021 |
| MSRV | 1.70.0 | — | — |
| 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.
- •⚠ microxdg has not been updated in over a year.
- •microxdg is pre-1.0 — API may change.