dirs-next
v2.0.0 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 (2.x for 5+ years)
- ✓Massive adoption (10.2K crates depend on it)
- ✓Tiny footprint (12KB, 2 deps)
- ✓Permissive license (MIT OR Apache-2.0)
Security
Deep Insights
8.5M downloads in the last 30 days (282.2K/day), up 6% from the previous period.
10.2K crates depend on dirs-next — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.
The API has been stable (1.x) for over 5 years with 5 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 11KB, dirs-next is lightweight. Small crate size correlates with focused, well-scoped functionality.
20% of releases have been yanked. Check version history before pinning.
Notable dependents include rusoto_credential, binary-install, solana-cli-config, cargo-make, cargo-cache. When high-quality crates choose dirs-next, 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