Repository: probe-rs/probe-rs
Pull request #3444 (2025-06-30 01:16:01)

fix(deps): update all non-major dependencies
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Swatinem/rust-cache](https://redirect.github.com/Swatinem/rust-cache) | action | minor | `v2.7.8` -> `v2.8.0` |
| [cmsis-pack](https://redirect.github.com/pyocd/cmsis-pack-manager) | dependencies | patch | `0.7.1` -> `0.7.2` |
| [cobs](https://redirect.github.com/jamesmunns/cobs.rs) | dependencies | minor | `0.3` -> `0.4` |
| [indexmap](https://redirect.github.com/indexmap-rs/indexmap) | dependencies | minor | `2.9.0` -> `2.10.0` |
| [postcard](https://redirect.github.com/jamesmunns/postcard) | dependencies | patch | `1.1.1` -> `1.1.2` |
| [taiki-e/install-action](https://redirect.github.com/taiki-e/install-action) | action | minor | `v2.53.0` -> `v2.54.3` |

---

### Release Notes

<details>
<summary>Swatinem/rust-cache (Swatinem/rust-cache)</summary>

### [`v2.8.0`](https://redirect.github.com/Swatinem/rust-cache/releases/tag/v2.8.0)

[Compare Source](https://redirect.github.com/Swatinem/rust-cache/compare/v2.7.8...v2.8.0)

##### What's Changed

- Add cache-workspace-crates feature by [@&#8203;jbransen](https://redirect.github.com/jbransen) in [https://github.com/Swatinem/rust-cache/pull/246](https://redirect.github.com/Swatinem/rust-cache/pull/246)
- Feat: support warpbuild cache provider by [@&#8203;stegaBOB](https://redirect.github.com/stegaBOB) in [https://github.com/Swatinem/rust-cache/pull/247](https://redirect.github.com/Swatinem/rust-cache/pull/247)

##### New Contributors

- [@&#8203;jbransen](https://redirect.github.com/jbransen) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/246](https://redirect.github.com/Swatinem/rust-cache/pull/246)
- [@&#8203;stegaBOB](https://redirect.github.com/stegaBOB) made their first contribution in [https://github.com/Swatinem/rust-cache/pull/247](https://redirect.github.com/Swatinem/rust-cache/pull/247)

**Full Changelog**: https://github.com/Swatinem/rust-cache/compare/v2.7.8...v2.8.0

</details>

<details>
<summary>jamesmunns/cobs.rs (cobs)</summary>

### [`v0.4.0`](https://redirect.github.com/jamesmunns/cobs.rs/blob/HEAD/CHANGELOG.md#v040-2025-06-21)

[Compare Source](https://redirect.github.com/jamesmunns/cobs.rs/compare/v0.3.0...v0.4.0)

#### Fixed

- The encoder functions will now encode empty input into a single 0x01 byte.
  [#&#8203;49](https://redirect.github.com/jamesmunns/cobs.rs/pull/49)

#### Changed

- Bumped `defmt` dependency to v1
  [#&#8203;51](https://redirect.github.com/jamesmunns/cobs.rs/pull/51)
- `decode` now returns the `DecodeReport` structure which contains both the frame size
  and the parsed size.
  [#&#8203;50](https://redirect.github.com/jamesmunns/cobs.rs/pull/50)
- `CobsDecoder::push` also returns a `DecodeReport` now.
  [#&#8203;50](https://redirect.github.com/jamesmunns/cobs.rs/pull/50)
- The `DecodeReport` structure now has `frame_size` and `parsed_size` getter methods instead
  of public `src_used` / `dst_used` fields.
  [#&#8203;50](https://redirect.github.com/jamesmunns/cobs.rs/pull/50)
- The `CobsDecoder` is now able to continuously parse data without having to re-create
  it after each parsed packet.
  [#&#8203;50](https://redirect.github.com/jamesmunns/cobs.rs/pull/50)

</details>

<details>
<summary>indexmap-rs/indexmap (indexmap)</summary>

### [`v2.10.0`](https://redirect.github.com/indexmap-rs/indexmap/blob/HEAD/RELEASES.md#2100-2025-06-26)

[Compare Source](https://redirect.github.com/indexmap-rs/indexmap/compare/2.9.0...2.10.0)

- Added `extract_if` methods to `IndexMap` and `IndexSet`, similar to the
  methods for `HashMap` and `HashSet` with ranges like `Vec::extract_if`.
- Added more `#[track_caller]` annotations to functions that may panic.

</details>

<details>
<summary>taiki-e/install-action (taiki-e/install-action)</summary>

### [`v2.54.3`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.54.3): 2.54.3

[Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.54.2...v2.54.3)

- Update `cargo-careful@latest` to 0.4.8.

### [`v2.54.2`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.54.2): 2.54.2

[Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.54.1...v2.54.2)

- Update `rclone@latest` to 1.70.2.

- Update `zizmor@latest` to 1.10.0.

### [`v2.54.1`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.54.1): 2.54.1

[Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.54.0...v2.54.1)

- Update `wasmtime@latest` to 34.0.1.

- Update `cargo-tarpaulin@latest` to 0.32.8.

- Update `knope@latest` to 0.21.0.

### [`v2.54.0`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.54.0): 2.54.0

[Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.53.2...v2.54.0)

- Add `cyclonedx` ([#&#8203;1000](https://redirect.github.com/taiki-e/install-action/pull/1000), thanks [@&#8203;jayvdb](https://redirect.github.com/jayvdb))

- Update `wasmtime@latest` to 34.0.0.

- Update `rclone@latest` to 1.70.1.

- Update `cargo-binstall@latest` to 1.14.1.

- Update `release-plz@latest` to 0.3.136.

### [`v2.53.2`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.53.2): 2.53.2

[Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.53.1...v2.53.2)

- Fix `cargo-nextest` installation failure on Ubuntu 24.04 due to HTTP 403 error on requests to crates.io. ([#&#8203;1007](https://redirect.github.com/taiki-e/install-action/pull/1007))

- Update `rclone@latest` to 1.70.0.

### [`v2.53.1`](https://redirect.github.com/taiki-e/install-action/releases/tag/v2.53.1): 2.53.1

[Compare Source](https://redirect.github.com/taiki-e/install-action/compare/v2.53.0...v2.53.1)

- Support `typos` on AArch64 Linux. ([#&#8203;1004](https://redirect.github.com/taiki-e/install-action/pull/1004), thanks [@&#8203;vivienm](https://redirect.github.com/vivienm))

- Update `cargo-nextest@latest` to 0.9.99.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/probe-rs/probe-rs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJjaGFuZ2Vsb2c6c2tpcCIsImRlcGVuZGVuY2llcyJdfQ==-->



Patch:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f24b4389..e441ecde 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -46,7 +46,7 @@ jobs:
         if: (matrix.os == 'ubuntu-latest') || (matrix.os == 'ubuntu-22.04')
 
       - name: Cache Dependencies
-        uses: Swatinem/rust-cache@v2.7.8
+        uses: Swatinem/rust-cache@v2.8.0
 
       - name: cargo check for probe-rs, --no-default-features
         run: cargo check -p probe-rs --no-default-features --locked
@@ -85,7 +85,7 @@ jobs:
         run: rustup target add thumbv7m-none-eabi
 
       - name: Cache Dependencies
-        uses: Swatinem/rust-cache@v2.7.8
+        uses: Swatinem/rust-cache@v2.8.0
 
       - name: Run cargo test
         run: cargo test --all-features --locked
@@ -113,7 +113,7 @@ jobs:
           sudo apt install -y libudev-dev
 
       - name: Cache Dependencies
-        uses: Swatinem/rust-cache@v2.7.8
+        uses: Swatinem/rust-cache@v2.8.0
 
       - name: Run cargo clippy
         run: cargo clippy --all-features --all-targets --locked -- -D warnings
@@ -137,7 +137,7 @@ jobs:
           sudo apt install -y libudev-dev
 
       - name: Cache Dependencies
-        uses: Swatinem/rust-cache@v2.7.8
+        uses: Swatinem/rust-cache@v2.8.0
 
       - name: Run cargo doc
         run: cargo doc -p probe-rs --no-deps --all-features --locked
diff --git a/Cargo.lock b/Cargo.lock
index 31413137..4d820b40 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -699,9 +699,9 @@ dependencies = [
 
 [[package]]
 name = "cmsis-pack"
-version = "0.7.1"
+version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57a821a9b18a53d1e81202cbd3b26469de251524b5f9ad0b2527cbe57bd854c2"
+checksum = "9a1c787609957487fda36ff8b942a2ea90e16e9ce7e4b9314c33fca9a91e1a44"
 dependencies = [
  "anyhow",
  "bytes",
@@ -716,15 +716,18 @@ dependencies = [
 
 [[package]]
 name = "cobs"
-version = "0.2.3"
+version = "0.3.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67ba02a97a2bd10f4b59b25c7973101c79642302776489e030cd13cdab09ed15"
+checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1"
+dependencies = [
+ "thiserror 2.0.12",
+]
 
 [[package]]
 name = "cobs"
-version = "0.3.0"
+version = "0.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1"
+checksum = "fea6d1b751c55bd9c0dda7d4ff752074e98f4765ae969664648bd193bb326d15"
 dependencies = [
  "thiserror 2.0.12",
 ]
@@ -2095,9 +2098,9 @@ checksum = "365a784774bb381e8c19edb91190a90d7f2625e057b55de2bc0f6b57bc779ff2"
 
 [[package]]
 name = "indexmap"
-version = "2.9.0"
+version = "2.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
+checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661"
 dependencies = [
  "equivalent",
  "hashbrown",
@@ -2968,11 +2971,11 @@ dependencies = [
 
 [[package]]
 name = "postcard"
-version = "1.1.1"
+version = "1.1.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "170a2601f67cc9dba8edd8c4870b15f71a6a2dc196daec8c83f72b59dff628a8"
+checksum = "6c1de96e20f51df24ca73cafcc4690e044854d803259db27a00a461cb3b9d17a"
 dependencies = [
- "cobs 0.2.3",
+ "cobs 0.3.0",
  "embedded-io 0.4.0",
  "embedded-io 0.6.1",
  "heapless 0.7.17",
@@ -3055,7 +3058,7 @@ dependencies = [
  "bitfield",
  "bitvec",
  "clap",
- "cobs 0.3.0",
+ "cobs 0.4.0",
  "docsplay",
  "dunce",
  "env_logger",
diff --git a/probe-rs/Cargo.toml b/probe-rs/Cargo.toml
index d58f0897..726c3e3a 100644
--- a/probe-rs/Cargo.toml
+++ b/probe-rs/Cargo.toml
@@ -62,7 +62,7 @@ uf2-decode = "0.2"
 espflash = { version = "3", default-features = false }
 parking_lot = "0.12.2"
 zerocopy = { version = "0.8.0", features = ["derive"] }
-cobs = "0.3"
+cobs = "0.4"
 
 serde = { version = "1", features = ["derive"] }
 serde_yaml = "0.9"


Test patch:
diff --git a/.github/workflows/smoketest.yml b/.github/workflows/smoketest.yml
index 988c1c97..0221cdbe 100644
--- a/.github/workflows/smoketest.yml
+++ b/.github/workflows/smoketest.yml
@@ -30,12 +30,12 @@ jobs:
         run: rustup target add aarch64-unknown-linux-gnu
 
       - name: Install cross
-        uses: taiki-e/install-action@v2.53.0
+        uses: taiki-e/install-action@v2.54.3
         with:
           tool: cross
 
       - name: Cache Dependencies
-        uses: Swatinem/rust-cache@v2.7.8
+        uses: Swatinem/rust-cache@v2.8.0
 
       - name: Build smoke-tester
         run: cross build --release --target aarch64-unknown-linux-gnu -p smoke_tester