feat: make js-tracer feature optional for node builder crate (#12178)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
tedison
2024-11-29 09:15:21 -05:00
committed by GitHub
parent 95b52b3be0
commit db6e5b5cd4
8 changed files with 19 additions and 3 deletions

View File

@ -45,7 +45,7 @@ reth-payload-validator.workspace = true
reth-primitives.workspace = true
reth-provider.workspace = true
reth-prune.workspace = true
reth-rpc = { workspace = true, features = ["js-tracer"] }
reth-rpc.workspace = true
reth-rpc-api.workspace = true
reth-rpc-builder.workspace = true
reth-rpc-engine-api.workspace = true
@ -96,6 +96,7 @@ tempfile.workspace = true
[features]
default = []
js-tracer = ["reth-rpc/js-tracer"]
test-utils = [
"reth-db/test-utils",
"reth-blockchain-tree/test-utils",

View File

@ -1,4 +1,7 @@
//! Standalone crate for Reth configuration and builder types.
//!
//! # features
//! - `js-tracer`: Enable the `JavaScript` tracer for the `debug_trace` endpoints
#![doc(
html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",