Skip to content

Commit

Permalink
chore: move tower+hyper to workspace (paradigmxyz#7150)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored and Ruteri committed Apr 17, 2024
1 parent 0bfc4b2 commit f7a1352
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Expand Up @@ -243,6 +243,9 @@ async-trait = "0.1.68"
futures = "0.3.26"
pin-project = "1.0.12"
futures-util = "0.3.25"
hyper = "0.14.25"
tower = "0.4"
tower-http = "0.4"

# p2p
discv5 = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion crates/node-core/Cargo.toml
Expand Up @@ -78,7 +78,7 @@ serde.workspace = true
serde_json.workspace = true

# http/rpc
hyper = "0.14.25"
hyper.workspace = true

# tracing
tracing.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc/ipc/Cargo.toml
Expand Up @@ -21,7 +21,7 @@ tokio-util = { workspace = true, features = ["codec"] }
tokio-stream.workspace = true
async-trait.workspace = true
pin-project.workspace = true
tower = "0.4"
tower.workspace = true

# misc
jsonrpsee = { workspace = true, features = ["server", "client"] }
Expand Down
6 changes: 3 additions & 3 deletions crates/rpc/rpc-builder/Cargo.toml
Expand Up @@ -24,9 +24,9 @@ reth-node-api.workspace = true

# rpc/net
jsonrpsee = { workspace = true, features = ["server"] }
tower-http = { version = "0.4", features = ["full"] }
tower = { version = "0.4", features = ["full"] }
hyper = "0.14"
tower-http = { workspace = true, features = ["full"] }
tower = { workspace = true, features = ["full"] }
hyper.workspace = true

# metrics
reth-metrics = { workspace = true, features = ["common"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/rpc/rpc/Cargo.toml
Expand Up @@ -45,7 +45,7 @@ revm-primitives = { workspace = true, features = ["serde"] }
jsonrpsee.workspace = true
http = "0.2.8"
http-body = "0.4.5"
hyper = "0.14.24"
hyper.workspace = true
jsonwebtoken = "8"

## required for optimism sequencer delegation
Expand All @@ -56,7 +56,7 @@ reqwest = { version = "0.11", default-features = false, features = [
# async
async-trait.workspace = true
tokio = { workspace = true, features = ["sync"] }
tower = "0.4"
tower.workspace = true
tokio-stream = { workspace = true, features = ["sync"] }
pin-project.workspace = true
parking_lot.workspace = true
Expand Down

0 comments on commit f7a1352

Please sign in to comment.