From e6a8101218dd915777ac625a1dc9309889e378b6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:27:29 +0000 Subject: [PATCH 1/4] Initial plan From 6f556017eb0d3918196a80018c33fcdbb4aed980 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:29:40 +0000 Subject: [PATCH 2/4] chore: bump version to 0.2.0 Co-authored-by: ZR233 <34859362+ZR233@users.noreply.github.com> --- CHANGELOG.md | 8 +++++++- Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04ed143..14f9efe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] - 2026-03-05 + +### Changed +- Version bump to 0.2.0 for crates.io release + ## [0.1.1] - 2026-02-06 ### Added @@ -54,6 +59,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - DMA32 pages test cases - Comprehensive edge case coverage -## [Unreleased]: https://github.com/arceos-hypervisor/buddy-slab-allocator/compare/v0.1.1...HEAD +## [Unreleased]: https://github.com/arceos-hypervisor/buddy-slab-allocator/compare/v0.2.0...HEAD +## [0.2.0]: https://github.com/arceos-hypervisor/buddy-slab-allocator/compare/v0.1.1...v0.2.0 ## [0.1.1]: https://github.com/arceos-hypervisor/buddy-slab-allocator/compare/v0.1.0...v0.1.1 ## [0.1.0]: https://github.com/arceos-hypervisor/buddy-slab-allocator/releases/tag/v0.1.0 diff --git a/Cargo.toml b/Cargo.toml index 997f17f..f512335 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "buddy-slab-allocator" -version = "0.1.1" +version = "0.2.0" edition = "2021" authors = ["Song Zhiyong "] description = "Memory allocator with Buddy and Slab allocation" From ee60bfbe8cbaa291000360a0b3183905937e36fd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:33:12 +0000 Subject: [PATCH 3/4] chore: remove deprecated bench feature Co-authored-by: ZR233 <34859362+ZR233@users.noreply.github.com> --- CHANGELOG.md | 3 +++ Cargo.toml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14f9efe..10d365a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.2.0] - 2026-03-05 +### Removed +- Removed deprecated `bench` feature flag from `Cargo.toml` + ### Changed - Version bump to 0.2.0 for crates.io release diff --git a/Cargo.toml b/Cargo.toml index f512335..ee1f184 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,6 @@ default = [] log = ["dep:log"] tracking = [] -# Deprecated -bench = [] - [dependencies] axallocator = "0.2" cfg-if = "1.0" From e1fc46c8378da042b442f558895a623cb84fea0d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Mar 2026 14:38:23 +0000 Subject: [PATCH 4/4] docs: complete CHANGELOG for 0.2.0 with entries from PRs #1 and #2 Co-authored-by: AsakuraMizu <17076564+AsakuraMizu@users.noreply.github.com> --- CHANGELOG.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10d365a..f0d7c65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.2.0] - 2026-03-05 -### Removed -- Removed deprecated `bench` feature flag from `Cargo.toml` +### Added +- Added `axallocator = "0.2"` as a dependency ### Changed -- Version bump to 0.2.0 for crates.io release +- `AllocError`, `AllocResult`, `BaseAllocator`, `ByteAllocator`, `PageAllocator`, and `IdAllocator` are now re-exported from `axallocator` instead of being defined locally +- Updated Rust toolchain to `nightly-2026-02-25` +- Benchmarks no longer require `--features bench`; `criterion` and `rand` moved to `[dev-dependencies]` + +### Removed +- Removed locally defined allocator trait and error type definitions (now provided by `axallocator`) +- Removed the deprecated `bench` feature flag ## [0.1.1] - 2026-02-06