diff --git a/Cargo.toml b/Cargo.toml index 48a0abc..6e65f60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,24 @@ license = "GPL-3" description = "Configuration utility for Ethereum network simulations in Shadow" authors = ["Pop Chunhapanya ", "Daniel Knopik "] +[workspace.dependencies] +clap = "4.5" +color-eyre = "0.6" +env_logger = "0.11" +ethshadow = { path = "lib" } +hex = "0.4.3" +humantime-serde = "1.1" +itertools = "0.13" +libsecp256k1 = "0.7.1" +log = "0.4" +rand = "0.8.5" +serde = "1.0" +serde_yaml = "0.9" +tempfile = "3.13" +thiserror = "1.0" +typetag = "0.2" +users = "0.11" + [workspace] members = ["lib"] resolver = "2" @@ -29,7 +47,7 @@ name = "ethshadow" path = "ethshadow.rs" [dependencies] -ethshadow = { path = "lib" } -clap = { version = "4.5", features = ["cargo"] } -color-eyre = "0.6" -env_logger = "0.11" \ No newline at end of file +ethshadow = { workspace = true } +clap = { workspace = true, features = ["cargo"] } +color-eyre = { workspace = true } +env_logger = { workspace = true } diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 66de4b3..bcd5507 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -7,17 +7,17 @@ description.workspace = true authors.workspace = true [dependencies] -serde_yaml = "0.9" # deprecated, but stable, and what shadow uses -serde = { version = "1.0", features = ["derive"] } -humantime-serde = "1.1" -thiserror = "1.0" -rand = "0.8.5" -libsecp256k1 = "0.7.1" -hex = "0.4.3" -typetag = "0.2" -itertools = "0.13" -users = "0.11" -log = "0.4" +serde_yaml = { workspace = true } # deprecated, but stable, and what shadow uses +serde = { workspace = true, features = ["derive"] } +humantime-serde = { workspace = true } +thiserror = { workspace = true } +rand = { workspace = true } +libsecp256k1 = { workspace = true } +hex = { workspace = true } +typetag = { workspace = true } +itertools = { workspace = true } +users = { workspace = true } +log = { workspace = true } [dev-dependencies] -tempfile = "3.13" \ No newline at end of file +tempfile = { workspace = true }