From 06fbb11b8e51eb958ba102740bd337d63e62a5d8 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 29 Nov 2024 09:53:43 +0100 Subject: [PATCH] chore: disable serde-with default features --- Cargo.toml | 2 +- crates/evm/execution-types/Cargo.toml | 3 ++- crates/primitives-traits/Cargo.toml | 3 ++- crates/primitives/Cargo.toml | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 113d0661f3ff..065a75e559a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -517,7 +517,7 @@ rustc-hash = { version = "2.0", default-features = false } schnellru = "0.2" serde = { version = "1.0", default-features = false } serde_json = "1.0.94" -serde_with = "3.3.0" +serde_with = { version = "3", default-features = false, features = ["macros"] } sha2 = { version = "0.10", default-features = false } shellexpand = "3.0.0" smallvec = "1" diff --git a/crates/evm/execution-types/Cargo.toml b/crates/evm/execution-types/Cargo.toml index c7fbad673db1..c0ef2c5a694d 100644 --- a/crates/evm/execution-types/Cargo.toml +++ b/crates/evm/execution-types/Cargo.toml @@ -63,5 +63,6 @@ std = [ "revm/std", "serde?/std", "reth-primitives-traits/std", - "alloy-consensus/std", + "alloy-consensus/std", + "serde_with?/std" ] diff --git a/crates/primitives-traits/Cargo.toml b/crates/primitives-traits/Cargo.toml index df4491b2d126..b625dfcd017e 100644 --- a/crates/primitives-traits/Cargo.toml +++ b/crates/primitives-traits/Cargo.toml @@ -61,7 +61,8 @@ std = [ "alloy-genesis/std", "alloy-primitives/std", "revm-primitives/std", - "serde?/std" + "serde?/std", + "serde_with?/std" ] test-utils = [ "arbitrary", diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 9787c9f3a6a9..50f89dcf6982 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -103,7 +103,8 @@ std = [ "revm-primitives/std", "secp256k1?/std", "serde/std", - "alloy-trie/std" + "alloy-trie/std", + "serde_with?/std" ] reth-codec = [ "dep:reth-codecs",