diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-08-16 02:20:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 14:20:18 -0400 |
commit | 37b54f7ac3ba53ea851b478501a96a7c4e188fc4 (patch) | |
tree | d042b69dd48c1ca10c05fe1e0bd5bf477202a4f3 | |
parent | a59207653345839899f6957c0fcfe8503e439457 (diff) |
fix: Disable multithreading in `jwalk` (via `gitoxide`) as workaround for #4251 (#4258)
Disable multithreading in `jwalk` (via `gitoxide`) as workaround for #4251
-rw-r--r-- | Cargo.lock | 9 | ||||
-rw-r--r-- | Cargo.toml | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock index 47fedfa76..01aea0d18 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1032,9 +1032,9 @@ dependencies = [ [[package]] name = "git-features" -version = "0.22.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57bfebf2c0a0d28414aa7c3baa058d5c1c2969e553806904343a2c11483f425a" +checksum = "48289da362ef7ee1412a9a80bb459406d3045ad604484526210d594d10aa5268" dependencies = [ "crc32fast", "crossbeam-channel", @@ -1064,9 +1064,9 @@ dependencies = [ [[package]] name = "git-hash" -version = "0.9.6" +version = "0.9.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f82a0c09fdddeb738ed8338d214652c6d60ebf814a30d9ae1ecae7c91e0bbe81" +checksum = "898628aaedf437563872461736f861acc1503e23ee4a59857513b0261c014460" dependencies = [ "hex", "quick-error", @@ -2678,6 +2678,7 @@ dependencies = [ "dirs-next", "dunce", "gethostname", + "git-features", "git-repository", "guess_host_triple", "home", diff --git a/Cargo.toml b/Cargo.toml index ad523e7f5..d12eb6677 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,8 @@ clap_complete = "3.2.4" dirs-next = "2.0.0" dunce = "1.0.2" 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" indexmap = { version = "1.9.1", features = ["serde"] } local_ipaddress = "0.1.3" |