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>2020-09-05 11:36:12 -0700
commitaa28268d9087572dc7eb62df46fcdc9db12d6de5 (patch)
treea8f955ac15302799b48f94466fc7b8473f247366 /src/main.rs
parentb4b7605e1f947ef0c58d94354c10fd74fd010a53 (diff)
downloadnitrocli-aa28268d9087572dc7eb62df46fcdc9db12d6de5.tar.gz
nitrocli-aa28268d9087572dc7eb62df46fcdc9db12d6de5.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