Fix cargo-sort errors (#8945)

The `cargo-sort` job in CI is [failing](https://github.com/sigp/lighthouse/actions/runs/22781651620/job/66088700318?pr=8932) since [cargo-sort v2.1.1](https://github.com/DevinR528/cargo-sort/releases/tag/v2.1.1) has been released, which reports new errors for our Cargo.toml files.


  Ran `cargo-sort` formatter locally with the new version.


Co-Authored-By: ackintosh <sora.akatsuki@gmail.com>
This commit is contained in:
Akihito Nakano
2026-03-07 08:09:33 +09:00
committed by GitHub
parent dbfb6fd923
commit efe43f7699
5 changed files with 15 additions and 20 deletions

View File

@@ -1,10 +1,7 @@
[package]
name = "account_manager"
version = { workspace = true }
authors = [
"Paul Hauner <paul@paulhauner.com>",
"Luke Anderson <luke@sigmaprime.io>",
]
authors = ["Paul Hauner <paul@paulhauner.com>", "Luke Anderson <luke@sigmaprime.io>"]
edition = { workspace = true }
[dependencies]

View File

@@ -1,10 +1,7 @@
[package]
name = "beacon_node"
version = { workspace = true }
authors = [
"Paul Hauner <paul@paulhauner.com>",
"Age Manning <Age@AgeManning.com",
]
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com"]
edition = { workspace = true }
[lib]
@@ -12,10 +9,10 @@ name = "beacon_node"
path = "src/lib.rs"
[features]
write_ssz_files = [
"beacon_chain/write_ssz_files",
] # Writes debugging .ssz files to /tmp during block processing.
testing = [] # Enables testing-only CLI flags
# Writes debugging .ssz files to /tmp during block processing.
write_ssz_files = ["beacon_chain/write_ssz_files"]
# Enables testing-only CLI flags.
testing = []
[dependencies]
account_utils = { workspace = true }

View File

@@ -8,9 +8,12 @@ autotests = false # using a single test binary compiles faster
[features]
default = ["participation_metrics"]
write_ssz_files = [] # Writes debugging .ssz files to /tmp during block processing.
participation_metrics = [] # Exposes validator participation metrics to Prometheus.
fork_from_env = [] # Initialise the harness chain spec from the FORK_NAME env variable
# Writes debugging .ssz files to /tmp during block processing.
write_ssz_files = []
# Exposes validator participation metrics to Prometheus.
participation_metrics = []
# Initialise the harness chain spec from the FORK_NAME env variable
fork_from_env = []
portable = ["bls/supranational-portable"]
test_backfill = []

View File

@@ -5,7 +5,8 @@ authors = ["blacktemplar <blacktemplar@a1.net>"]
edition = { workspace = true }
[features]
test_logger = [] # Print log output to stderr when running tests instead of dropping it
# Print log output to stderr when running tests instead of dropping it.
test_logger = []
[dependencies]
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }

View File

@@ -1,10 +1,7 @@
[package]
name = "types"
version = "0.2.1"
authors = [
"Paul Hauner <paul@paulhauner.com>",
"Age Manning <Age@AgeManning.com>",
]
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com>"]
edition = { workspace = true }
[features]