#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

#8 in Unix APIs

Download history 5463/week @ 2019-01-20 5856/week @ 2019-01-27 6320/week @ 2019-02-03 5819/week @ 2019-02-10 5371/week @ 2019-02-17 5663/week @ 2019-02-24 5351/week @ 2019-03-03 5792/week @ 2019-03-10 5794/week @ 2019-03-17 5817/week @ 2019-03-24 5836/week @ 2019-03-31 6520/week @ 2019-04-07 6371/week @ 2019-04-14 6691/week @ 2019-04-21 5838/week @ 2019-04-28

25,031 downloads per month
Used in 249 crates (47 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