mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
@ -59,7 +59,7 @@ reth-trie-db = { workspace = true, features = ["metrics"] }
|
||||
reth-node-api.workspace = true
|
||||
reth-node-core.workspace = true
|
||||
reth-ethereum-payload-builder.workspace = true
|
||||
reth-node-ethereum.workspace = true
|
||||
reth-node-ethereum = { workspace = true, features = ["js-tracer"] }
|
||||
reth-node-builder.workspace = true
|
||||
reth-node-events.workspace = true
|
||||
reth-node-metrics.workspace = true
|
||||
|
||||
@ -70,6 +70,9 @@ rand.workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
js-tracer = [
|
||||
"reth-node-builder/js-tracer"
|
||||
]
|
||||
test-utils = [
|
||||
"reth-node-builder/test-utils",
|
||||
"reth-chainspec/test-utils",
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
//! Standalone crate for ethereum-specific 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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -9,7 +9,7 @@ repository.workspace = true
|
||||
exclude.workspace = true
|
||||
|
||||
[dependencies]
|
||||
reth-node-builder.workspace = true
|
||||
reth-node-builder = { workspace = true, features = ["js-tracer"] }
|
||||
reth-cli-util.workspace = true
|
||||
reth-optimism-cli.workspace = true
|
||||
reth-provider.workspace = true
|
||||
|
||||
@ -105,6 +105,9 @@ asm-keccak = [
|
||||
"reth-optimism-node/asm-keccak",
|
||||
"reth-node-core/asm-keccak"
|
||||
]
|
||||
js-tracer = [
|
||||
"reth-node-builder/js-tracer"
|
||||
]
|
||||
test-utils = [
|
||||
"reth-tasks",
|
||||
"reth-e2e-test-utils",
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
//! Standalone crate for Optimism-specific 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",
|
||||
|
||||
Reference in New Issue
Block a user