Replace unmaintained directories crate

Fixes RUSTSEC-2020-0054 warning from cargo-audit/cargo-deny, follows the recommendation to switch to the new maintained `directories-next` crate fork

Only affects the cache directory determination for the environment and was a simple search'n'replace to this fork so don't think behavior has changed.

https://rustsec.org/advisories/RUSTSEC-2020-0054
This commit is contained in:
Johan Andersson
2020-10-17 13:08:59 +02:00
parent f27c0f3434
commit 9820c5c3dd
3 changed files with 46 additions and 29 deletions

View File

@@ -2,7 +2,7 @@
use super::Worker;
use anyhow::{anyhow, bail, Context, Result};
use directories::ProjectDirs;
use directories_next::ProjectDirs;
use log::{trace, warn};
use serde::{
de::{self, Deserializer},