From 70a0021cbf27347b6f9a377f9e0a76ea54ffd8c1 Mon Sep 17 00:00:00 2001 From: Nicolas Sarlin Date: Mon, 29 Dec 2025 17:08:52 +0100 Subject: [PATCH] chore: fix bincode dependency version --- Cargo.toml | 1 + backends/tfhe-hpu-backend/Cargo.toml | 4 ++-- tfhe-benchmark/Cargo.toml | 2 +- tfhe-fft/Cargo.toml | 2 +- tfhe-zk-pok/Cargo.toml | 2 +- tfhe/Cargo.toml | 2 +- utils/tfhe-backward-compat-data/Cargo.toml | 2 +- utils/tfhe-versionable/Cargo.toml | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 541eebfc8..0a6c79341 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ rayon = "1.11" serde = { version = "1.0", default-features = false } wasm-bindgen = "0.2.101" getrandom = "0.2.8" +bincode = "=1.3.3" [profile.bench] lto = "fat" diff --git a/backends/tfhe-hpu-backend/Cargo.toml b/backends/tfhe-hpu-backend/Cargo.toml index 0e5b27bd6..38e0f1fb2 100644 --- a/backends/tfhe-hpu-backend/Cargo.toml +++ b/backends/tfhe-hpu-backend/Cargo.toml @@ -61,8 +61,8 @@ bitvec = { version = "1.0", optional = true } serde_json = { version = "1.0", optional = true } # Dependencies used for v80 pdi handling -bincode ={ version = "1.3", optional = true} -serde_derive ={ version = "1.0", optional = true} +bincode = { workspace = true, optional = true } +serde_derive = { version = "1.0", optional = true } # Binary for manual debugging # Enable to access Hpu register and drive some custom sequence by hand diff --git a/tfhe-benchmark/Cargo.toml b/tfhe-benchmark/Cargo.toml index 72d58cb2e..1fb042d09 100644 --- a/tfhe-benchmark/Cargo.toml +++ b/tfhe-benchmark/Cargo.toml @@ -15,7 +15,7 @@ name = "benchmark" path = "src/lib.rs" [dependencies] -bincode = "1.3.3" +bincode = { workspace = true } # clap has to be pinned as its minimum supported rust version # changes often between minor releases, which breaks our CI clap = { version = "=4.5.30", features = ["derive"] } diff --git a/tfhe-fft/Cargo.toml b/tfhe-fft/Cargo.toml index 2339511f2..c8b4f214b 100644 --- a/tfhe-fft/Cargo.toml +++ b/tfhe-fft/Cargo.toml @@ -30,7 +30,7 @@ serde = ["dep:serde", "num-complex/serde"] [dev-dependencies] rustfft = "6.0" rand = { workspace = true } -bincode = "1.3" +bincode = { workspace = true } more-asserts = "0.3.1" serde_json = "1.0.96" dyn-stack = { workspace = true, features = ["alloc"] } diff --git a/tfhe-zk-pok/Cargo.toml b/tfhe-zk-pok/Cargo.toml index 7d0b21fd0..b757b81d7 100644 --- a/tfhe-zk-pok/Cargo.toml +++ b/tfhe-zk-pok/Cargo.toml @@ -31,7 +31,7 @@ experimental = [] [dev-dependencies] serde_json = "~1.0" itertools = { workspace = true } -bincode = "1.3.3" +bincode = { workspace = true } criterion = "0.5.1" [[bench]] diff --git a/tfhe/Cargo.toml b/tfhe/Cargo.toml index 23efa2771..bf049c980 100644 --- a/tfhe/Cargo.toml +++ b/tfhe/Cargo.toml @@ -58,7 +58,7 @@ tfhe-csprng = { version = "0.8.0", path = "../tfhe-csprng", features = [ ] } serde = { workspace = true, features = ["default", "derive"] } rayon = { workspace = true } -bincode = "1.3.3" +bincode = { workspace = true } tfhe-fft = { version = "0.10.0", path = "../tfhe-fft", features = [ "serde", "fft128", diff --git a/utils/tfhe-backward-compat-data/Cargo.toml b/utils/tfhe-backward-compat-data/Cargo.toml index e9d96ae43..0550438ef 100644 --- a/utils/tfhe-backward-compat-data/Cargo.toml +++ b/utils/tfhe-backward-compat-data/Cargo.toml @@ -8,7 +8,7 @@ license = "BSD-3-Clause-Clear" serde = { version = "1.0", features = ["derive"] } ron = { version = "0.8", features = ["integer128"] } ciborium = "0.2" -bincode = "1.3" +bincode = { workspace = true } strum = { version = "0.26", features = ["derive"] } semver = { version = "1.0" } clap = { version = "4.5", features = ["derive"] } diff --git a/utils/tfhe-versionable/Cargo.toml b/utils/tfhe-versionable/Cargo.toml index b8ce43695..f28e769ec 100644 --- a/utils/tfhe-versionable/Cargo.toml +++ b/utils/tfhe-versionable/Cargo.toml @@ -17,7 +17,7 @@ static_assertions = "1.1" trybuild = { version = "1", features = ["diff"] } # used to test various serialization formats -bincode = "1.3" +bincode = { workspace = true } serde_json = "1.0" ciborium = "0.2" rmp-serde = "1.3"