diff --git a/Cargo.lock b/Cargo.lock index 5c97113..147b5a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -275,7 +275,7 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "rusty_alloc" -version = "2.0.0" +version = "2.0.1" dependencies = [ "libc", "loom", @@ -286,14 +286,14 @@ dependencies = [ [[package]] name = "rusty_alloc-api" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", ] [[package]] name = "rusty_alloc-bench" -version = "2.0.0" +version = "2.0.1" dependencies = [ "libloading", "rusty_alloc", @@ -302,14 +302,14 @@ dependencies = [ [[package]] name = "rusty_alloc-ffi" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", ] [[package]] name = "rusty_alloc-override" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", "rusty_alloc-ffi", @@ -317,7 +317,7 @@ dependencies = [ [[package]] name = "rusty_alloc-wasm" -version = "2.0.0" +version = "2.0.1" dependencies = [ "rusty_alloc", ] diff --git a/Cargo.toml b/Cargo.toml index fa715fe..7a1743a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -132,7 +132,7 @@ members = [ # different files that never got the section. Fixed here, in both, and # verified by extracting the packaged `.crate` before publishing rather than # checking the live page afterwards. -version = "2.0.0" +version = "2.0.1" edition = "2024" # MSRV. Declared for the first time in 1.0.1 because this release genuinely # needs it: `asm!` label blocks (`asm_goto`, stable 1.87) carry the free path's diff --git a/crates/rusty_alloc/CHANGELOG.md b/crates/rusty_alloc/CHANGELOG.md index f153d3f..ac47a9d 100644 --- a/crates/rusty_alloc/CHANGELOG.md +++ b/crates/rusty_alloc/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.1](https://github.com/Remade-With-Rust/rusty_alloc/compare/rusty_alloc-v2.0.0...rusty_alloc-v2.0.1) - 2026-09-08 + ### Added - `prim::fixed::MIN_REGION` and `prim::fixed::usable_bytes(base, len)` — a @@ -41,6 +43,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All four reported by the first outside firmware to adopt 2.0.0 (`docs/plans/embedded-adoption.md`). +### Changed + +- `portable-atomic` is `optional` and enabled by `std`, so it is pulled only + where it is reachable — a target without 64-bit atomics that also has `std`. + A `no_std` firmware was fetching and compiling a crate it then discarded at + link time. Costs nothing on the device either way; it buys an accurate + dependency graph in an SBOM or a `cargo audit`. + ## [2.0.0](https://github.com/Remade-With-Rust/rusty_alloc/compare/rusty_alloc-v1.1.6...rusty_alloc-v2.0.0) - 2026-09-07 ### Breaking diff --git a/crates/rusty_alloc_api/Cargo.toml b/crates/rusty_alloc_api/Cargo.toml index 0d75c8a..7d9d1d7 100644 --- a/crates/rusty_alloc_api/Cargo.toml +++ b/crates/rusty_alloc_api/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" [dependencies] # A published crate needs a VERSION alongside the path: the path is what the # workspace builds against, the version is what crates.io resolves. -rusty_alloc = { path = "../rusty_alloc", version = "2.0.0", default-features = false } +rusty_alloc = { path = "../rusty_alloc", version = "2.0.1", default-features = false } [features] # Mirrors the core's (P3, docs/plans/small-metal.md). Default-on, so every