fix: use whoami for user/hostname queries again (#6311)

This commit is contained in:
David Knaack
2024-10-14 20:46:04 +02:00
committed by GitHub
parent 1f512ea7d2
commit 77f08832d5
4 changed files with 32 additions and 24 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ license = "ISC"
readme = "README.md"
repository = "https://github.com/starship/starship"
# Note: MSRV is only intended as a hint, and only the latest version is officially supported in starship.
rust-version = "1.74"
rust-version = "1.76"
description = """
The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
"""
@@ -47,7 +47,6 @@ clap = { version = "4.5.20", features = ["derive", "cargo", "unicode"] }
clap_complete = "4.5.33"
dirs = "5.0.1"
dunce = "1.0.5"
gethostname = "0.5.0"
# default feature restriction addresses https://github.com/starship/starship/issues/4251
gix = { version = "0.66.0", default-features = false, features = ["max-performance-safe", "revision"] }
gix-features = { version = "0.38.2", optional = true }
@@ -88,6 +87,7 @@ unicode-width = "0.2.0"
urlencoding = "2.1.3"
versions = "6.3.2"
which = "6.0.3"
whoami = { version = "1.5.2", default-features = false }
yaml-rust2 = "0.9.0"
guess_host_triple = "0.1.4"