Crate standard_paths

source ·
Expand description

Standard Paths

A Rust library providing methods for accessing standard paths on the local filesystem (config, cache, user directories and etc.).

It’s a port of QStandardPaths class of the Qt framework.

Usage

use standard_paths::{LocationType, StandardPaths};

let sp = StandardPaths::new("app", "org");
println!("{:?}", sp.writable_location(LocationType::AppLocalDataLocation));

Macros

Structs

  • Stores application and organization names and provides all the crate methods.

Enums