dirs-next -> dirs

This commit is contained in:
figsoda 2021-09-17 14:50:37 -04:00
parent 844cae82b9
commit bc6e512a0e
3 changed files with 10 additions and 11 deletions

17
Cargo.lock generated
View file

@ -239,20 +239,19 @@ dependencies = [
]
[[package]]
name = "dirs-next"
version = "2.0.0"
name = "dirs"
version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059"
dependencies = [
"cfg-if",
"dirs-sys-next",
"dirs-sys",
]
[[package]]
name = "dirs-sys-next"
version = "0.1.2"
name = "dirs-sys"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
dependencies = [
"libc",
"redox_users",
@ -435,7 +434,7 @@ dependencies = [
"clap_generate",
"crossbeam-queue",
"crossterm 0.21.0",
"dirs-next",
"dirs",
"expand",
"futures-lite",
"ron",

View file

@ -18,7 +18,7 @@ async-net = "1.6.1"
clap = "3.0.0-beta.4"
crossbeam-queue = "0.3.2"
crossterm = "0.21.0"
dirs-next = "2.0.0"
dirs = "4.0.0"
expand = "0.2.0"
futures-lite = "1.12.0"
ron = "0.6.5"

View file

@ -22,7 +22,7 @@ use crossterm::{
terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen},
ExecutableCommand,
};
use dirs_next::config_dir;
use dirs::config_dir;
use futures_lite::StreamExt;
use tui::{backend::CrosstermBackend, widgets::ListState, Terminal};