From 98983cebd6aca92cd04d851a59ea3c096c5860d2 Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Mon, 23 Sep 2024 19:03:57 +0200 Subject: [PATCH 1/2] dep: add full feature to derive_more --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b75fe19a851..1d330bad25d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -137,7 +137,7 @@ semver = "1.0" thiserror = "1.0" thiserror-no-std = "2.0.2" url = "2.5" -derive_more = { version = "1.0.0", default-features = false } +derive_more = { version = "1.0.0", default-features = false, features = ["full"] } http = "1.1.0" ## serde From 77a44a81d4ea966dae63b0d29b0b58566266e24b Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Mon, 23 Sep 2024 20:00:11 +0200 Subject: [PATCH 2/2] fix comments --- Cargo.toml | 2 +- crates/consensus/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1d330bad25d..b75fe19a851 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -137,7 +137,7 @@ semver = "1.0" thiserror = "1.0" thiserror-no-std = "2.0.2" url = "2.5" -derive_more = { version = "1.0.0", default-features = false, features = ["full"] } +derive_more = { version = "1.0.0", default-features = false } http = "1.1.0" ## serde diff --git a/crates/consensus/Cargo.toml b/crates/consensus/Cargo.toml index ad4fb668a94..6f38f6a0669 100644 --- a/crates/consensus/Cargo.toml +++ b/crates/consensus/Cargo.toml @@ -26,7 +26,7 @@ alloy-serde = { workspace = true, optional = true } # kzg c-kzg = { workspace = true, features = ["serde"], optional = true } -derive_more.workspace = true +derive_more = { workspace = true, features = ["deref", "deref_mut", "from", "into_iterator"] } # arbitrary arbitrary = { workspace = true, features = ["derive"], optional = true }