Crates.io | s_app_dir |
lib.rs | s_app_dir |
version | 0.0.0 |
source | src |
created_at | 2016-04-25 12:56:07.266504 |
updated_at | 2016-04-25 12:56:07.266504 |
description | A library for getting configuration directory and temporary directory path with app name. |
homepage | https://github.com/siphilia/s_app_dir |
repository | https://github.com/siphilia/s_app_dir |
max_upload_size | |
id | 4851 |
size | 10,856 |
Cargo.toml:
[package]
...
[dependencies]
s_app_dir = "*" # or semantic versioning
main.rc:
extern crate s_app_dir;
use s_app_dir::{AppDir, XdgDir};
fn main() {
let app_dir = AppDir::new("foo-bar-app");
println!("{:?}", app_dir.xdg_dir(XdgDir::Config));
}