Skip to content
The Internet Compass

crates.io

dirs-next

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/xdg-rs/dirs ↗

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-next?

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-next safe to use?

No vulnerability data has been synced for dirs-next yet.

What license does dirs-next use?

dirs-next does not specify a license.