--- a/Cargo.toml
+++ b/Cargo.toml
@@ -43,7 +43,7 @@
 [features]
 default = ["real-sys"]
 real-sys = [
-    "dep:env_home",
+    "dep:xdg-home",
     "dep:rustix",
 ]
 regex = ["dep:regex"]
@@ -78,7 +78,7 @@
 optional = true
 default-features = false
 
-[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies.env_home]
-version = "0.1.0"
+[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies.xdg-home]
+version = "1.0"
 optional = true

--- a/src/sys.rs
+++ b/src/sys.rs
@@ -146,7 +146,7 @@
         // Home dir shim, use env_home crate when possible. Otherwise, return None
         #[cfg(any(windows, unix, target_os = "redox"))]
         {
-            env_home::env_home_dir()
+            xdg_home::home_dir()
         }
         #[cfg(not(any(windows, unix, target_os = "redox")))]
         {

