Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

chore: bump which from 7.0.3 to 8.0.0 (#204)

dependabot[bot]975427ba97bd
diff --git a/Cargo.lock b/Cargo.lock
index 9b03e5b6c..533e90e3f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2104,7 +2104,7 @@ dependencies = [
"timer",
"unicode-width",
"vte 0.15.0",
- "which",
+ "which 7.0.3",
]
[[package]]
@@ -2671,6 +2671,17 @@ dependencies = [
"winsafe",
]
+[[package]]
+name = "which"
+version = "8.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3fabb953106c3c8eea8306e4393700d7657561cb43122571b172bbfb7c7ba1d"
+dependencies = [
+ "env_home",
+ "rustix",
+ "winsafe",
+]
+
[[package]]
name = "winapi"
version = "0.3.9"
@@ -3000,7 +3011,7 @@ dependencies = [
"unicode-width",
"vergen-gitcl",
"vt100",
- "which",
+ "which 8.0.0",
"wrap-ansi",
]
diff --git a/Cargo.toml b/Cargo.toml
index 3b1781991..b4c397b89 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,6 +19,10 @@ default-run = "wt"
allow-branch = ["*"]
consolidate-commits = true
+[package.metadata.cargo-udeps.ignore]
+# Used only on Windows (#[cfg(windows)] in src/shell_exec.rs)
+normal = ["which"]
+
[features]
# Disabled: Enable testing for shells that require extra installation steps (nushell, powershell, elvish, xonsh, oil)
# tier-2-integration-tests = []
@@ -93,7 +97,7 @@ osc8 = "0.1.0"
home = "0.5.12"
dirs = "6.0"
normalize-path = "0.2.1"
-which = "7.0"
+which = "8.0"
# Cross-platform path canonicalization that avoids Windows verbatim paths (\\?\)
# which external tools like git cannot handle. On Unix, it's a no-op wrapper.
dunce = "1.0"