From 40e912f8ac602ed8910e41e1ba5cb170cb760132 Mon Sep 17 00:00:00 2001 From: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com> Date: Mon, 15 Nov 2021 13:09:40 +0100 Subject: [PATCH] fixes the serde version (#407) * fixes the serde version * explicitly sets the version in the main Cargo.toml --- Cargo.toml | 2 ++ fuzz/Cargo.toml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f2f72e9..c6a13a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,8 @@ persistent_store = { path = "libraries/persistent_store" } byteorder = { version = "1", default-features = false } arrayref = "0.3.6" subtle = { version = "2.2", default-features = false, features = ["nightly"] } +# This import explicitly locks the version. +serde_json = { version = "=1.0.69", default-features = false, features = ["alloc"] } [features] debug_allocations = ["lang_items/debug_allocations"] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 15c8ca1..56bc591 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -9,8 +9,10 @@ edition = "2018" cargo-fuzz = true [dependencies] -libfuzzer-sys = { version = "0.3"} +libfuzzer-sys = { version = "0.3" } fuzz_helper = { path = "fuzz_helper" } +# This import explicitly locks the version. +serde_json = { version = "=1.0.69" } # Prevent this from interfering with workspaces [workspace]