Skip to content

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

chore: bump petname from 3.0.0 to 3.0.1 (#3314)

dependabot[bot]748f82efa396
diff --git a/Cargo.lock b/Cargo.lock
index 636c51cf6..8d126f588 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2808,9 +2808,9 @@ dependencies = [
[[package]]
name = "petname"
-version = "3.0.0"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ce610bff48dd7b6a127e45631795fbb0b302b99a39bef7e6da3d297e8eb2b6b"
+checksum = "1f54cb040158697d07953ea14e1f659e738197161c04cc8a34bcd9b21c9c0772"
dependencies = [
"petname-macros",
"rand 0.10.1",
@@ -2818,9 +2818,9 @@ dependencies = [
[[package]]
name = "petname-macros"
-version = "3.0.0"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "324239bd00dcf61f1a0e301d4d8f6f8c080a755248fc3fdc817ee1fdbbc27b8b"
+checksum = "ff2fb9973505377f85e28c339aaad18df99c32ee8aa3d3565534eec89b7cad76"
dependencies = [
"proc-macro2",
"quote",
diff --git a/Cargo.toml b/Cargo.toml
index ebf99580e..63304898d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -235,16 +235,19 @@ sha2 = "0.11"
# breaking-change rollout (see `test_codename_outputs_are_stable` and
# `src/config/expansion.rs::codename`). We use only the static wordlists,
# not the random-name generator, so `default-rng` and `clap` stay off.
-petname = { version = "=3.0.0", default-features = false, features = ["default-words"] }
-# PINNED EXACT to match the `petname` pin above. `petname` 3.0.0 declares a
-# caret range (`petname-macros = "3.0.0"` => `^3.0.0`), but petname-macros 3.0.1
-# and 3.1.0 are SemVer-incompatible patch/minor releases: their `petnames!`
-# macro emits `::petname::lang::…` references that don't exist in petname 3.0.0,
-# so the pair fails to compile (E0433). The committed lockfile keeps 3.0.0, but
-# the nightly `minimal-versions` job re-resolves with `cargo update` and would
-# pull the broken macros crate. This direct `=3.0.0` requirement unifies the
-# shared resolution back to 3.0.0. Remove if/when `petname` itself is bumped.
-petname-macros = "=3.0.0"
+petname = { version = "=3.0.1", default-features = false, features = ["default-words"] }
+# PINNED EXACT to match the `petname` pin above. `petname` 3.0.1 declares a
+# caret range (`petname-macros = "3.0.0"` => `^3.0.0`), but petname-macros is
+# SemVer-incompatible with petname across the line in BOTH directions: macros
+# 3.1.0 emits `petnames!`-macro references (`::petname::lang::…`) that newer
+# petname has, but 3.0.x petname doesn't (E0433); macros 3.0.0 is missing the
+# `english` module that petname 3.0.1 re-exports (`petname_macros::english`),
+# so it too fails to compile (E0432). Only an exact match works. The committed
+# lockfile keeps 3.0.1, but the nightly `minimal-versions` job re-resolves with
+# `cargo update` (pulling 3.0.0) and a plain `cargo update` would pull 3.1.0 —
+# both broken. This direct `=3.0.1` requirement unifies the shared resolution
+# to 3.0.1. Bump in lockstep whenever `petname` itself is bumped.
+petname-macros = "=3.0.1"
tempfile = "3.27"
wait-timeout = "0.2"