mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Move dependencies to workspace (#4650)
## Issue Addressed Synchronize dependencies and edition on the workspace `Cargo.toml` ## Proposed Changes with https://github.com/rust-lang/cargo/issues/8415 merged it's now possible to synchronize details on the workspace `Cargo.toml` like the metadata and dependencies. By only having dependencies that are shared between multiple crates aligned on the workspace `Cargo.toml` it's easier to not miss duplicate versions of the same dependency and therefore ease on the compile times. ## Additional Info this PR also removes the no longer required direct dependency of the `serde_derive` crate. should be reviewed after https://github.com/sigp/lighthouse/pull/4639 get's merged. closes https://github.com/sigp/lighthouse/issues/4651 Co-authored-by: Michael Sproul <michael@sigmaprime.io> Co-authored-by: Michael Sproul <micsproul@gmail.com>
This commit is contained in:
@@ -1,30 +1,29 @@
|
||||
[package]
|
||||
name = "validator_manager"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
edition = { workspace = true }
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
bls = { path = "../crypto/bls" }
|
||||
clap = "2.33.3"
|
||||
types = { path = "../consensus/types" }
|
||||
environment = { path = "../lighthouse/environment" }
|
||||
eth2_network_config = { path = "../common/eth2_network_config" }
|
||||
clap_utils = { path = "../common/clap_utils" }
|
||||
eth2_wallet = { path = "../crypto/eth2_wallet" }
|
||||
eth2_keystore = { path = "../crypto/eth2_keystore" }
|
||||
account_utils = { path = "../common/account_utils" }
|
||||
serde = { version = "1.0.116", features = ["derive"] }
|
||||
serde_json = "1.0.58"
|
||||
ethereum_serde_utils = "0.5.0"
|
||||
tree_hash = "0.5.0"
|
||||
eth2 = { path = "../common/eth2", features = ["lighthouse"]}
|
||||
hex = "0.4.2"
|
||||
tokio = { version = "1.14.0", features = ["time", "rt-multi-thread", "macros"] }
|
||||
bls = { workspace = true }
|
||||
clap = { workspace = true }
|
||||
types = { workspace = true }
|
||||
environment = { workspace = true }
|
||||
eth2_network_config = { workspace = true }
|
||||
clap_utils = { workspace = true }
|
||||
eth2_wallet = { workspace = true }
|
||||
eth2_keystore = { workspace = true }
|
||||
account_utils = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
ethereum_serde_utils = { workspace = true }
|
||||
tree_hash = { workspace = true }
|
||||
eth2 = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
tokio = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.1.0"
|
||||
regex = "1.6.0"
|
||||
eth2_network_config = { path = "../common/eth2_network_config" }
|
||||
validator_client = { path = "../validator_client" }
|
||||
tempfile = { workspace = true }
|
||||
regex = { workspace = true }
|
||||
validator_client = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user