From 5b20aece2b4176ddeaed7050e710c5c45ec34aeb Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Wed, 21 Jun 2023 21:13:32 +0200 Subject: [PATCH] chore: move bytes to workspace dep (#3302) --- Cargo.toml | 3 ++- crates/net/eth-wire/Cargo.toml | 2 +- crates/primitives/Cargo.toml | 2 +- crates/rlp/Cargo.toml | 2 +- crates/rpc/ipc/Cargo.toml | 2 +- crates/rpc/rpc/Cargo.toml | 2 +- crates/storage/codecs/Cargo.toml | 2 +- crates/storage/db/Cargo.toml | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 52113588c..09bf2988a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -100,7 +100,8 @@ ethers-signers = { version = "2.0.7", default-features = false } ethers-middleware = { version = "2.0.7", default-features = false } ## misc -tracing = "^0.1.0" +bytes = "1.4" +tracing = "0.1.0" thiserror = "1.0.37" serde_json = "1.0.94" serde = { version = "1.0", default-features = false } diff --git a/crates/net/eth-wire/Cargo.toml b/crates/net/eth-wire/Cargo.toml index 518f30b34..de43afd71 100644 --- a/crates/net/eth-wire/Cargo.toml +++ b/crates/net/eth-wire/Cargo.toml @@ -9,7 +9,7 @@ homepage.workspace = true repository.workspace = true [dependencies] -bytes = "1.4" +bytes.workspace = true thiserror = { workspace = true } serde = { workspace = true, optional = true } diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index bea2afbc9..a34e21094 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -43,7 +43,7 @@ tokio = { workspace = true, default-features = false, features = ["sync"] } tokio-stream = { workspace = true } # misc -bytes = "1.4" +bytes.workspace = true serde = { workspace = true } serde_json = { workspace = true } serde_with = "2.1.0" diff --git a/crates/rlp/Cargo.toml b/crates/rlp/Cargo.toml index c7977b494..234e9a52c 100644 --- a/crates/rlp/Cargo.toml +++ b/crates/rlp/Cargo.toml @@ -11,7 +11,7 @@ repository.workspace = true [dependencies] arrayvec = { version = "0.7", default-features = false } auto_impl = "1" -bytes = { version = "1", default-features = false } +bytes.workspace = true ethnum = { version = "1", default-features = false, optional = true } smol_str = { version = "0.1", default-features = false, optional = true } ethereum-types = { version = "0.14", features = ["codec"], optional = true } diff --git a/crates/rpc/ipc/Cargo.toml b/crates/rpc/ipc/Cargo.toml index 7f118f83c..a7fa2c30c 100644 --- a/crates/rpc/ipc/Cargo.toml +++ b/crates/rpc/ipc/Cargo.toml @@ -26,7 +26,7 @@ tower = "0.4" jsonrpsee = { version = "0.18", features = ["server", "client"] } serde_json = { workspace = true } tracing = { workspace = true } -bytes = "1.4" +bytes = { workspace = true } thiserror = { workspace = true } [dev-dependencies] diff --git a/crates/rpc/rpc/Cargo.toml b/crates/rpc/rpc/Cargo.toml index a69810923..30b94277f 100644 --- a/crates/rpc/rpc/Cargo.toml +++ b/crates/rpc/rpc/Cargo.toml @@ -47,7 +47,7 @@ tokio-stream = { workspace = true, features = ["sync"] } tokio-util = "0.7" pin-project = { workspace = true } -bytes = "1.4" +bytes.workspace = true secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } diff --git a/crates/storage/codecs/Cargo.toml b/crates/storage/codecs/Cargo.toml index 76b894a40..3b6719ae0 100644 --- a/crates/storage/codecs/Cargo.toml +++ b/crates/storage/codecs/Cargo.toml @@ -16,7 +16,7 @@ no_codec = ["codecs-derive/no_codec"] arbitrary = ["revm-primitives/arbitrary", "dep:arbitrary", "dep:proptest", "dep:proptest-derive"] [dependencies] -bytes = "1.4" +bytes.workspace = true codecs-derive = { path = "./derive", default-features = false } revm-primitives = { workspace = true, features = ["serde"] } diff --git a/crates/storage/db/Cargo.toml b/crates/storage/db/Cargo.toml index 67204d54f..8b0da0567 100644 --- a/crates/storage/db/Cargo.toml +++ b/crates/storage/db/Cargo.toml @@ -32,7 +32,7 @@ secp256k1 = { workspace = true, default-features = false, features = [ modular-bitfield = "0.11.2" # misc -bytes = "1.4" +bytes.workspace = true page_size = "0.4.2" thiserror = { workspace = true } tempfile = { version = "3.3.0", optional = true }