Remove home dependency

This commit is contained in:
2025-10-29 13:19:14 -06:00
parent dd688fdc83
commit 508c4ed32f
5 changed files with 7 additions and 10 deletions
-1
View File
@@ -51,7 +51,6 @@ clap = { workspace = true, features = [
"usage",
] }
futures = { workspace = true }
home = { workspace = true }
sea-orm = { workspace = true, features = ["runtime-tokio"] }
serde = { workspace = true, features = ["derive"] }
tokio = { workspace = true, features = ["rt", "fs", "macros"] }
+1 -1
View File
@@ -24,7 +24,7 @@ impl Cli {
pub fn config_path(&self) -> PathBuf {
fn expect_home_dir() -> PathBuf {
#[allow(clippy::expect_used)]
home::home_dir().expect("you do not have a home directory")
std::env::home_dir().expect("you do not have a home directory")
}
match self.config.strip_prefix("~/") {