diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f9e366..e6170a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,19 @@ Released YYYY-MM-DD. -------------------------------------------------------------------------------- +## 3.16.0 + +Released 2024-04-08. + +### Added + +* Added an optional, off-by-default dependency on the `serde` crate. Enabling + this dependency allows you to serialize Bumpalo's collection and box + types. Deserialization is not implemented, due to constraints of the + deserialization trait. + +-------------------------------------------------------------------------------- + ## 3.15.4 Released 2024-03-07. diff --git a/Cargo.toml b/Cargo.toml index 02536ee..e77afcb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0" name = "bumpalo" readme = "README.md" repository = "https://github.com/fitzgen/bumpalo" -version = "3.15.4" +version = "3.16.0" exclude = ["/.github/*", "/benches", "/tests", "valgrind.supp", "bumpalo.png"] rust-version = "1.73.0" diff --git a/tests/all/serde.rs b/tests/all/serde.rs index a37962c..6270095 100644 --- a/tests/all/serde.rs +++ b/tests/all/serde.rs @@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize}; macro_rules! compare_std_vec { (in $bump:ident; $($x:expr),+) => {{ - let mut vec = vec![in &$bump; $($x),+]; + let vec = vec![in &$bump; $($x),+]; let std_vec = std::vec![$($x),+]; (vec, std_vec) }}