#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

#6 in Unix APIs

Download history 5037/week @ 2018-12-20 4864/week @ 2018-12-27 6908/week @ 2019-01-03 5639/week @ 2019-01-10 5184/week @ 2019-01-17 5862/week @ 2019-01-24 6001/week @ 2019-01-31 6388/week @ 2019-02-07 5353/week @ 2019-02-14 5316/week @ 2019-02-21 5448/week @ 2019-02-28 5782/week @ 2019-03-07 5905/week @ 2019-03-14 5639/week @ 2019-03-21 5852/week @ 2019-03-28

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