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:
@@ -2,24 +2,25 @@
|
||||
name = "bls"
|
||||
version = "0.2.0"
|
||||
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
||||
edition = "2021"
|
||||
edition = { workspace = true }
|
||||
|
||||
[dependencies]
|
||||
ethereum_ssz = "0.5.0"
|
||||
tree_hash = "0.5.0"
|
||||
milagro_bls = { git = "https://github.com/sigp/milagro_bls", tag = "v1.4.2", optional = true }
|
||||
rand = "0.7.3"
|
||||
serde = "1.0.116"
|
||||
ethereum_ssz = { workspace = true }
|
||||
tree_hash = { workspace = true }
|
||||
milagro_bls = { git = "https://github.com/sigp/milagro_bls", tag = "v1.5.1", optional = true }
|
||||
rand = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_derive = "1.0.116"
|
||||
ethereum_serde_utils = "0.5.0"
|
||||
hex = "0.4.2"
|
||||
ethereum_hashing = "1.0.0-beta.2"
|
||||
ethereum-types = "0.14.1"
|
||||
arbitrary = { version = "1.0", features = ["derive"], optional = true }
|
||||
zeroize = { version = "1.4.2", features = ["zeroize_derive"] }
|
||||
ethereum_serde_utils = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
ethereum_hashing = { workspace = true }
|
||||
ethereum-types = { workspace = true }
|
||||
arbitrary = { workspace = true }
|
||||
zeroize = { workspace = true }
|
||||
blst = { version = "0.3.3", optional = true }
|
||||
|
||||
[features]
|
||||
arbitrary = []
|
||||
default = ["supranational"]
|
||||
fake_crypto = []
|
||||
milagro = ["milagro_bls"]
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
name = "eth2_key_derivation"
|
||||
version = "0.1.0"
|
||||
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
||||
edition = "2021"
|
||||
edition = { workspace = true }
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
sha2 = "0.10"
|
||||
zeroize = { version = "1.4.2", features = ["zeroize_derive"] }
|
||||
num-bigint-dig = { version = "0.6.0", features = ["zeroize"] }
|
||||
ring = "0.16.19"
|
||||
bls = { path = "../bls" }
|
||||
sha2 = { workspace = true }
|
||||
zeroize = { workspace = true }
|
||||
num-bigint-dig = { version = "0.8.4", features = ["zeroize"] }
|
||||
ring = { workspace = true }
|
||||
bls = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
hex = "0.4.2"
|
||||
hex = { workspace = true }
|
||||
|
||||
@@ -2,26 +2,26 @@
|
||||
name = "eth2_keystore"
|
||||
version = "0.1.0"
|
||||
authors = ["Pawan Dhananjay <pawan@sigmaprime.io", "Paul Hauner <paul@paulhauner.com>"]
|
||||
edition = "2021"
|
||||
edition = { workspace = true }
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
rand = "0.8.5"
|
||||
rand = { workspace = true }
|
||||
hmac = "0.11.0"
|
||||
pbkdf2 = { version = "0.8.0", default-features = false }
|
||||
scrypt = { version = "0.7.0", default-features = false }
|
||||
sha2 = "0.9.2"
|
||||
uuid = { version = "0.8.1", features = ["serde", "v4"] }
|
||||
zeroize = { version = "1.4.2", features = ["zeroize_derive"] }
|
||||
serde = "1.0.116"
|
||||
serde_repr = "0.1.6"
|
||||
hex = "0.4.2"
|
||||
bls = { path = "../bls" }
|
||||
serde_json = "1.0.58"
|
||||
eth2_key_derivation = { path = "../eth2_key_derivation" }
|
||||
sha2 = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
zeroize = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_repr = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
bls = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
eth2_key_derivation = { workspace = true }
|
||||
unicode-normalization = "0.1.16"
|
||||
aes = { version = "0.7", features = ["ctr"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.1.0"
|
||||
tempfile = { workspace = true }
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
name = "eth2_wallet"
|
||||
version = "0.1.0"
|
||||
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
||||
edition = "2021"
|
||||
edition = { workspace = true }
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
serde = "1.0.116"
|
||||
serde_json = "1.0.58"
|
||||
serde_repr = "0.1.6"
|
||||
uuid = { version = "0.8.1", features = ["serde", "v4"] }
|
||||
rand = "0.8.5"
|
||||
eth2_keystore = { path = "../eth2_keystore" }
|
||||
eth2_key_derivation = { path = "../eth2_key_derivation" }
|
||||
tiny-bip39 = "0.8.1"
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
serde_repr = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
eth2_keystore = { workspace = true }
|
||||
eth2_key_derivation = { workspace = true }
|
||||
tiny-bip39 = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
hex = "0.4.2"
|
||||
tempfile = "3.1.0"
|
||||
hex = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user