From f6595e5c7928c47080d3069a184494472da368a0 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 18 Dec 2025 08:40:43 -0700 Subject: [PATCH] Remove `bincode` dev-dependency `bincode` is unmaintained. See https://crates.io/crates/bincode/3.0.0 --- Cargo.lock | 10 ---------- frodo-kem/Cargo.toml | 1 - frodo-kem/README.md | 1 - frodo-kem/src/lib.rs | 5 ----- 4 files changed, 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2df3ac4..1fca6c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,15 +61,6 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba" -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - [[package]] name = "bitflags" version = "2.8.0" @@ -437,7 +428,6 @@ name = "frodo-kem" version = "0.0.1" dependencies = [ "aes", - "bincode", "chacha20", "criterion", "hex", diff --git a/frodo-kem/Cargo.toml b/frodo-kem/Cargo.toml index 6f59f8f..c89ab42 100644 --- a/frodo-kem/Cargo.toml +++ b/frodo-kem/Cargo.toml @@ -79,7 +79,6 @@ zeroize = "1" [dev-dependencies] aes = "0.9.0-rc.2" -bincode = "1.3" criterion = "0.7" hex = "0.4" hybrid-array = "0.4" diff --git a/frodo-kem/README.md b/frodo-kem/README.md index 06e2bcf..d9c4104 100644 --- a/frodo-kem/README.md +++ b/frodo-kem/README.md @@ -73,7 +73,6 @@ On Armv8, the rust shake implementation is faster than the openssl implementatio This crate has been tested against the following `serde` compatible formats: - [x] serde_bare -- [x] bincode - [x] postcard - [x] serde_cbor - [x] serde_json diff --git a/frodo-kem/src/lib.rs b/frodo-kem/src/lib.rs index 9ef4148..67e50f0 100644 --- a/frodo-kem/src/lib.rs +++ b/frodo-kem/src/lib.rs @@ -1741,9 +1741,4 @@ mod tests { postcard::to_stdvec, postcard::from_bytes ); - serde_test!( - serialization_bincode, - bincode::serialize, - bincode::deserialize - ); }