From 4bcca17008081b58f8e9568cff1cee1f375df5ab Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 28 Jun 2026 15:33:28 -0700 Subject: [PATCH] Add `home` -> `std::env::home_dir` `std::env::home_dir` was fixed and un-deprecated in Rust 1.87, providing the same functionality as this crate's `home_dir` method. The `cargo_home` and `rustup_home` methods are not superseded, but are much more special-purpose. --- data/home.toml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/home.toml diff --git a/data/home.toml b/data/home.toml new file mode 100644 index 0000000..2f52273 --- /dev/null +++ b/data/home.toml @@ -0,0 +1,8 @@ +description = """ +`std::env::home_dir` was fixed and un-deprecated in Rust 1.87, providing the \ +same functionality as this crate's `home_dir` method. + +The `cargo_home` and `rustup_home` methods are not superseded, but are much \ +more special-purpose. +""" +url = "https://doc.rust-lang.org/std/env/fn.home_dir.html"