#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

#3 in Unix APIs

Download history 4258/week @ 2018-11-17 4654/week @ 2018-11-24 5760/week @ 2018-12-01 6517/week @ 2018-12-08 5730/week @ 2018-12-15 5371/week @ 2018-12-22 5320/week @ 2018-12-29 6328/week @ 2019-01-05 5294/week @ 2019-01-12 5357/week @ 2019-01-19 5898/week @ 2019-01-26 6192/week @ 2019-02-02 5977/week @ 2019-02-09 5482/week @ 2019-02-16 5390/week @ 2019-02-23

18,692 downloads per month
Used in 199 crates (41 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