crates.io
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.
Repository
https://github.com/soc/dirs-rs ↗Sourced from crates.io · Updated August 13, 2026
Package metadata from crates.io, the Rust community's crate registry.
View original source ↗Spot an error on this page? Let us know →FAQ
Common questions
What is 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.
Is dirs safe to use?
No vulnerability data has been synced for dirs yet.
What license does dirs use?
dirs does not specify a license.