aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src
diff options
context:
space:
mode:
authorsilwol <wolfgang@silbermayr.at>2023-09-28 11:26:54 +0200
committerGitHub <noreply@github.com>2023-09-28 11:26:54 +0200
commite789d6bf453fac9810ec3bc01455d2e197e0cef2 (patch)
tree2cfef72b76eefa546f19dba0803b02611b05eb77 /zellij-utils/src
parentchore(files): remove leftover Cargo.lock file from session-manager plugin (#2... (diff)
downloadsl0ppij-e789d6bf453fac9810ec3bc01455d2e197e0cef2.tar.gz
sl0ppij-e789d6bf453fac9810ec3bc01455d2e197e0cef2.tar.xz
sl0ppij-e789d6bf453fac9810ec3bc01455d2e197e0cef2.zip
chore: migrate to directories from directories-next (#2820)
The `directories-next` crate used to be the go-to fork crate when `directories` was unmaintained for some time. This has changed, nowadays `directories-next` appears abandoned while `directories` has a more recent release.
Diffstat (limited to 'zellij-utils/src')
-rw-r--r--zellij-utils/src/consts.rs2
-rw-r--r--zellij-utils/src/setup.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/zellij-utils/src/consts.rs b/zellij-utils/src/consts.rs
index 9091052b..d7593494 100644
--- a/zellij-utils/src/consts.rs
+++ b/zellij-utils/src/consts.rs
@@ -1,6 +1,6 @@
//! Zellij program-wide constants.
-use directories_next::ProjectDirs;
+use directories::ProjectDirs;
use include_dir::{include_dir, Dir};
use lazy_static::lazy_static;
use once_cell::sync::OnceCell;
diff --git a/zellij-utils/src/setup.rs b/zellij-utils/src/setup.rs
index 09009a85..bacb12b4 100644
--- a/zellij-utils/src/setup.rs
+++ b/zellij-utils/src/setup.rs
@@ -16,7 +16,7 @@ use crate::{
};
use clap::{Args, IntoApp};
use clap_complete::Shell;
-use directories_next::BaseDirs;
+use directories::BaseDirs;
use serde::{Deserialize, Serialize};
use std::{
convert::TryFrom, fmt::Write as FmtWrite, io::Write, path::Path, path::PathBuf, process,