mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
refactor(modules): use whoami crate to get username
Signed-off-by: bestgopher <84328409@qq.com>
This commit is contained in:
+1
-1
@@ -47,7 +47,6 @@ clap = { version = "4.4.8", features = ["derive", "cargo", "unicode"] }
|
||||
clap_complete = "4.4.4"
|
||||
dirs-next = "2.0.0"
|
||||
dunce = "1.0.4"
|
||||
gethostname = "0.4.3"
|
||||
# default feature restriction addresses https://github.com/starship/starship/issues/4251
|
||||
gix = { version = "0.55.2", default-features = false, features = ["max-performance-safe", "revision"] }
|
||||
gix-features = { version = "0.36.0", optional = true }
|
||||
@@ -94,6 +93,7 @@ process_control = { version = "4.0.3", features = ["crossbeam-channel"] }
|
||||
guess_host_triple = "0.1.3"
|
||||
home = "0.5.5"
|
||||
shell-words = "1.1.0"
|
||||
whoami = { version = "1.4.1", default-features = false }
|
||||
|
||||
[dependencies.schemars]
|
||||
version = "0.8.15"
|
||||
|
||||
Reference in New Issue
Block a user