xdg
v3.0.0 GrowingA library for storing and retrieving files according to XDG Base Directory specification
Quick Verdict
- โStable API (3.x for 10+ years)
- โMassive adoption (3.7K crates depend on it)
- โTiny footprint (16KB, 1 deps)
- โPermissive license (Apache-2.0 OR MIT)
Security
Deep Insights
816.9K downloads in the last 30 days (27.2K/day), up 21% from the previous period.
3.7K crates depend on xdg. Strong ecosystem adoption means battle-tested code and long-term stability.
xdg has only 1 owner despite 3.7K dependents. This is a bus-factor concern โ consider the implications for long-term support.
The API has been stable (1.x) for over 10 years with 19 releases. This level of maturity means you can depend on it without worrying about breaking changes.
Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 15KB, xdg is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include andrew, comrak, freedesktop-icons, afl, app_dirs2. When high-quality crates choose xdg, 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