add format checker to .toml (#13968)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
georgehao
2025-01-28 20:20:58 +08:00
committed by GitHub
parent 22c1de501b
commit 2e4376f359
91 changed files with 833 additions and 933 deletions

View File

@ -49,66 +49,62 @@ 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"]
std = [
"reth-primitives-traits/std",
"alloy-consensus/std",
"alloy-eips/std",
"alloy-genesis/std",
"alloy-primitives/std",
"once_cell/std",
"serde/std",
"reth-ethereum-forks/std",
"derive_more/std",
"serde_json/std",
"reth-ethereum-primitives/std",
"alloy-rlp/std"
"reth-primitives-traits/std",
"alloy-consensus/std",
"alloy-eips/std",
"alloy-genesis/std",
"alloy-primitives/std",
"once_cell/std",
"serde/std",
"reth-ethereum-forks/std",
"derive_more/std",
"serde_json/std",
"reth-ethereum-primitives/std",
"alloy-rlp/std",
]
reth-codec = [
"std",
"reth-primitives-traits/reth-codec",
"reth-ethereum-primitives/reth-codec"
"std",
"reth-primitives-traits/reth-codec",
"reth-ethereum-primitives/reth-codec",
]
asm-keccak = ["alloy-primitives/asm-keccak"]
arbitrary = [
"dep:arbitrary",
"alloy-eips/arbitrary",
"reth-codec",
"reth-ethereum-forks/arbitrary",
"reth-primitives-traits/arbitrary",
"alloy-consensus/arbitrary",
"alloy-primitives/arbitrary",
"reth-ethereum-primitives/arbitrary",
"reth-codecs/arbitrary"
"dep:arbitrary",
"alloy-eips/arbitrary",
"reth-codec",
"reth-ethereum-forks/arbitrary",
"reth-primitives-traits/arbitrary",
"alloy-consensus/arbitrary",
"alloy-primitives/arbitrary",
"reth-ethereum-primitives/arbitrary",
"reth-codecs/arbitrary",
]
secp256k1 = [
"reth-primitives-traits/secp256k1",
"reth-primitives-traits/secp256k1",
]
c-kzg = [
"dep:c-kzg",
"alloy-consensus/kzg",
"alloy-eips/kzg",
"dep:c-kzg",
"alloy-consensus/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-primitives-traits/test-utils",
"arbitrary",
"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"
"alloy-eips/serde-bincode-compat",
"alloy-consensus/serde-bincode-compat",
"reth-primitives-traits/serde-bincode-compat",
"reth-ethereum-primitives/serde-bincode-compat",
]
[[bench]]