Decision Workspace
robius-directories vs dirs vs cap-directories
Side-by-side comparison of Rust crates
Abstraction over platform-standard locations of directories for app-specific data, config, cache, and more. Supports Linux (XDG spec), Windows (Known Folders), macOS and iOS (Standard Directory), and Android (via robius-android-env). This crate is a fork of the (now-archived) `directories` crate, with support for Android.
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.
Capability-based standard directories for config, cache and other data
Core Metrics
| robius-directories | dirs | cap-directories | |
|---|---|---|---|
| Health Score | 52 | 62 | 62 |
| Total Downloads | 7.3K | 356.9M | 150.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5 | 135.9K | 60 |
| Releases | 3 | 21 | 91 |
| Last Updated | 71d ago | 34d ago | 50d ago |
| Age | 1y 11m | 10y 10m | 6y 2m |
Health Breakdown
Technical Details
| robius-directories | dirs | cap-directories | |
|---|---|---|---|
| Version | 6.0.1 | 7.0.0 | 4.0.3 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
| Dependencies | 4 | 1 | 4 |
| Crate Size | 20KB | 14KB | 12KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 2.2% |
| Edition | 2015 | — | 2021 |
| MSRV | 1.64.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.