fix: enable std feature for whoami crate (#7211)

Without the "std" feature enabled, whoami falls back to the stub
implementation and Starship shows anonymous@localhost regardless of the
actual user or hostname.
This commit is contained in:
Gary Kim
2026-01-05 01:15:24 -05:00
committed by GitHub
parent be8e07e79e
commit 9931ab25b2
2 changed files with 12 additions and 1 deletions
Generated
+11
View File
@@ -3877,6 +3877,16 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "web-sys"
version = "0.3.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac"
dependencies = [
"js-sys",
"wasm-bindgen",
]
[[package]]
name = "which"
version = "8.0.0"
@@ -3896,6 +3906,7 @@ checksum = "86dc1eeef7866078951fc09f1857d3d33a37432fe376d7ff45449c8bb50318c1"
dependencies = [
"libredox",
"wasite",
"web-sys",
]
[[package]]