Install
dirs
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.
7.0.0Latest, 5 Sep 2026
124MDownloads, last 90 days
0Advisories on the latest
0Advisories, all versions
MIT OR Apache-2.0Licence
Source · Ask AI Mode · · Markdown
In the news
- HS Grewal Jt Dir 7658800000 indianewscalling.com, 22 Aug 2026
- Sen. Rick Scott, Rep. Troy Nehls Thank Pres. Trump, NIH Dir. Bhattacharya for Promoting Accountability; Urge Immediate Ban on American Taxpayer-Funded Foreign Animal Testing rickscott.senate.gov, 17 Jul 2025
- Use NPM static resources as part of Rust build.rs but only inside OUT_DIR stackoverflow.com, 24 Feb 2025
- To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path stackoverflow.com, 20 Dec 2024
- Rustc compile without tmp dir stackoverflow.com, 13 Jul 2024
On Hacker News
- Show HN: VirtualStorageLibrary – .NET Tree solutions for items, dirs, symlinks 63 points, 13 comments, 21 Aug 2024
- 'Kill Bill: The Whole Bloody Affair' in 35mm – Dir's Cut 258min and Intermission 30 points, 3 comments, 1 Jul 2025
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.