User directories

RecipeCratesCategories
dirsdirscat-filesystem
directoriesdirectoriescat-filesystem

Get platform-specific locations for configuration, cache, and other data

dirs

dirs dirs-crates.io dirs-github dirs-lib.rs

dirs is a 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.

fn main() {
    todo!();
}

directories

directories directories-crates.io directories-github directories-lib.rs

directories is a mid-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows and macOS 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.

directories is a higher-level library than dirs and can also compute paths for applications.

fn main() {
    todo!();
}