Files
reth/crates/payload/primitives/Cargo.toml
2025-11-21 20:38:20 +00:00

60 lines
1.4 KiB
TOML

[package]
name = "reth-payload-primitives"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
exclude.workspace = true
[lints]
workspace = true
[dependencies]
# reth
reth-primitives-traits.workspace = true
reth-chainspec.workspace = true
reth-errors.workspace = true
reth-chain-state.workspace = true
reth-execution-types.workspace = true
reth-trie-common.workspace = true
# alloy
alloy-consensus.workspace = true
alloy-eips.workspace = true
alloy-primitives.workspace = true
alloy-rpc-types-engine = { workspace = true, features = ["serde"] }
op-alloy-rpc-types-engine = { workspace = true, optional = true, features = ["serde"] }
# misc
auto_impl.workspace = true
either.workspace = true
serde.workspace = true
thiserror.workspace = true
tokio = { workspace = true, default-features = false, features = ["sync"] }
[dev-dependencies]
assert_matches.workspace = true
[features]
default = ["std"]
std = [
"reth-chainspec/std",
"reth-execution-types/std",
"reth-trie-common/std",
"alloy-eips/std",
"alloy-primitives/std",
"alloy-rpc-types-engine/std",
"op-alloy-rpc-types-engine?/std",
"serde/std",
"thiserror/std",
"reth-primitives-traits/std",
"either/std",
"alloy-consensus/std",
]
op = [
"dep:op-alloy-rpc-types-engine",
"reth-primitives-traits/op",
]