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.
macOS is currently unsupported. If you want to help with macOS feel free to contribute!
[dependencies]
standard_paths = "^1.0"
extern crate standard_paths;
use standard_paths::*;
use standard_paths::LocationType::*;
fn main() {
let sp = StandardPaths::new("app", "org");
println!("App data location: {:?}", sp.writable_location(AppLocalDataLocation));
}