Fix formatting errors from cargo-sort (#7512)

[cargo-sort is currently failing on CI](https://github.com/sigp/lighthouse/actions/runs/15198128212/job/42746931918?pr=7025), likely due to new checks introduced in version [2.0.0](https://github.com/DevinR528/cargo-sort/releases/tag/v2.0.0).


  Fixed the errors by running cargo-sort with formatting enabled.
This commit is contained in:
Akihito Nakano
2025-05-23 14:25:56 +09:00
committed by GitHub
parent 6af8c187e0
commit a2797d4bbd
26 changed files with 246 additions and 247 deletions

View File

@@ -5,10 +5,6 @@ authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com
edition = { workspace = true }
autotests = false # using a single test binary compiles faster
[[bench]]
name = "benches"
harness = false
[features]
default = ["participation_metrics"]
write_ssz_files = [] # Writes debugging .ssz files to /tmp during block processing.
@@ -17,11 +13,6 @@ fork_from_env = [] # Initialise the harness chain spec from the FORK_NAME env va
portable = ["bls/supranational-portable"]
test_backfill = []
[dev-dependencies]
criterion = { workspace = true }
maplit = { workspace = true }
serde_json = { workspace = true }
[dependencies]
alloy-primitives = { workspace = true }
bitvec = { workspace = true }
@@ -75,6 +66,15 @@ tree_hash = { workspace = true }
tree_hash_derive = { workspace = true }
types = { workspace = true }
[dev-dependencies]
criterion = { workspace = true }
maplit = { workspace = true }
serde_json = { workspace = true }
[[bench]]
name = "benches"
harness = false
[[test]]
name = "beacon_chain_tests"
path = "tests/main.rs"