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

@ -27,20 +27,13 @@ op-alloy-consensus = { workspace = true, optional = true }
# misc
bytes.workspace = true
modular-bitfield.workspace = true
visibility = { version = "0.1.1", optional = true}
visibility = { version = "0.1.1", optional = true }
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
@ -53,15 +46,15 @@ rstest.workspace = true
[features]
default = ["std", "alloy"]
std = [
"alloy-primitives/std",
"bytes/std",
"alloy-consensus?/std",
"alloy-eips?/std",
"alloy-genesis?/std",
"alloy-trie?/std",
"serde/std",
"op-alloy-consensus?/std",
"serde_json/std"
"alloy-primitives/std",
"bytes/std",
"alloy-consensus?/std",
"alloy-eips?/std",
"alloy-genesis?/std",
"alloy-trie?/std",
"serde/std",
"op-alloy-consensus?/std",
"serde_json/std",
]
alloy = [
"dep:alloy-consensus",
@ -71,24 +64,24 @@ alloy = [
]
op = ["alloy", "dep:op-alloy-consensus"]
test-utils = [
"std",
"std",
"alloy",
"arbitrary",
"arbitrary",
"dep:visibility",
"dep:arbitrary"
"dep:arbitrary",
]
serde = [
"alloy-consensus?/serde",
"alloy-eips?/serde",
"alloy-primitives/serde",
"alloy-trie?/serde",
"bytes/serde",
"op-alloy-consensus?/serde",
"alloy-consensus?/serde",
"alloy-eips?/serde",
"alloy-primitives/serde",
"alloy-trie?/serde",
"bytes/serde",
"op-alloy-consensus?/serde",
]
arbitrary = [
"alloy-consensus?/arbitrary",
"alloy-eips?/arbitrary",
"alloy-primitives/arbitrary",
"alloy-trie?/arbitrary",
"op-alloy-consensus?/arbitrary"
"alloy-consensus?/arbitrary",
"alloy-eips?/arbitrary",
"alloy-primitives/arbitrary",
"alloy-trie?/arbitrary",
"op-alloy-consensus?/arbitrary",
]