From 4700a179513fea3e2c24664515946810bf91004e Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 19 Sep 2026 19:58:11 -0700 Subject: [PATCH 1/2] chore: allocator to =2.2.0, and s3zstd is not a registry crate rusty_alloc-api =2.0.5 -> =2.2.0 crates/rzstd-alloc rusty_alloc =2.0.5 -> =2.2.0 bare-metal/esp32s3 rusty_alloc-api =2.0.5 -> =2.2.0 bare-metal/esp32s3 Within 2.x, so nothing here changes shape. The only break in the 2.x line was 2.0.0 -- `default-features = false` now selects `no_std` -- and its changelog records that consumers on default features are unaffected. 2.1.0 and 2.2.0 carry no API change at all. This also closes part of a three-way split on the allocator across the portfolio: mata-master sits on =1.1.6, this repo was on =2.0.5, and 2.2.0 is what is published. `s3zstd` gets `publish = false`. It is firmware for an ESP32-S3 devkit and has never been on crates.io. Being outside the workspace already put it beyond release-plz's reach, but nothing said so in the manifest, so the portfolio tooling counted it among the crates this repository publishes. Verified: `cargo check --workspace --all-targets --features profile` is clean. Without `--features profile` the bench examples fail to compile -- that is pre-existing and by design (the examples are gated behind it), and it fails identically on origin/main with this change stashed. Co-Authored-By: Claude Opus 5 (1M context) --- Cargo.lock | 12 ++++++------ bare-metal/esp32s3/Cargo.toml | 9 +++++++-- crates/rzstd-alloc/Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 256626e..c8891dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -110,9 +110,9 @@ dependencies = [ [[package]] name = "rusty_alloc" -version = "2.0.5" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59f4e6793d58ca76f11c5138939761fbabb6978b1fe404e1c097fa6bd45e706" +checksum = "f3689dec49611086f9a977596bbc1c8d7b2d1c21691438af506b793723ce16fa" dependencies = [ "libc", "portable-atomic", @@ -130,11 +130,11 @@ dependencies = [ [[package]] name = "rusty_alloc-api" -version = "2.0.5" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66795d559e48d97cc9e5df15471c98ffd6a95870110fec8ca49ad22318e546c0" +checksum = "6df579b05b731b70f98a73ec477aa889f7404be5f326da47691b32cdb94a8418" dependencies = [ - "rusty_alloc 2.0.5", + "rusty_alloc 2.2.0", ] [[package]] @@ -178,7 +178,7 @@ dependencies = [ name = "rzstd-alloc" version = "0.2.5" dependencies = [ - "rusty_alloc-api 2.0.5", + "rusty_alloc-api 2.2.0", ] [[package]] diff --git a/bare-metal/esp32s3/Cargo.toml b/bare-metal/esp32s3/Cargo.toml index 3a8e422..abe0c41 100644 --- a/bare-metal/esp32s3/Cargo.toml +++ b/bare-metal/esp32s3/Cargo.toml @@ -1,6 +1,11 @@ [package] name = "s3zstd" version = "0.1.0" +# Firmware for an ESP32-S3 devkit, not a registry crate. It is outside the +# workspace so release-plz cannot reach it either way, but without this the +# portfolio tooling counts it among the crates this repository publishes -- +# and it has never been on crates.io. +publish = false edition = "2021" # On-board proof for rusty_zstd's bare-metal support: an ESP32-S3 (Xtensa LX7, @@ -36,8 +41,8 @@ esp-alloc = { version = "0.11.0", features = ["esp32s3", "internal-heap-stats"], # The core crate carries `prim::fixed::Region` and `good_region_size`; the api # crate carries the `GlobalAlloc`. Both pinned, both default-features off. -rusty_alloc = { version = "=2.0.5", default-features = false, optional = true } -rusty_alloc-api = { version = "=2.0.5", default-features = false, optional = true } +rusty_alloc = { version = "=2.2.0", default-features = false, optional = true } +rusty_alloc-api = { version = "=2.2.0", default-features = false, optional = true } [profile.release] opt-level = "s" diff --git a/crates/rzstd-alloc/Cargo.toml b/crates/rzstd-alloc/Cargo.toml index a7dc4b7..8472161 100644 --- a/crates/rzstd-alloc/Cargo.toml +++ b/crates/rzstd-alloc/Cargo.toml @@ -11,7 +11,7 @@ description = "rusty_alloc seam for rusty_zstd deliverables — never depend on publish = false [dependencies] -rusty_alloc-api = { version = "=2.0.5" } +rusty_alloc-api = { version = "=2.2.0" } [lints] workspace = true From 36ff1a2535ce216ac650ee096e98de24dc065f76 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 3 Oct 2026 22:24:01 -0700 Subject: [PATCH 2/2] chore: retarget the allocator bump to =2.2.2 rusty_alloc published 2.2.1 and 2.2.2 while this pull request sat open, so the version it was moving to was no longer the current one. Retargeted in place rather than opened again, so the review history stays put. Still a patch move inside 2.x: the only break in that line was 2.0.0, where default-features = false began selecting no_std, and this takes default features. Co-Authored-By: Claude Opus 5 (1M context) --- Cargo.lock | 12 ++++++------ bare-metal/esp32s3/Cargo.toml | 4 ++-- crates/rzstd-alloc/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c8891dc..1d7c672 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -110,9 +110,9 @@ dependencies = [ [[package]] name = "rusty_alloc" -version = "2.2.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3689dec49611086f9a977596bbc1c8d7b2d1c21691438af506b793723ce16fa" +checksum = "e982cf3e815fd9412c64562a89a71c9c10855bd034e262b8a754cfcf975ece3b" dependencies = [ "libc", "portable-atomic", @@ -130,11 +130,11 @@ dependencies = [ [[package]] name = "rusty_alloc-api" -version = "2.2.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6df579b05b731b70f98a73ec477aa889f7404be5f326da47691b32cdb94a8418" +checksum = "5406f30b98310bbbe2237d551b13269f45ca6f529ff1266b44a35759ddf05155" dependencies = [ - "rusty_alloc 2.2.0", + "rusty_alloc 2.2.2", ] [[package]] @@ -178,7 +178,7 @@ dependencies = [ name = "rzstd-alloc" version = "0.2.5" dependencies = [ - "rusty_alloc-api 2.2.0", + "rusty_alloc-api 2.2.2", ] [[package]] diff --git a/bare-metal/esp32s3/Cargo.toml b/bare-metal/esp32s3/Cargo.toml index abe0c41..7814cef 100644 --- a/bare-metal/esp32s3/Cargo.toml +++ b/bare-metal/esp32s3/Cargo.toml @@ -41,8 +41,8 @@ esp-alloc = { version = "0.11.0", features = ["esp32s3", "internal-heap-stats"], # The core crate carries `prim::fixed::Region` and `good_region_size`; the api # crate carries the `GlobalAlloc`. Both pinned, both default-features off. -rusty_alloc = { version = "=2.2.0", default-features = false, optional = true } -rusty_alloc-api = { version = "=2.2.0", default-features = false, optional = true } +rusty_alloc = { version = "=2.2.2", default-features = false, optional = true } +rusty_alloc-api = { version = "=2.2.2", default-features = false, optional = true } [profile.release] opt-level = "s" diff --git a/crates/rzstd-alloc/Cargo.toml b/crates/rzstd-alloc/Cargo.toml index 8472161..a5172dc 100644 --- a/crates/rzstd-alloc/Cargo.toml +++ b/crates/rzstd-alloc/Cargo.toml @@ -11,7 +11,7 @@ description = "rusty_alloc seam for rusty_zstd deliverables — never depend on publish = false [dependencies] -rusty_alloc-api = { version = "=2.2.0" } +rusty_alloc-api = { version = "=2.2.2" } [lints] workspace = true