mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
add format checker to .toml (#13968)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
11
.github/workflows/lint.yml
vendored
11
.github/workflows/lint.yml
vendored
@ -210,6 +210,17 @@ jobs:
|
||||
with:
|
||||
skip: "*.json"
|
||||
|
||||
check-toml:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Run dprint
|
||||
uses: dprint/check@v2.2
|
||||
with:
|
||||
config-path: dprint.json
|
||||
|
||||
grafana:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
|
||||
34
Cargo.toml
34
Cargo.toml
@ -429,9 +429,7 @@ revm-inspectors = "0.14.1"
|
||||
alloy-chains = { version = "0.1.32", default-features = false }
|
||||
alloy-dyn-abi = "0.8.15"
|
||||
alloy-eip2124 = { version = "0.1.0", default-features = false }
|
||||
alloy-primitives = { version = "0.8.15", default-features = false, features = [
|
||||
"map-foldhash",
|
||||
] }
|
||||
alloy-primitives = { version = "0.8.15", default-features = false, features = ["map-foldhash"] }
|
||||
alloy-rlp = { version = "0.3.10", default-features = false }
|
||||
alloy-sol-types = "0.8.15"
|
||||
alloy-trie = { version = "0.7", default-features = false }
|
||||
@ -444,14 +442,10 @@ alloy-json-rpc = { version = "0.9.2", default-features = false }
|
||||
alloy-network = { version = "0.9.2", default-features = false }
|
||||
alloy-network-primitives = { version = "0.9.2", default-features = false }
|
||||
alloy-node-bindings = { version = "0.9.2", default-features = false }
|
||||
alloy-provider = { version = "0.9.2", features = [
|
||||
"reqwest",
|
||||
], default-features = false }
|
||||
alloy-provider = { version = "0.9.2", features = ["reqwest"], default-features = false }
|
||||
alloy-pubsub = { version = "0.9.2", default-features = false }
|
||||
alloy-rpc-client = { version = "0.9.2", default-features = false }
|
||||
alloy-rpc-types = { version = "0.9.2", features = [
|
||||
"eth",
|
||||
], default-features = false }
|
||||
alloy-rpc-types = { version = "0.9.2", features = ["eth"], default-features = false }
|
||||
alloy-rpc-types-admin = { version = "0.9.2", default-features = false }
|
||||
alloy-rpc-types-anvil = { version = "0.9.2", default-features = false }
|
||||
alloy-rpc-types-beacon = { version = "0.9.2", default-features = false }
|
||||
@ -465,9 +459,7 @@ alloy-serde = { version = "0.9.2", default-features = false }
|
||||
alloy-signer = { version = "0.9.2", default-features = false }
|
||||
alloy-signer-local = { version = "0.9.2", default-features = false }
|
||||
alloy-transport = { version = "0.9.2" }
|
||||
alloy-transport-http = { version = "0.9.2", features = [
|
||||
"reqwest-rustls-tls",
|
||||
], default-features = false }
|
||||
alloy-transport-http = { version = "0.9.2", features = ["reqwest-rustls-tls"], default-features = false }
|
||||
alloy-transport-ipc = { version = "0.9.2", default-features = false }
|
||||
alloy-transport-ws = { version = "0.9.2", default-features = false }
|
||||
|
||||
@ -482,10 +474,7 @@ op-alloy-rpc-jsonrpsee = { version = "0.9.6", default-features = false }
|
||||
# misc
|
||||
aquamarine = "0.6"
|
||||
auto_impl = "1"
|
||||
backon = { version = "1.2", default-features = false, features = [
|
||||
"std-blocking-sleep",
|
||||
"tokio-sleep",
|
||||
] }
|
||||
backon = { version = "1.2", default-features = false, features = ["std-blocking-sleep", "tokio-sleep"] }
|
||||
bincode = "1.3"
|
||||
bitflags = "2.4"
|
||||
blake3 = "1.5.5"
|
||||
@ -504,13 +493,9 @@ humantime-serde = "1.1"
|
||||
itertools = { version = "0.13", default-features = false }
|
||||
linked_hash_set = "0.1"
|
||||
modular-bitfield = "0.11.2"
|
||||
notify = { version = "6.1.1", default-features = false, features = [
|
||||
"macos_fsevent",
|
||||
] }
|
||||
notify = { version = "6.1.1", default-features = false, features = ["macos_fsevent"] }
|
||||
nybbles = { version = "0.3.0", default-features = false }
|
||||
once_cell = { version = "1.19", default-features = false, features = [
|
||||
"critical-section",
|
||||
] }
|
||||
once_cell = { version = "1.19", default-features = false, features = ["critical-section"] }
|
||||
parking_lot = "0.12"
|
||||
paste = "1.0"
|
||||
rand = "0.8.5"
|
||||
@ -584,10 +569,7 @@ proptest-arbitrary-interop = "0.1.0"
|
||||
# crypto
|
||||
enr = { version = "0.12.1", default-features = false }
|
||||
k256 = { version = "0.13", default-features = false, features = ["ecdsa"] }
|
||||
secp256k1 = { version = "0.29", default-features = false, features = [
|
||||
"global-context",
|
||||
"recovery",
|
||||
] }
|
||||
secp256k1 = { version = "0.29", default-features = false, features = ["global-context", "recovery"] }
|
||||
|
||||
# for eip-4844
|
||||
c-kzg = "1.0.0"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[build]
|
||||
pre-build = [
|
||||
# rust-bindgen dependencies: llvm-dev libclang-dev (>= 5.0) clang (>= 5.0)
|
||||
"apt-get update && apt-get install --assume-yes --no-install-recommends llvm-dev libclang-6.0-dev clang-6.0"
|
||||
"apt-get update && apt-get install --assume-yes --no-install-recommends llvm-dev libclang-6.0-dev clang-6.0",
|
||||
]
|
||||
|
||||
[build.env]
|
||||
|
||||
22
Makefile
22
Makefile
@ -415,12 +415,32 @@ ensure-codespell:
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
# Lint and format all TOML files in the project using dprint.
|
||||
# This target ensures that TOML files follow consistent formatting rules,
|
||||
# such as using spaces instead of tabs, and enforces other style guidelines
|
||||
# defined in the dprint configuration file (e.g., dprint.json).
|
||||
#
|
||||
# Usage:
|
||||
# make lint-toml
|
||||
#
|
||||
# Dependencies:
|
||||
# - ensure-dprint: Ensures that dprint is installed and available in the system.
|
||||
lint-toml: ensure-dprint
|
||||
dprint fmt
|
||||
|
||||
ensure-dprint:
|
||||
@if ! command -v dprint &> /dev/null; then \
|
||||
echo "dprint not found. Please install it by running the command `cargo install --locked dprint` or refer to the following link for more information: https://github.com/dprint/dprint" \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
lint:
|
||||
make fmt && \
|
||||
make lint-reth && \
|
||||
make lint-op-reth && \
|
||||
make lint-other-targets && \
|
||||
make lint-codespell
|
||||
make lint-codespell && \
|
||||
make lint-toml
|
||||
|
||||
fix-lint-reth:
|
||||
cargo +nightly clippy \
|
||||
|
||||
@ -24,10 +24,7 @@ reth-primitives-traits.workspace = true
|
||||
reth-tracing.workspace = true
|
||||
|
||||
# alloy
|
||||
alloy-provider = { workspace = true, features = [
|
||||
"engine-api",
|
||||
"reqwest-rustls-tls",
|
||||
], default-features = false }
|
||||
alloy-provider = { workspace = true, features = ["engine-api", "reqwest-rustls-tls"], default-features = false }
|
||||
alloy-rpc-types-engine.workspace = true
|
||||
alloy-transport.workspace = true
|
||||
alloy-transport-http.workspace = true
|
||||
@ -40,9 +37,7 @@ alloy-eips.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
# reqwest
|
||||
reqwest = { workspace = true, default-features = false, features = [
|
||||
"rustls-tls-native-roots",
|
||||
] }
|
||||
reqwest = { workspace = true, default-features = false, features = ["rustls-tls-native-roots"] }
|
||||
|
||||
# tower
|
||||
tower.workspace = true
|
||||
@ -54,12 +49,7 @@ tracing.workspace = true
|
||||
serde.workspace = true
|
||||
|
||||
# async
|
||||
tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
"macros",
|
||||
"time",
|
||||
"rt-multi-thread",
|
||||
] }
|
||||
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||
futures.workspace = true
|
||||
async-trait.workspace = true
|
||||
|
||||
@ -80,12 +70,12 @@ default = ["jemalloc"]
|
||||
asm-keccak = [
|
||||
"reth-primitives/asm-keccak",
|
||||
"reth-node-core/asm-keccak",
|
||||
"alloy-primitives/asm-keccak"
|
||||
"alloy-primitives/asm-keccak",
|
||||
]
|
||||
|
||||
jemalloc = [
|
||||
"reth-cli-util/jemalloc",
|
||||
"reth-node-core/jemalloc"
|
||||
"reth-node-core/jemalloc",
|
||||
]
|
||||
jemalloc-prof = ["reth-cli-util/jemalloc-prof"]
|
||||
tracy-allocator = ["reth-cli-util/tracy-allocator"]
|
||||
|
||||
@ -78,12 +78,7 @@ tracing.workspace = true
|
||||
serde_json.workspace = true
|
||||
|
||||
# async
|
||||
tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
"macros",
|
||||
"time",
|
||||
"rt-multi-thread",
|
||||
] }
|
||||
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||
futures.workspace = true
|
||||
|
||||
# misc
|
||||
@ -104,7 +99,7 @@ dev = ["reth-cli-commands/arbitrary"]
|
||||
asm-keccak = [
|
||||
"reth-node-core/asm-keccak",
|
||||
"reth-primitives/asm-keccak",
|
||||
"alloy-primitives/asm-keccak"
|
||||
"alloy-primitives/asm-keccak",
|
||||
]
|
||||
|
||||
jemalloc = [
|
||||
@ -114,7 +109,7 @@ jemalloc = [
|
||||
]
|
||||
jemalloc-prof = [
|
||||
"reth-cli-util/jemalloc",
|
||||
"reth-cli-util/jemalloc-prof"
|
||||
"reth-cli-util/jemalloc-prof",
|
||||
]
|
||||
tracy-allocator = ["reth-cli-util/tracy-allocator"]
|
||||
|
||||
|
||||
@ -6,9 +6,7 @@ edition = "2021"
|
||||
[dependencies]
|
||||
# reth
|
||||
reth = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = [
|
||||
"serde",
|
||||
] }
|
||||
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = ["serde"] }
|
||||
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||
|
||||
@ -5,9 +5,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
reth = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = [
|
||||
"serde",
|
||||
] }
|
||||
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = ["serde"] }
|
||||
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
|
||||
|
||||
|
||||
@ -50,7 +50,7 @@ std = [
|
||||
"reth-ethereum-forks/std",
|
||||
"derive_more/std",
|
||||
"reth-network-peers/std",
|
||||
"serde_json/std"
|
||||
"serde_json/std",
|
||||
]
|
||||
arbitrary = [
|
||||
"alloy-chains/arbitrary",
|
||||
@ -59,7 +59,7 @@ arbitrary = [
|
||||
"alloy-consensus/arbitrary",
|
||||
"alloy-eips/arbitrary",
|
||||
"alloy-primitives/arbitrary",
|
||||
"alloy-trie/arbitrary"
|
||||
"alloy-trie/arbitrary",
|
||||
]
|
||||
test-utils = [
|
||||
"reth-primitives-traits/test-utils",
|
||||
|
||||
@ -10,7 +10,6 @@ repository.workspace = true
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-cli-runner.workspace = true
|
||||
@ -22,6 +21,3 @@ clap.workspace = true
|
||||
shellexpand.workspace = true
|
||||
eyre.workspace = true
|
||||
serde_json.workspace = true
|
||||
|
||||
|
||||
|
||||
|
||||
@ -68,11 +68,7 @@ serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tracing.workspace = true
|
||||
backon.workspace = true
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
|
||||
# io
|
||||
fdlimit.workspace = true
|
||||
@ -81,9 +77,7 @@ toml = { workspace = true, features = ["display"] }
|
||||
# tui
|
||||
comfy-table = "7.0"
|
||||
crossterm = "0.28.0"
|
||||
ratatui = { version = "0.28", default-features = false, features = [
|
||||
"crossterm",
|
||||
] }
|
||||
ratatui = { version = "0.28", default-features = false, features = ["crossterm"] }
|
||||
|
||||
# reth test-vectors
|
||||
proptest = { workspace = true, optional = true }
|
||||
|
||||
@ -35,5 +35,5 @@ std = [
|
||||
"reth-chainspec/std",
|
||||
"reth-consensus/std",
|
||||
"reth-primitives-traits/std",
|
||||
"reth-primitives/std"
|
||||
"reth-primitives/std",
|
||||
]
|
||||
|
||||
@ -33,9 +33,9 @@ std = [
|
||||
"alloy-eips/std",
|
||||
"alloy-consensus/std",
|
||||
"reth-primitives-traits/std",
|
||||
"derive_more/std"
|
||||
"derive_more/std",
|
||||
]
|
||||
test-utils = [
|
||||
"reth-primitives/test-utils",
|
||||
"reth-primitives-traits/test-utils"
|
||||
"reth-primitives-traits/test-utils",
|
||||
]
|
||||
|
||||
@ -47,5 +47,5 @@ workspace = true
|
||||
|
||||
[features]
|
||||
op = [
|
||||
"dep:op-alloy-rpc-types-engine"
|
||||
"dep:op-alloy-rpc-types-engine",
|
||||
]
|
||||
|
||||
@ -46,5 +46,5 @@ std = [
|
||||
"futures/std",
|
||||
"serde/std",
|
||||
"thiserror/std",
|
||||
"alloy-eips/std"
|
||||
"alloy-eips/std",
|
||||
]
|
||||
|
||||
@ -123,5 +123,5 @@ test-utils = [
|
||||
"reth-trie-sparse/test-utils",
|
||||
"reth-prune-types?/test-utils",
|
||||
"reth-trie-db/test-utils",
|
||||
"reth-trie-parallel/test-utils"
|
||||
"reth-trie-parallel/test-utils",
|
||||
]
|
||||
|
||||
@ -36,13 +36,13 @@ arbitrary = [
|
||||
"dep:arbitrary",
|
||||
"alloy-chains/arbitrary",
|
||||
"alloy-primitives/arbitrary",
|
||||
"alloy-eip2124/arbitrary"
|
||||
"alloy-eip2124/arbitrary",
|
||||
]
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"alloy-chains/serde",
|
||||
"alloy-primitives/serde",
|
||||
"alloy-eip2124/serde"
|
||||
"alloy-eip2124/serde",
|
||||
]
|
||||
std = [
|
||||
"alloy-chains/std",
|
||||
@ -50,6 +50,6 @@ std = [
|
||||
"rustc-hash/std",
|
||||
"serde?/std",
|
||||
"alloy-eip2124/std",
|
||||
"once_cell/std"
|
||||
"once_cell/std",
|
||||
]
|
||||
rustc-hash = ["dep:rustc-hash"]
|
||||
|
||||
@ -44,5 +44,5 @@ std = [
|
||||
"serde/std",
|
||||
"sha2/std",
|
||||
"serde_json/std",
|
||||
"reth-engine-primitives/std"
|
||||
"reth-engine-primitives/std",
|
||||
]
|
||||
|
||||
@ -59,5 +59,5 @@ std = [
|
||||
"serde_json/std",
|
||||
"reth-primitives-traits/std",
|
||||
"reth-chainspec/std",
|
||||
"derive_more/std"
|
||||
"derive_more/std",
|
||||
]
|
||||
|
||||
@ -68,7 +68,7 @@ rand.workspace = true
|
||||
[features]
|
||||
default = []
|
||||
js-tracer = [
|
||||
"reth-node-builder/js-tracer"
|
||||
"reth-node-builder/js-tracer",
|
||||
]
|
||||
test-utils = [
|
||||
"reth-node-builder/test-utils",
|
||||
|
||||
@ -64,7 +64,7 @@ std = [
|
||||
"secp256k1?/std",
|
||||
"once_cell/std",
|
||||
"revm-primitives/std",
|
||||
"alloy-serde?/std"
|
||||
"alloy-serde?/std",
|
||||
]
|
||||
reth-codec = [
|
||||
"std",
|
||||
@ -83,10 +83,10 @@ arbitrary = [
|
||||
"alloy-eips/arbitrary",
|
||||
"revm-primitives/arbitrary",
|
||||
"alloy-rpc-types?/arbitrary",
|
||||
"alloy-serde?/arbitrary"
|
||||
"alloy-serde?/arbitrary",
|
||||
]
|
||||
serde-bincode-compat = [
|
||||
"alloy-consensus/serde-bincode-compat",
|
||||
"alloy-eips/serde-bincode-compat",
|
||||
"reth-primitives-traits/serde-bincode-compat"
|
||||
"reth-primitives-traits/serde-bincode-compat",
|
||||
]
|
||||
|
||||
@ -59,7 +59,7 @@ std = [
|
||||
"revm/std",
|
||||
"reth-ethereum-forks/std",
|
||||
"reth-chainspec/std",
|
||||
"reth-consensus-common/std"
|
||||
"reth-consensus-common/std",
|
||||
]
|
||||
test-utils = [
|
||||
"dep:parking_lot",
|
||||
@ -69,5 +69,5 @@ test-utils = [
|
||||
"reth-primitives-traits/test-utils",
|
||||
"reth-revm/test-utils",
|
||||
"revm/test-utils",
|
||||
"reth-prune-types/test-utils"
|
||||
"reth-prune-types/test-utils",
|
||||
]
|
||||
|
||||
@ -33,5 +33,5 @@ std = [
|
||||
"revm-primitives/std",
|
||||
"alloy-rlp/std",
|
||||
"thiserror/std",
|
||||
"nybbles/std"
|
||||
"nybbles/std",
|
||||
]
|
||||
|
||||
@ -46,7 +46,7 @@ serde = [
|
||||
"reth-primitives-traits/serde",
|
||||
"alloy-consensus/serde",
|
||||
"reth-trie/serde",
|
||||
"reth-trie-common?/serde"
|
||||
"reth-trie-common?/serde",
|
||||
]
|
||||
serde-bincode-compat = [
|
||||
"serde",
|
||||
@ -56,7 +56,7 @@ serde-bincode-compat = [
|
||||
"serde_with",
|
||||
"alloy-eips/serde-bincode-compat",
|
||||
"alloy-consensus/serde-bincode-compat",
|
||||
"reth-ethereum-primitives/serde-bincode-compat"
|
||||
"reth-ethereum-primitives/serde-bincode-compat",
|
||||
]
|
||||
std = [
|
||||
"reth-primitives/std",
|
||||
@ -68,5 +68,5 @@ std = [
|
||||
"alloy-consensus/std",
|
||||
"serde_with?/std",
|
||||
"reth-trie-common?/std",
|
||||
"reth-ethereum-primitives/std"
|
||||
"reth-ethereum-primitives/std",
|
||||
]
|
||||
|
||||
@ -17,10 +17,7 @@ reth-chain-state.workspace = true
|
||||
reth-chainspec.workspace = true
|
||||
reth-config.workspace = true
|
||||
reth-evm.workspace = true
|
||||
reth-exex-types = { workspace = true, features = [
|
||||
"serde",
|
||||
"serde-bincode-compat",
|
||||
] }
|
||||
reth-exex-types = { workspace = true, features = ["serde", "serde-bincode-compat"] }
|
||||
reth-fs-util.workspace = true
|
||||
reth-metrics.workspace = true
|
||||
reth-node-api.workspace = true
|
||||
|
||||
@ -12,7 +12,6 @@ description = "Commonly used fs utils in reth."
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
|
||||
# misc
|
||||
serde_json = { workspace = true, features = ["std"] }
|
||||
serde.workspace = true
|
||||
|
||||
@ -22,12 +22,7 @@ reth-network-peers = { workspace = true, features = ["secp256k1"] }
|
||||
alloy-primitives = { workspace = true, features = ["rand"] }
|
||||
alloy-rlp = { workspace = true, features = ["derive"] }
|
||||
discv5.workspace = true
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
"serde",
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery", "serde"] }
|
||||
enr.workspace = true
|
||||
|
||||
# async/futures
|
||||
@ -61,6 +56,6 @@ serde = [
|
||||
"parking_lot/serde",
|
||||
"rand?/serde",
|
||||
"secp256k1/serde",
|
||||
"reth-ethereum-forks/serde"
|
||||
"reth-ethereum-forks/serde",
|
||||
]
|
||||
test-utils = ["dep:rand"]
|
||||
|
||||
@ -59,5 +59,5 @@ serde = [
|
||||
"rand/serde",
|
||||
"secp256k1/serde",
|
||||
"hickory-resolver/serde",
|
||||
"reth-ethereum-forks/serde"
|
||||
"reth-ethereum-forks/serde",
|
||||
]
|
||||
|
||||
@ -75,7 +75,7 @@ tempfile.workspace = true
|
||||
optimism = [
|
||||
"reth-db?/optimism",
|
||||
"reth-db-api?/optimism",
|
||||
"reth-provider/optimism"
|
||||
"reth-provider/optimism",
|
||||
]
|
||||
|
||||
test-utils = [
|
||||
@ -89,5 +89,5 @@ test-utils = [
|
||||
"reth-primitives/test-utils",
|
||||
"reth-db-api?/test-utils",
|
||||
"reth-provider/test-utils",
|
||||
"reth-primitives-traits/test-utils"
|
||||
"reth-primitives-traits/test-utils",
|
||||
]
|
||||
|
||||
@ -64,7 +64,7 @@ std = [
|
||||
"reth-primitives-traits/std",
|
||||
"serde?/std",
|
||||
"thiserror/std",
|
||||
"reth-chainspec/std"
|
||||
"reth-chainspec/std",
|
||||
]
|
||||
arbitrary = [
|
||||
"reth-ethereum-primitives/arbitrary",
|
||||
@ -77,7 +77,7 @@ arbitrary = [
|
||||
"alloy-eips/arbitrary",
|
||||
"alloy-primitives/arbitrary",
|
||||
"reth-primitives-traits/arbitrary",
|
||||
"reth-ethereum-forks/arbitrary"
|
||||
"reth-ethereum-forks/arbitrary",
|
||||
]
|
||||
serde = [
|
||||
"dep:serde",
|
||||
@ -88,5 +88,5 @@ serde = [
|
||||
"bytes/serde",
|
||||
"rand/serde",
|
||||
"reth-primitives-traits/serde",
|
||||
"reth-ethereum-forks/serde"
|
||||
"reth-ethereum-forks/serde",
|
||||
]
|
||||
|
||||
@ -53,11 +53,7 @@ test-fuzz.workspace = true
|
||||
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
|
||||
tokio-util = { workspace = true, features = ["io", "codec"] }
|
||||
rand.workspace = true
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
|
||||
arbitrary = { workspace = true, features = ["derive"] }
|
||||
proptest.workspace = true
|
||||
@ -76,7 +72,7 @@ arbitrary = [
|
||||
"alloy-chains/arbitrary",
|
||||
"reth-primitives-traits/arbitrary",
|
||||
"reth-ethereum-forks/arbitrary",
|
||||
"reth-primitives/arbitrary"
|
||||
"reth-primitives/arbitrary",
|
||||
]
|
||||
serde = [
|
||||
"dep:serde",
|
||||
@ -89,7 +85,7 @@ serde = [
|
||||
"reth-codecs/serde",
|
||||
"alloy-chains/serde",
|
||||
"reth-primitives-traits/serde",
|
||||
"reth-ethereum-forks/serde"
|
||||
"reth-ethereum-forks/serde",
|
||||
]
|
||||
|
||||
[[test]]
|
||||
|
||||
@ -46,5 +46,5 @@ serde = [
|
||||
"reth-network-types/serde",
|
||||
"alloy-primitives/serde",
|
||||
"enr/serde",
|
||||
"reth-ethereum-forks/serde"
|
||||
"reth-ethereum-forks/serde",
|
||||
]
|
||||
|
||||
@ -30,6 +30,6 @@ tracing.workspace = true
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"dep:humantime-serde",
|
||||
"alloy-eip2124/serde"
|
||||
"alloy-eip2124/serde",
|
||||
]
|
||||
test-utils = []
|
||||
|
||||
@ -122,7 +122,7 @@ serde = [
|
||||
"url/serde",
|
||||
"reth-primitives-traits/serde",
|
||||
"reth-ethereum-forks/serde",
|
||||
"reth-provider/serde"
|
||||
"reth-provider/serde",
|
||||
]
|
||||
test-utils = [
|
||||
"dep:tempfile",
|
||||
@ -135,7 +135,7 @@ test-utils = [
|
||||
"reth-network-p2p/test-utils",
|
||||
"reth-primitives/test-utils",
|
||||
"reth-primitives-traits/test-utils",
|
||||
"reth-provider/test-utils"
|
||||
"reth-provider/test-utils",
|
||||
]
|
||||
|
||||
[[bench]]
|
||||
|
||||
@ -49,7 +49,7 @@ test-utils = [
|
||||
"parking_lot",
|
||||
"reth-network-types/test-utils",
|
||||
"reth-primitives/test-utils",
|
||||
"reth-primitives-traits/test-utils"
|
||||
"reth-primitives-traits/test-utils",
|
||||
]
|
||||
std = [
|
||||
"reth-consensus/std",
|
||||
@ -59,5 +59,5 @@ std = [
|
||||
"reth-primitives-traits/std",
|
||||
"alloy-consensus/std",
|
||||
"derive_more/std",
|
||||
"reth-network-peers/std"
|
||||
"reth-network-peers/std",
|
||||
]
|
||||
|
||||
@ -12,7 +12,6 @@ description = "Network peer types and utils"
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
|
||||
# eth
|
||||
alloy-primitives = { workspace = true, features = ["rlp"] }
|
||||
alloy-rlp = { workspace = true, features = ["derive", "core-net", "core-error"] }
|
||||
@ -44,7 +43,7 @@ std = [
|
||||
"serde_with/std",
|
||||
"thiserror/std",
|
||||
"url/std",
|
||||
"serde_json/std"
|
||||
"serde_json/std",
|
||||
]
|
||||
secp256k1 = ["dep:secp256k1", "enr/secp256k1"]
|
||||
net = ["std", "dep:tokio", "tokio?/net"]
|
||||
|
||||
@ -63,20 +63,11 @@ alloy-eips = { workspace = true, features = ["kzg"] }
|
||||
|
||||
## async
|
||||
futures.workspace = true
|
||||
tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
"macros",
|
||||
"time",
|
||||
"rt-multi-thread",
|
||||
] }
|
||||
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||
tokio-stream.workspace = true
|
||||
|
||||
## crypto
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
|
||||
## misc
|
||||
aquamarine.workspace = true
|
||||
|
||||
@ -61,11 +61,7 @@ shellexpand.workspace = true
|
||||
tracing.workspace = true
|
||||
|
||||
# crypto
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
|
||||
# async
|
||||
futures.workspace = true
|
||||
|
||||
@ -24,5 +24,5 @@ default = ["std"]
|
||||
std = [
|
||||
"reth-primitives-traits/std",
|
||||
"reth-chainspec/std",
|
||||
"reth-engine-primitives/std"
|
||||
"reth-engine-primitives/std",
|
||||
]
|
||||
|
||||
@ -63,5 +63,5 @@ std = [
|
||||
"reth-network-peers/std",
|
||||
"thiserror/std",
|
||||
"serde_json/std",
|
||||
"op-alloy-consensus/std"
|
||||
"op-alloy-consensus/std",
|
||||
]
|
||||
|
||||
@ -55,13 +55,7 @@ derive_more = { workspace = true, optional = true }
|
||||
serde = { workspace = true, optional = true }
|
||||
clap = { workspace = true, features = ["derive", "env"] }
|
||||
|
||||
|
||||
tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
"macros",
|
||||
"time",
|
||||
"rt-multi-thread",
|
||||
] }
|
||||
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
|
||||
tokio-util = { workspace = true, features = ["codec"] }
|
||||
tracing.workspace = true
|
||||
eyre.workspace = true
|
||||
@ -70,7 +64,6 @@ eyre.workspace = true
|
||||
proptest = { workspace = true, optional = true }
|
||||
op-alloy-consensus = { workspace = true, optional = true }
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile.workspace = true
|
||||
reth-stages = { workspace = true, features = ["test-utils"] }
|
||||
@ -91,7 +84,7 @@ optimism = [
|
||||
"reth-db/optimism",
|
||||
"reth-db-api/optimism",
|
||||
"reth-optimism-primitives/optimism",
|
||||
"reth-downloaders/optimism"
|
||||
"reth-downloaders/optimism",
|
||||
]
|
||||
asm-keccak = [
|
||||
"alloy-primitives/asm-keccak",
|
||||
@ -103,12 +96,12 @@ asm-keccak = [
|
||||
# Jemalloc feature for vergen to generate correct env vars
|
||||
jemalloc = [
|
||||
"reth-node-core/jemalloc",
|
||||
"reth-node-metrics/jemalloc"
|
||||
"reth-node-metrics/jemalloc",
|
||||
]
|
||||
|
||||
dev = [
|
||||
"dep:proptest",
|
||||
"reth-cli-commands/arbitrary"
|
||||
"reth-cli-commands/arbitrary",
|
||||
]
|
||||
serde = [
|
||||
"alloy-consensus?/serde",
|
||||
|
||||
@ -33,11 +33,11 @@ std = [
|
||||
"once_cell/std",
|
||||
"serde?/std",
|
||||
"alloy-chains/std",
|
||||
"reth-ethereum-forks/std"
|
||||
"reth-ethereum-forks/std",
|
||||
]
|
||||
serde = [
|
||||
"dep:serde",
|
||||
"alloy-chains/serde",
|
||||
"alloy-primitives/serde",
|
||||
"reth-ethereum-forks/serde"
|
||||
"reth-ethereum-forks/serde",
|
||||
]
|
||||
|
||||
@ -107,10 +107,10 @@ asm-keccak = [
|
||||
"alloy-primitives/asm-keccak",
|
||||
"revm/asm-keccak",
|
||||
"reth-optimism-node/asm-keccak",
|
||||
"reth-node-core/asm-keccak"
|
||||
"reth-node-core/asm-keccak",
|
||||
]
|
||||
js-tracer = [
|
||||
"reth-node-builder/js-tracer"
|
||||
"reth-node-builder/js-tracer",
|
||||
]
|
||||
test-utils = [
|
||||
"reth-tasks",
|
||||
@ -132,7 +132,7 @@ test-utils = [
|
||||
"revm/test-utils",
|
||||
"reth-optimism-node/test-utils",
|
||||
"reth-optimism-primitives/arbitrary",
|
||||
"reth-primitives-traits/test-utils"
|
||||
"reth-primitives-traits/test-utils",
|
||||
]
|
||||
reth-codec = [
|
||||
"reth-primitives/reth-codec",
|
||||
|
||||
@ -60,5 +60,5 @@ optimism = [
|
||||
"revm/optimism",
|
||||
"reth-execution-types/optimism",
|
||||
"reth-optimism-consensus/optimism",
|
||||
"reth-optimism-primitives/optimism"
|
||||
"reth-optimism-primitives/optimism",
|
||||
]
|
||||
|
||||
@ -76,7 +76,7 @@ reth-codec = [
|
||||
"reth-codecs?/op",
|
||||
"dep:bytes",
|
||||
"dep:modular-bitfield",
|
||||
"dep:reth-zstd-compressors"
|
||||
"dep:reth-zstd-compressors",
|
||||
]
|
||||
serde = [
|
||||
"dep:serde",
|
||||
@ -95,7 +95,7 @@ serde-bincode-compat = [
|
||||
"alloy-consensus/serde-bincode-compat",
|
||||
"alloy-eips/serde-bincode-compat",
|
||||
"op-alloy-consensus/serde-bincode-compat",
|
||||
"reth-primitives-traits/serde-bincode-compat"
|
||||
"reth-primitives-traits/serde-bincode-compat",
|
||||
]
|
||||
arbitrary = [
|
||||
"dep:arbitrary",
|
||||
|
||||
@ -22,5 +22,5 @@ reth-stages-types.workspace = true
|
||||
[features]
|
||||
optimism = [
|
||||
"reth-codecs/op",
|
||||
"reth-db-api/optimism"
|
||||
"reth-db-api/optimism",
|
||||
]
|
||||
|
||||
@ -50,5 +50,5 @@ test-utils = [
|
||||
"reth-chain-state/test-utils",
|
||||
"reth-primitives/test-utils",
|
||||
"revm/test-utils",
|
||||
"reth-primitives-traits/test-utils"
|
||||
"reth-primitives-traits/test-utils",
|
||||
]
|
||||
|
||||
@ -28,9 +28,7 @@ revm-primitives.workspace = true
|
||||
op-alloy-consensus = { workspace = true, optional = true }
|
||||
|
||||
# crypto
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"recovery",
|
||||
], optional = true }
|
||||
secp256k1 = { workspace = true, features = ["recovery"], optional = true }
|
||||
k256.workspace = true
|
||||
|
||||
# misc
|
||||
@ -60,11 +58,7 @@ alloy-primitives = { workspace = true, features = ["arbitrary", "serde"] }
|
||||
alloy-consensus = { workspace = true, features = ["arbitrary", "serde"] }
|
||||
|
||||
arbitrary = { workspace = true, features = ["derive"] }
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"recovery",
|
||||
"global-context",
|
||||
"rand"
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["recovery", "global-context", "rand"] }
|
||||
bincode.workspace = true
|
||||
byteorder.workspace = true
|
||||
proptest-arbitrary-interop.workspace = true
|
||||
@ -95,13 +89,13 @@ std = [
|
||||
"alloy-trie/std",
|
||||
"op-alloy-consensus?/std",
|
||||
"serde_json/std",
|
||||
"reth-chainspec/std"
|
||||
"reth-chainspec/std",
|
||||
]
|
||||
secp256k1 = ["dep:secp256k1"]
|
||||
test-utils = [
|
||||
"arbitrary",
|
||||
"reth-codecs?/test-utils",
|
||||
"reth-chainspec/test-utils"
|
||||
"reth-chainspec/test-utils",
|
||||
]
|
||||
arbitrary = [
|
||||
"std",
|
||||
@ -117,14 +111,14 @@ arbitrary = [
|
||||
"secp256k1?/rand",
|
||||
"op-alloy-consensus?/arbitrary",
|
||||
"alloy-trie/arbitrary",
|
||||
"reth-chainspec/arbitrary"
|
||||
"reth-chainspec/arbitrary",
|
||||
]
|
||||
serde-bincode-compat = [
|
||||
"serde",
|
||||
"serde_with",
|
||||
"alloy-consensus/serde-bincode-compat",
|
||||
"alloy-eips/serde-bincode-compat",
|
||||
"op-alloy-consensus?/serde-bincode-compat"
|
||||
"op-alloy-consensus?/serde-bincode-compat",
|
||||
]
|
||||
serde = [
|
||||
"dep:serde",
|
||||
@ -139,7 +133,7 @@ serde = [
|
||||
"op-alloy-consensus?/serde",
|
||||
"k256/serde",
|
||||
"secp256k1?/serde",
|
||||
"alloy-trie/serde"
|
||||
"alloy-trie/serde",
|
||||
]
|
||||
reth-codec = [
|
||||
"dep:reth-codecs",
|
||||
|
||||
@ -49,11 +49,7 @@ serde_json.workspace = true
|
||||
reth-codecs.workspace = true
|
||||
|
||||
criterion.workspace = true
|
||||
pprof = { workspace = true, features = [
|
||||
"flamegraph",
|
||||
"frame-pointer",
|
||||
"criterion",
|
||||
] }
|
||||
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||
|
||||
[features]
|
||||
default = ["c-kzg", "alloy-compat", "std", "reth-codec", "secp256k1"]
|
||||
@ -69,12 +65,12 @@ std = [
|
||||
"derive_more/std",
|
||||
"serde_json/std",
|
||||
"reth-ethereum-primitives/std",
|
||||
"alloy-rlp/std"
|
||||
"alloy-rlp/std",
|
||||
]
|
||||
reth-codec = [
|
||||
"std",
|
||||
"reth-primitives-traits/reth-codec",
|
||||
"reth-ethereum-primitives/reth-codec"
|
||||
"reth-ethereum-primitives/reth-codec",
|
||||
]
|
||||
asm-keccak = ["alloy-primitives/asm-keccak"]
|
||||
arbitrary = [
|
||||
@ -86,7 +82,7 @@ arbitrary = [
|
||||
"alloy-consensus/arbitrary",
|
||||
"alloy-primitives/arbitrary",
|
||||
"reth-ethereum-primitives/arbitrary",
|
||||
"reth-codecs/arbitrary"
|
||||
"reth-codecs/arbitrary",
|
||||
]
|
||||
secp256k1 = [
|
||||
"reth-primitives-traits/secp256k1",
|
||||
@ -97,18 +93,18 @@ c-kzg = [
|
||||
"alloy-eips/kzg",
|
||||
]
|
||||
alloy-compat = [
|
||||
"reth-ethereum-primitives/alloy-compat"
|
||||
"reth-ethereum-primitives/alloy-compat",
|
||||
]
|
||||
test-utils = [
|
||||
"reth-primitives-traits/test-utils",
|
||||
"arbitrary",
|
||||
"reth-codecs/test-utils"
|
||||
"reth-codecs/test-utils",
|
||||
]
|
||||
serde-bincode-compat = [
|
||||
"alloy-eips/serde-bincode-compat",
|
||||
"alloy-consensus/serde-bincode-compat",
|
||||
"reth-primitives-traits/serde-bincode-compat",
|
||||
"reth-ethereum-primitives/serde-bincode-compat"
|
||||
"reth-ethereum-primitives/serde-bincode-compat",
|
||||
]
|
||||
|
||||
[[bench]]
|
||||
|
||||
@ -33,9 +33,9 @@ toml.workspace = true
|
||||
[features]
|
||||
test-utils = [
|
||||
"dep:arbitrary",
|
||||
"reth-codecs/test-utils"
|
||||
"reth-codecs/test-utils",
|
||||
]
|
||||
arbitrary = [
|
||||
"alloy-primitives/arbitrary",
|
||||
"reth-codecs/arbitrary"
|
||||
"reth-codecs/arbitrary",
|
||||
]
|
||||
|
||||
@ -40,7 +40,7 @@ std = [
|
||||
"revm/std",
|
||||
"alloy-eips/std",
|
||||
"alloy-consensus/std",
|
||||
"reth-ethereum-forks/std"
|
||||
"reth-ethereum-forks/std",
|
||||
]
|
||||
witness = ["dep:reth-trie"]
|
||||
test-utils = [
|
||||
@ -56,5 +56,5 @@ serde = [
|
||||
"alloy-primitives/serde",
|
||||
"alloy-consensus/serde",
|
||||
"reth-trie?/serde",
|
||||
"reth-ethereum-forks/serde"
|
||||
"reth-ethereum-forks/serde",
|
||||
]
|
||||
|
||||
@ -12,7 +12,6 @@ description = "IPC support for reth"
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
|
||||
# async/net
|
||||
futures.workspace = true
|
||||
tokio = { workspace = true, features = ["net", "time", "rt-multi-thread"] }
|
||||
|
||||
@ -62,6 +62,5 @@ itertools.workspace = true
|
||||
[dev-dependencies]
|
||||
serde_json.workspace = true
|
||||
|
||||
|
||||
[features]
|
||||
js-tracer = ["revm-inspectors/js-tracer"]
|
||||
|
||||
@ -56,11 +56,7 @@ alloy-rpc-types-txpool.workspace = true
|
||||
alloy-rpc-types-admin.workspace = true
|
||||
alloy-rpc-types-engine.workspace = true
|
||||
alloy-serde.workspace = true
|
||||
revm = { workspace = true, features = [
|
||||
"optional_block_gas_limit",
|
||||
"optional_eip3607",
|
||||
"optional_no_base_fee",
|
||||
] }
|
||||
revm = { workspace = true, features = ["optional_block_gas_limit", "optional_eip3607", "optional_no_base_fee"] }
|
||||
revm-primitives = { workspace = true, features = ["serde"] }
|
||||
|
||||
# rpc
|
||||
|
||||
@ -53,5 +53,5 @@ test-utils = [
|
||||
"reth-network-p2p/test-utils",
|
||||
"reth-primitives-traits/test-utils",
|
||||
"reth-provider/test-utils",
|
||||
"reth-stages-types/test-utils"
|
||||
"reth-stages-types/test-utils",
|
||||
]
|
||||
|
||||
@ -25,9 +25,7 @@ reth-exex.workspace = true
|
||||
reth-fs-util.workspace = true
|
||||
reth-network-p2p.workspace = true
|
||||
reth-primitives = { workspace = true, features = ["secp256k1"] }
|
||||
reth-primitives-traits = { workspace = true, features = [
|
||||
"serde-bincode-compat",
|
||||
] }
|
||||
reth-primitives-traits = { workspace = true, features = ["serde-bincode-compat"] }
|
||||
reth-provider.workspace = true
|
||||
reth-execution-types.workspace = true
|
||||
reth-prune.workspace = true
|
||||
@ -59,10 +57,7 @@ num-traits = "0.2.15"
|
||||
tempfile = { workspace = true, optional = true }
|
||||
bincode.workspace = true
|
||||
blake3.workspace = true
|
||||
reqwest = { workspace = true, default-features = false, features = [
|
||||
"rustls-tls-native-roots",
|
||||
"blocking"
|
||||
] }
|
||||
reqwest = { workspace = true, default-features = false, features = ["rustls-tls-native-roots", "blocking"] }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
@ -96,11 +91,7 @@ tempfile.workspace = true
|
||||
criterion = { workspace = true, features = ["async_tokio"] }
|
||||
|
||||
[target.'cfg(not(target_os = "windows"))'.dev-dependencies]
|
||||
pprof = { workspace = true, features = [
|
||||
"flamegraph",
|
||||
"frame-pointer",
|
||||
"criterion",
|
||||
] }
|
||||
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||
|
||||
[features]
|
||||
test-utils = [
|
||||
|
||||
@ -32,15 +32,8 @@ serde.workspace = true
|
||||
arbitrary = { workspace = true, features = ["derive"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
alloy-eips = { workspace = true, default-features = false, features = [
|
||||
"arbitrary",
|
||||
"serde",
|
||||
] }
|
||||
alloy-primitives = { workspace = true, features = [
|
||||
"arbitrary",
|
||||
"serde",
|
||||
"rand",
|
||||
] }
|
||||
alloy-eips = { workspace = true, default-features = false, features = ["arbitrary", "serde"] }
|
||||
alloy-primitives = { workspace = true, features = ["arbitrary", "serde", "rand"] }
|
||||
alloy-consensus = { workspace = true, features = ["arbitrary"] }
|
||||
test-fuzz.workspace = true
|
||||
serde_json.workspace = true
|
||||
@ -61,7 +54,7 @@ std = [
|
||||
"alloy-trie?/std",
|
||||
"serde/std",
|
||||
"op-alloy-consensus?/std",
|
||||
"serde_json/std"
|
||||
"serde_json/std",
|
||||
]
|
||||
alloy = [
|
||||
"dep:alloy-consensus",
|
||||
@ -75,7 +68,7 @@ test-utils = [
|
||||
"alloy",
|
||||
"arbitrary",
|
||||
"dep:visibility",
|
||||
"dep:arbitrary"
|
||||
"dep:arbitrary",
|
||||
]
|
||||
serde = [
|
||||
"alloy-consensus?/serde",
|
||||
@ -90,5 +83,5 @@ arbitrary = [
|
||||
"alloy-eips?/arbitrary",
|
||||
"alloy-primitives/arbitrary",
|
||||
"alloy-trie?/arbitrary",
|
||||
"op-alloy-consensus?/arbitrary"
|
||||
"op-alloy-consensus?/arbitrary",
|
||||
]
|
||||
|
||||
@ -84,7 +84,7 @@ arbitrary = [
|
||||
"reth-prune-types/arbitrary",
|
||||
"reth-stages-types/arbitrary",
|
||||
"alloy-consensus/arbitrary",
|
||||
"reth-optimism-primitives?/arbitrary"
|
||||
"reth-optimism-primitives?/arbitrary",
|
||||
]
|
||||
optimism = [
|
||||
"reth-codecs/op",
|
||||
|
||||
@ -29,10 +29,7 @@ alloy-primitives.workspace = true
|
||||
alloy-consensus.workspace = true
|
||||
|
||||
# mdbx
|
||||
reth-libmdbx = { workspace = true, optional = true, features = [
|
||||
"return-borrowed",
|
||||
"read-tx-timeouts",
|
||||
] }
|
||||
reth-libmdbx = { workspace = true, optional = true, features = ["return-borrowed", "read-tx-timeouts"] }
|
||||
eyre = { workspace = true, optional = true }
|
||||
|
||||
# codecs
|
||||
@ -63,11 +60,7 @@ tempfile.workspace = true
|
||||
test-fuzz.workspace = true
|
||||
parking_lot.workspace = true
|
||||
|
||||
pprof = { workspace = true, features = [
|
||||
"flamegraph",
|
||||
"frame-pointer",
|
||||
"criterion",
|
||||
] }
|
||||
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||
criterion.workspace = true
|
||||
|
||||
arbitrary = { workspace = true, features = ["derive"] }
|
||||
|
||||
@ -34,5 +34,5 @@ std = [
|
||||
"alloy-rlp/std",
|
||||
"derive_more/std",
|
||||
"reth-primitives-traits/std",
|
||||
"thiserror/std"
|
||||
"thiserror/std",
|
||||
]
|
||||
|
||||
@ -31,11 +31,7 @@ return-borrowed = []
|
||||
read-tx-timeouts = ["dep:dashmap"]
|
||||
|
||||
[dev-dependencies]
|
||||
pprof = { workspace = true, features = [
|
||||
"flamegraph",
|
||||
"frame-pointer",
|
||||
"criterion",
|
||||
] }
|
||||
pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] }
|
||||
criterion.workspace = true
|
||||
rand.workspace = true
|
||||
rand_xorshift = "0.3"
|
||||
|
||||
@ -57,9 +57,7 @@ metrics.workspace = true
|
||||
# misc
|
||||
auto_impl.workspace = true
|
||||
itertools.workspace = true
|
||||
notify = { workspace = true, default-features = false, features = [
|
||||
"macos_fsevent",
|
||||
] }
|
||||
notify = { workspace = true, default-features = false, features = ["macos_fsevent"] }
|
||||
parking_lot.workspace = true
|
||||
dashmap = { workspace = true, features = ["inline"] }
|
||||
strum.workspace = true
|
||||
|
||||
@ -12,7 +12,6 @@ description = "Task management"
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
|
||||
# async
|
||||
tokio = { workspace = true, features = ["sync", "rt"] }
|
||||
tracing-futures.workspace = true
|
||||
|
||||
@ -73,7 +73,7 @@ std = [
|
||||
"reth-primitives-traits/std",
|
||||
"serde?/std",
|
||||
"serde_with?/std",
|
||||
"serde_json/std"
|
||||
"serde_json/std",
|
||||
]
|
||||
eip1186 = [
|
||||
"alloy-rpc-types-eth/serde",
|
||||
@ -88,7 +88,7 @@ serde = [
|
||||
"alloy-trie/serde",
|
||||
"alloy-rpc-types-eth?/serde",
|
||||
"reth-primitives-traits/serde",
|
||||
"reth-codecs?/serde"
|
||||
"reth-codecs?/serde",
|
||||
]
|
||||
reth-codec = [
|
||||
"dep:reth-codecs",
|
||||
@ -98,7 +98,7 @@ serde-bincode-compat = [
|
||||
"serde",
|
||||
"reth-primitives-traits/serde-bincode-compat",
|
||||
"alloy-consensus/serde-bincode-compat",
|
||||
"dep:serde_with"
|
||||
"dep:serde_with",
|
||||
]
|
||||
test-utils = [
|
||||
"dep:plain_hasher",
|
||||
@ -118,7 +118,7 @@ arbitrary = [
|
||||
"alloy-primitives/arbitrary",
|
||||
"nybbles/arbitrary",
|
||||
"reth-codecs/arbitrary",
|
||||
"alloy-rpc-types-eth?/arbitrary"
|
||||
"alloy-rpc-types-eth?/arbitrary",
|
||||
]
|
||||
|
||||
[[bench]]
|
||||
|
||||
@ -9,7 +9,7 @@ ignore = [
|
||||
# https://rustsec.org/advisories/RUSTSEC-2024-0384 used by sse example
|
||||
"RUSTSEC-2024-0384",
|
||||
# https://rustsec.org/advisories/RUSTSEC-2024-0388 used by ssz, will be removed https://github.com/sigp/ethereum_ssz/pull/34
|
||||
"RUSTSEC-2024-0388"
|
||||
"RUSTSEC-2024-0388",
|
||||
]
|
||||
|
||||
# This section is considered when running `cargo deny check bans`.
|
||||
|
||||
13
dprint.json
Normal file
13
dprint.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"toml": {
|
||||
"useTabs": false,
|
||||
"cargo.applyConventions": false,
|
||||
"indentWidth": 4
|
||||
},
|
||||
"includes": [
|
||||
"**/*.toml"
|
||||
],
|
||||
"plugins": [
|
||||
"https://plugins.dprint.dev/toml-0.6.4.wasm"
|
||||
]
|
||||
}
|
||||
@ -16,11 +16,7 @@ reth-network-peers.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-tracing.workspace = true
|
||||
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
|
||||
tokio.workspace = true
|
||||
tokio-stream.workspace = true
|
||||
|
||||
@ -5,7 +5,6 @@ publish = false
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
|
||||
[dependencies]
|
||||
reth.workspace = true
|
||||
reth-chainspec.workspace = true
|
||||
|
||||
@ -5,7 +5,6 @@ publish = false
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
|
||||
[dependencies]
|
||||
reth.workspace = true
|
||||
reth-node-ethereum.workspace = true
|
||||
|
||||
@ -5,7 +5,6 @@ publish = false
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
|
||||
[dependencies]
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
futures.workspace = true
|
||||
|
||||
@ -5,7 +5,6 @@ publish = false
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
|
||||
[dependencies]
|
||||
reth-chainspec.workspace = true
|
||||
reth-db.workspace = true
|
||||
@ -19,5 +18,4 @@ alloy-consensus.workspace = true
|
||||
alloy-rpc-types-eth.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
|
||||
eyre.workspace = true
|
||||
|
||||
@ -8,11 +8,7 @@ license.workspace = true
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
secp256k1 = { workspace = true, features = [
|
||||
"global-context",
|
||||
"rand-std",
|
||||
"recovery",
|
||||
] }
|
||||
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
|
||||
tokio.workspace = true
|
||||
reth-network.workspace = true
|
||||
reth-chainspec.workspace = true
|
||||
|
||||
@ -22,11 +22,7 @@ asm-keccak = [
|
||||
[dependencies]
|
||||
reth-chainspec.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-db = { workspace = true, features = [
|
||||
"mdbx",
|
||||
"test-utils",
|
||||
"disable-lock",
|
||||
] }
|
||||
reth-db = { workspace = true, features = ["mdbx", "test-utils", "disable-lock"] }
|
||||
reth-db-api.workspace = true
|
||||
reth-provider = { workspace = true, features = ["test-utils"] }
|
||||
reth-stages.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user