aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-25 14:15:50 +0100
committerDaniel Mueller <deso@posteo.net>2021-01-10 10:15:44 -0800
commitfadd56a14310aea6a3f2d86693aa8e1dd8c12b67 (patch)
treefc999401b1ff932a0f554b9558bbdda3e4ca35fa /src/main.rs
parenta7668265d507a7214b312c5dce874f0185b7b09a (diff)
downloadnitrocli-fadd56a14310aea6a3f2d86693aa8e1dd8c12b67.tar.gz
nitrocli-fadd56a14310aea6a3f2d86693aa8e1dd8c12b67.tar.bz2
Use standard configuration file locations
This patch uses the directories crate to query the appropriate path for the configuration files. For Linux, paths according to the XDG Base Directory Specification are used. Note that directories does not yet support the XDG_CONFIG_DIRS variable for system-wide configuration files. Therefore we only use a user configuration file.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions