From 7b288d77dfc53d7d8fd3d8f2517decb26a436c5f Mon Sep 17 00:00:00 2001 From: Laurence Tratt Date: Mon, 31 Aug 2026 10:11:28 +0100 Subject: [PATCH] Prepare a 4.0.1 release. --- CHANGES.md | 8 ++++++++ Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 4416910..7d4b1f3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,11 @@ +# vob 4.0.1 (2026-08-31) + +* Remove inaccurate `size_hint`s from `iter_set_bits` and `iter_unset_bits`. + These returned the size of the `Vob` rather than the number of set/unset + bits. When used in idioms such as `vob.iter_set_bits().collect()` this could + cause significant overallocation. + + # vob 4.0.0 (2026-07-16) * Move from (the unmaintained) `bincode` to `wincode`. The associated feature diff --git a/Cargo.toml b/Cargo.toml index 8a66489..47e104f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "vob" description = "Vector of Bits with Vec-like API and usize backing storage" repository = "https://github.com/softdevteam/vob/" -version = "4.0.0" +version = "4.0.1" authors = ["Laurence Tratt "] readme = "README.md" license = "Apache-2.0/MIT"