#linux #configuration

xdg

A library for storing and retrieving files according to XDG Base Directory specification

11 releases (4 stable)

2.2.0 Nov 22, 2018
2.1.0 Mar 11, 2017
2.0.0 Mar 6, 2016
2.0.0-pre7 Jan 4, 2016
1.0.0 Sep 20, 2015

#13 in Unix APIs

Download history 5836/week @ 2019-07-28 5772/week @ 2019-08-04 6699/week @ 2019-08-11 7387/week @ 2019-08-18 8342/week @ 2019-08-25 7316/week @ 2019-09-01 7029/week @ 2019-09-08 6943/week @ 2019-09-15 8732/week @ 2019-09-22 10839/week @ 2019-09-29 10240/week @ 2019-10-06 9301/week @ 2019-10-13 9052/week @ 2019-10-20 8349/week @ 2019-10-27 8636/week @ 2019-11-03

25,031 downloads per month
Used in 312 crates (53 directly)

Apache-2.0/MIT

37KB
630 lines

rust-xdg

rust-xdg is a library that makes it easy to follow the X Desktop Group specifications.

Currently, only XDG Base Directory specification is implemented.

Installation

Add the following to Cargo.toml:

[dependencies]
xdg = "^2.1"

Examples

See documentation.

License

rust-xdg is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

No runtime deps