mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 03:30:38 +00:00
dcd69dfc62
## 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>
49 lines
1.4 KiB
TOML
49 lines
1.4 KiB
TOML
[package]
|
|
name = "watch"
|
|
version = "0.1.0"
|
|
edition = { workspace = true }
|
|
|
|
[lib]
|
|
name = "watch"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "watch"
|
|
path = "src/main.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
clap = { workspace = true }
|
|
log = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
types = { workspace = true }
|
|
eth2 = { workspace = true }
|
|
beacon_node = { workspace = true }
|
|
tokio = { workspace = true }
|
|
axum = "0.6.18"
|
|
hyper = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
url = { workspace = true }
|
|
rand = { workspace = true }
|
|
diesel = { version = "2.0.2", features = ["postgres", "r2d2"] }
|
|
diesel_migrations = { version = "2.0.0", features = ["postgres"] }
|
|
byteorder = { workspace = true }
|
|
bls = { workspace = true }
|
|
hex = { workspace = true }
|
|
r2d2 = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tokio-postgres = "0.7.5"
|
|
http_api = { workspace = true }
|
|
beacon_chain = { workspace = true }
|
|
network = { workspace = true }
|
|
# TODO: update to 0.15 when released: https://github.com/testcontainers/testcontainers-rs/issues/497
|
|
testcontainers = { git = "https://github.com/testcontainers/testcontainers-rs/", rev = "0f2c9851" }
|
|
unused_port = { workspace = true }
|
|
task_executor = { workspace = true }
|
|
logging = { workspace = true }
|