diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-25 14:15:50 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-09-05 11:36:12 -0700 |
commit | aa28268d9087572dc7eb62df46fcdc9db12d6de5 (patch) | |
tree | a8f955ac15302799b48f94466fc7b8473f247366 /src/tests/config.rs | |
parent | b4b7605e1f947ef0c58d94354c10fd74fd010a53 (diff) | |
download | nitrocli-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/tests/config.rs')
0 files changed, 0 insertions, 0 deletions