diff --git a/CHANGES.md b/CHANGES.md index f9cc50c..60bbaed 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +# packedvec 2.0.0 (2026-07-16) + +* Move from (the unmaintained) `bincode` to `wincode`. The associated feature + name has also been renamed to `wincode`. + + # packedvec 1.2.5 (2025-03-17) * Add an optional bincode dependency, which can be used as an alternative to diff --git a/Cargo.toml b/Cargo.toml index 1643990..25b57fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "packedvec" description = "Store vectors of integers efficiently" repository = "https://github.com/softdevteam/packedvec/" -version = "1.2.5" +version = "2.0.0" authors = ["Gabriela Alexandra Moldovan ", "Laurence Tratt "] readme = "README.md" license = "Apache-2.0/MIT" @@ -17,4 +17,4 @@ wincode = { version="0.5.5", features=["derive"], optional=true } rand = "0.3" [features] -bincode = ["dep:wincode"] +wincode = ["dep:wincode"] diff --git a/src/lib.rs b/src/lib.rs index c78139c..792c48d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -10,7 +10,7 @@ extern crate num_traits; #[macro_use] extern crate serde; -#[cfg(feature = "bincode")] +#[cfg(feature = "wincode")] #[macro_use] extern crate wincode; @@ -55,7 +55,7 @@ use std::{ /// superior. #[derive(Clone, Debug)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[cfg_attr(feature = "bincode", derive(SchemaRead, SchemaWrite))] +#[cfg_attr(feature = "wincode", derive(SchemaRead, SchemaWrite))] pub struct PackedVec { len: usize, bits: Vec,