From 43192bba4895058bf374702c10c40f5dd9a5aba0 Mon Sep 17 00:00:00 2001 From: farmer_timmm <63073761+Ttimmahlax@users.noreply.github.com> Date: Sat, 19 Sep 2026 21:06:51 -0700 Subject: [PATCH 1/2] bump rusty_alloc-api to =2.2.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0fa4332..3d2a974 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ expr-count = ["expressions", "rusty_expressions/expr-count"] # Pin exactly: earlier releases had UAFs on all targets. Kept in step with # rusty_expressions, which moved to 1.1.4 -- a consumer that enables both # crates' allocators would otherwise pull two incompatible majors. -rusty_alloc-api = { version = "=1.1.6", optional = true } +rusty_alloc-api = { version = "=2.2.0", optional = true } # The Oniguruma remake, split out of this repo and published standalone. # `default-features = false` is LOAD-BEARING: rusty_expressions installs # rusty_alloc as a #[global_allocator] by default, and so does this crate -- From 8cbca4ea7aa1b5fa9b92139df101affde28f1998 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 3 Oct 2026 22:24:18 -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.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3d2a974..ae965c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ expr-count = ["expressions", "rusty_expressions/expr-count"] # Pin exactly: earlier releases had UAFs on all targets. Kept in step with # rusty_expressions, which moved to 1.1.4 -- a consumer that enables both # crates' allocators would otherwise pull two incompatible majors. -rusty_alloc-api = { version = "=2.2.0", optional = true } +rusty_alloc-api = { version = "=2.2.2", optional = true } # The Oniguruma remake, split out of this repo and published standalone. # `default-features = false` is LOAD-BEARING: rusty_expressions installs # rusty_alloc as a #[global_allocator] by default, and so does this crate --