Skip to content

Commit 16a8ea6

Browse files
repicfallin
authored andcommitted
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
1 parent 79c99d7 commit 16a8ea6

3 files changed

Lines changed: 46 additions & 29 deletions

File tree

Cargo.lock

Lines changed: 44 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cache/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ edition = "2018"
1212
anyhow = "1.0"
1313
base64 = "0.12.0"
1414
bincode = "1.1.4"
15-
directories = "2.0.1"
15+
directories-next = "1.0"
1616
file-per-thread-logger = "0.1.1"
1717
log = { version = "0.4.8", default-features = false }
1818
serde = { version = "1.0.94", features = ["derive"] }

crates/cache/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use super::Worker;
44
use anyhow::{anyhow, bail, Context, Result};
5-
use directories::ProjectDirs;
5+
use directories_next::ProjectDirs;
66
use log::{trace, warn};
77
use serde::{
88
de::{self, Deserializer},

0 commit comments

Comments
 (0)