From 270aefe900ffa113dcd7c71b428c687753d4e2b6 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 13 Feb 2025 22:05:19 +0100 Subject: [PATCH] chore: disable storage-api default features (#14474) --- Cargo.toml | 2 +- crates/ethereum/reth/Cargo.toml | 1 + crates/node/events/Cargo.toml | 2 +- crates/storage/provider/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 74bdcaee8..6af069991 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -413,7 +413,7 @@ reth-stages-api = { path = "crates/stages/api" } reth-stages-types = { path = "crates/stages/types", default-features = false } reth-static-file = { path = "crates/static-file/static-file" } reth-static-file-types = { path = "crates/static-file/types", default-features = false } -reth-storage-api = { path = "crates/storage/storage-api" } +reth-storage-api = { path = "crates/storage/storage-api", default-features = false } reth-storage-errors = { path = "crates/storage/errors", default-features = false } reth-tasks = { path = "crates/tasks" } reth-testing-utils = { path = "testing/testing-utils" } diff --git a/crates/ethereum/reth/Cargo.toml b/crates/ethereum/reth/Cargo.toml index ffaf51217..c6651f693 100644 --- a/crates/ethereum/reth/Cargo.toml +++ b/crates/ethereum/reth/Cargo.toml @@ -47,6 +47,7 @@ std = [ "reth-consensus?/std", "reth-consensus-common?/std", "alloy-rpc-types-eth?/std", + "reth-storage-api?/std", ] arbitrary = [ "std", diff --git a/crates/node/events/Cargo.toml b/crates/node/events/Cargo.toml index 0b57fa011..a357bf854 100644 --- a/crates/node/events/Cargo.toml +++ b/crates/node/events/Cargo.toml @@ -12,7 +12,7 @@ workspace = true [dependencies] # reth -reth-storage-api.workspace = true +reth-storage-api = { workspace = true, features = ["std"] } reth-network-api.workspace = true reth-stages.workspace = true reth-prune-types.workspace = true diff --git a/crates/storage/provider/Cargo.toml b/crates/storage/provider/Cargo.toml index cb9c6b976..e9a246265 100644 --- a/crates/storage/provider/Cargo.toml +++ b/crates/storage/provider/Cargo.toml @@ -20,7 +20,7 @@ reth-primitives-traits = { workspace = true, features = ["reth-codec"] } reth-fs-util.workspace = true reth-errors.workspace = true reth-storage-errors.workspace = true -reth-storage-api.workspace = true +reth-storage-api = { workspace = true, features = ["std"] } reth-network-p2p.workspace = true reth-db = { workspace = true, features = ["mdbx"] } reth-db-api.workspace = true