1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-01 01:04:00 +00:00

fix: Disable multithreading in jwalk (via gitoxide) as workaround for #4251 (#4258)

Disable multithreading in `jwalk` (via `gitoxide`) as workaround for #4251
This commit is contained in:
Sebastian Thiel 2022-08-16 02:20:18 +08:00 committed by GitHub
parent a592076533
commit 37b54f7ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

9
Cargo.lock generated
View File

@ -1032,9 +1032,9 @@ dependencies = [
[[package]] [[package]]
name = "git-features" name = "git-features"
version = "0.22.0" version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57bfebf2c0a0d28414aa7c3baa058d5c1c2969e553806904343a2c11483f425a" checksum = "48289da362ef7ee1412a9a80bb459406d3045ad604484526210d594d10aa5268"
dependencies = [ dependencies = [
"crc32fast", "crc32fast",
"crossbeam-channel", "crossbeam-channel",
@ -1064,9 +1064,9 @@ dependencies = [
[[package]] [[package]]
name = "git-hash" name = "git-hash"
version = "0.9.6" version = "0.9.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f82a0c09fdddeb738ed8338d214652c6d60ebf814a30d9ae1ecae7c91e0bbe81" checksum = "898628aaedf437563872461736f861acc1503e23ee4a59857513b0261c014460"
dependencies = [ dependencies = [
"hex", "hex",
"quick-error", "quick-error",
@ -2678,6 +2678,7 @@ dependencies = [
"dirs-next", "dirs-next",
"dunce", "dunce",
"gethostname", "gethostname",
"git-features",
"git-repository", "git-repository",
"guess_host_triple", "guess_host_triple",
"home", "home",

View File

@ -42,6 +42,8 @@ clap_complete = "3.2.4"
dirs-next = "2.0.0" dirs-next = "2.0.0"
dunce = "1.0.2" dunce = "1.0.2"
gethostname = "0.2.3" gethostname = "0.2.3"
# Addresses https://github.com/starship/starship/issues/4251
git-features = { version = "0.22.1", features = ["fs-walkdir-single-threaded"] }
git-repository = "0.20.0" git-repository = "0.20.0"
indexmap = { version = "1.9.1", features = ["serde"] } indexmap = { version = "1.9.1", features = ["serde"] }
local_ipaddress = "0.1.3" local_ipaddress = "0.1.3"