The directories crate is a tiny library with a minimal API (3 structs, 4 factory functions, getters) that provides the platform-specific, user-accessible locations for finding and storing configuration, cache and other data on Linux, Redox, Windows (≥ Vista) and macOS.