diff options
| author | silwol <wolfgang@silbermayr.at> | 2023-09-28 11:26:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-28 11:26:54 +0200 |
| commit | e789d6bf453fac9810ec3bc01455d2e197e0cef2 (patch) | |
| tree | 2cfef72b76eefa546f19dba0803b02611b05eb77 /zellij-utils | |
| parent | chore(files): remove leftover Cargo.lock file from session-manager plugin (#2... (diff) | |
| download | sl0ppij-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')
| -rw-r--r-- | zellij-utils/Cargo.toml | 2 | ||||
| -rw-r--r-- | zellij-utils/src/consts.rs | 2 | ||||
| -rw-r--r-- | zellij-utils/src/setup.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/zellij-utils/Cargo.toml b/zellij-utils/Cargo.toml index b728a97a..6c66e9a2 100644 --- a/zellij-utils/Cargo.toml +++ b/zellij-utils/Cargo.toml @@ -18,7 +18,7 @@ clap_complete = "3.2.1" colored = "2.0.0" colorsys = "0.6.5" crossbeam = "0.8.1" -directories-next = "2.0" +directories = "5.0" lazy_static = "1.4.0" libc = "0.2" nix = "0.23.1" 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, |
