dirs2
v3.0.1 GrowingA 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.
Quick Verdict
- โNot updated for 5+ years
- โStable API (3.x for 5+ years)
- โTiny footprint (12KB, 2 deps)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
3.6K downloads in the last 30 days, down 74% from the previous period. May indicate migration to alternatives.
The primary maintainer publishes 120 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
The API has been stable (1.x) for over 5 years with 1 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 12KB, dirs2 is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include ldap-utils, citadel_user, citadel_sdk, rosemary, sl-chat-log-parser. When high-quality crates choose dirs2, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on dirs2