xdg-rs 0.1.2

Library to help with the XDG basedir spec
Documentation

xdg-rs

Build Status

Documentation

xdg-rs is a utility library to make conforming to the XDG basedir specification easier.

#Example

#![cfg(unix)]
extern crate xdg;

#![cfg(unix)]
use xdg;
use std::path::PathBuf;
...
let data_home: PathBuf = try!(xdg::get_data_home());
...

Alternate implementation and some initial source borrowed from rust-xdg. The APIs provided by rust-xdg and xdg-rs are different.