mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
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:
@@ -6,6 +6,11 @@ edition = { workspace = true }
|
||||
autotests = false
|
||||
rust-version = "1.83.0"
|
||||
|
||||
# Prevent cargo-udeps from flagging the dummy package `target_check`, which exists only
|
||||
# to assert properties of the compilation target.
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = ["target_check"]
|
||||
|
||||
[features]
|
||||
default = ["slasher-lmdb", "beacon-node-leveldb"]
|
||||
# Writes debugging .ssz files to /tmp during block processing.
|
||||
@@ -32,12 +37,6 @@ beacon-node-redb = ["store/redb"]
|
||||
# Deprecated. This is now enabled by default on non windows targets.
|
||||
jemalloc = []
|
||||
|
||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||
malloc_utils = { workspace = true, features = ["jemalloc"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
malloc_utils = { workspace = true }
|
||||
|
||||
[dependencies]
|
||||
account_manager = { "path" = "../account_manager" }
|
||||
account_utils = { workspace = true }
|
||||
@@ -69,6 +68,12 @@ unused_port = { workspace = true }
|
||||
validator_client = { workspace = true }
|
||||
validator_manager = { path = "../validator_manager" }
|
||||
|
||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||
malloc_utils = { workspace = true, features = ["jemalloc"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
malloc_utils = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
beacon_node_fallback = { workspace = true }
|
||||
beacon_processor = { workspace = true }
|
||||
@@ -85,8 +90,3 @@ zeroize = { workspace = true }
|
||||
[[test]]
|
||||
name = "lighthouse_tests"
|
||||
path = "tests/main.rs"
|
||||
|
||||
# Prevent cargo-udeps from flagging the dummy package `target_check`, which exists only
|
||||
# to assert properties of the compilation target.
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = ["target_check"]
|
||||
|
||||
Reference in New Issue
Block a user