diff --git a/Cargo.lock b/Cargo.lock index fb1c66e3f..89e8c74df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -860,12 +860,12 @@ dependencies = [ [[package]] name = "gethostname" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb65d4ba3173c56a500b555b532f72c42e8d1fe64962b518897f8959fae2c177" +checksum = "15e2ec67383ed0d1496d3dff6755fc14b6b019efd5238fb4eea7b62272d9863f" dependencies = [ "libc", - "winapi", + "windows 0.43.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 25616ba9f..58dbbf194 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ clap = { version = "4.0.18", features = ["derive", "cargo", "unicode"] } clap_complete = "4.0.3" dirs-next = "2.0.0" dunce = "1.0.3" -gethostname = "0.3.0" +gethostname = "0.4.0" git-features = { version = "0.23.0", optional = true } # default feature restriction addresses https://github.com/starship/starship/issues/4251 git-repository = { version = "0.25.0", default-features = false, features = ["max-performance-safe"] }