Skip to content

Commit

Permalink
refactor: use dirs instead of dir-next
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Oct 7, 2024
1 parent 911e6c5 commit f3c2eea
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 33 deletions.
134 changes: 103 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dirs-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors.workspace = true
repository.workspace = true

[dependencies]
dirs-next = "2"
dirs = "5"
thiserror.workspace = true
tracing.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion dirs-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use dirs_next::{config_dir, data_local_dir};
use dirs::{config_dir, data_local_dir};
use std::path::PathBuf;
/// Suggest a directory for configuration files.
/// * - Linux: Resolves to $XDG_CONFIG_HOME/{placeholder} or $HOME/.config/{placeholder}.
Expand Down

0 comments on commit f3c2eea

Please sign in to comment.