mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
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:
@@ -1,10 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "account_manager"
|
name = "account_manager"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
authors = [
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Luke Anderson <luke@sigmaprime.io>"]
|
||||||
"Paul Hauner <paul@paulhauner.com>",
|
|
||||||
"Luke Anderson <luke@sigmaprime.io>",
|
|
||||||
]
|
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "beacon_node"
|
name = "beacon_node"
|
||||||
version = { workspace = true }
|
version = { workspace = true }
|
||||||
authors = [
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com"]
|
||||||
"Paul Hauner <paul@paulhauner.com>",
|
|
||||||
"Age Manning <Age@AgeManning.com",
|
|
||||||
]
|
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
@@ -12,10 +9,10 @@ name = "beacon_node"
|
|||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
write_ssz_files = [
|
# Writes debugging .ssz files to /tmp during block processing.
|
||||||
"beacon_chain/write_ssz_files",
|
write_ssz_files = ["beacon_chain/write_ssz_files"]
|
||||||
] # Writes debugging .ssz files to /tmp during block processing.
|
# Enables testing-only CLI flags.
|
||||||
testing = [] # Enables testing-only CLI flags
|
testing = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
account_utils = { workspace = true }
|
account_utils = { workspace = true }
|
||||||
|
|||||||
@@ -8,9 +8,12 @@ autotests = false # using a single test binary compiles faster
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["participation_metrics"]
|
default = ["participation_metrics"]
|
||||||
write_ssz_files = [] # Writes debugging .ssz files to /tmp during block processing.
|
# Writes debugging .ssz files to /tmp during block processing.
|
||||||
participation_metrics = [] # Exposes validator participation metrics to Prometheus.
|
write_ssz_files = []
|
||||||
fork_from_env = [] # Initialise the harness chain spec from the FORK_NAME env variable
|
# 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"]
|
portable = ["bls/supranational-portable"]
|
||||||
test_backfill = []
|
test_backfill = []
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ authors = ["blacktemplar <blacktemplar@a1.net>"]
|
|||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[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]
|
[dependencies]
|
||||||
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "types"
|
name = "types"
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
authors = [
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com>"]
|
||||||
"Paul Hauner <paul@paulhauner.com>",
|
|
||||||
"Age Manning <Age@AgeManning.com>",
|
|
||||||
]
|
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|||||||
Reference in New Issue
Block a user