diff --git a/Cargo.toml b/Cargo.toml index 7d3ca9840..7234662b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,5 @@ [workspace] -members = [ - "bin/*", - "crates/*", -] +members = ["bin/*", "crates/*"] default-members = ["bin/rundler"] resolver = "2" @@ -68,7 +65,7 @@ serde_json = "1.0.128" rand = "0.8.5" reqwest = { version = "0.12.8", default-features = false, features = ["rustls-tls"] } thiserror = "1.0.64" -tokio = { version = "1.39.3", default-features = false, features = ["rt", "sync", "time"]} +tokio = { version = "1.39.3", default-features = false, features = ["rt", "sync", "time"] } tokio-util = "0.7.12" tonic = "0.12.3" tonic-build = "0.12.3" diff --git a/bin/rundler/Cargo.toml b/bin/rundler/Cargo.toml index 57fece234..4ff6e6e2d 100644 --- a/bin/rundler/Cargo.toml +++ b/bin/rundler/Cargo.toml @@ -24,13 +24,14 @@ alloy-primitives.workspace = true anyhow.workspace = true aws-config.workspace = true -aws-sdk-s3= { version = "1.52", default-features = false } -config = "0.14.0" +aws-sdk-s3 = { version = "1.52", default-features = false } clap = { version = "4.5.16", features = ["derive", "env"] } +config = "0.14.0" dotenv = "0.15.0" +go-parse-duration = "0.1" itertools = "0.13.0" metrics = "0.23.0" -go-parse-duration = "0.1" +metrics-derive.workspace = true metrics-exporter-prometheus = { version = "0.15.3", default-features = false, features = ["http-listener"] } metrics-process = "2.1.0" metrics-util = "0.17.0" @@ -47,5 +48,4 @@ tracing.workspace = true tracing-appender = "0.2.3" tracing-log = "0.2.0" tracing-subscriber = { version = "0.3.18", features = ["env-filter", "fmt", "json"] } -metrics-derive.workspace = true diff --git a/crates/builder/Cargo.toml b/crates/builder/Cargo.toml index 07b4a6020..1f0039f6c 100644 --- a/crates/builder/Cargo.toml +++ b/crates/builder/Cargo.toml @@ -29,16 +29,20 @@ enum_dispatch = "0.3.13" futures.workspace = true futures-timer = "3.0.3" futures-util.workspace = true -jsonrpsee = { workspace = true, features = [ "http-client" ]} +jsonrpsee = { workspace = true, features = [ "http-client" ] } linked-hash-map = "0.5.6" metrics.workspace = true +metrics-derive.workspace = true num-traits = "0.2.19" +parse-display.workspace = true pin-project.workspace = true prost.workspace = true -parse-display.workspace = true reqwest = { workspace = true, default-features = false, features = ["json"] } rslock = "0.4.0" -ruint = { version = "1.12.3", features = ["num-traits"]} +ruint = { version = "1.12.3", features = ["num-traits"] } +serde.workspace = true +serde_json.workspace = true +strum.workspace = true thiserror.workspace = true tokio.workspace = true tokio-util.workspace = true @@ -46,18 +50,14 @@ tonic.workspace = true tonic-health.workspace = true tonic-reflection.workspace = true tracing.workspace = true -serde.workspace = true -serde_json.workspace = true -strum.workspace = true -mockall = {workspace = true, optional = true } -metrics-derive.workspace = true +mockall = { workspace = true, optional = true } [dev-dependencies] mockall.workspace = true -rundler-types = { workspace = true, features = ["test-utils"] } rundler-provider = { workspace = true, features = ["test-utils"] } rundler-sim = { workspace = true, features = ["test-utils"] } +rundler-types = { workspace = true, features = ["test-utils"] } [build-dependencies] tonic-build.workspace = true diff --git a/crates/pool/Cargo.toml b/crates/pool/Cargo.toml index faabb4fad..854ce9cf2 100644 --- a/crates/pool/Cargo.toml +++ b/crates/pool/Cargo.toml @@ -25,6 +25,7 @@ futures.workspace = true futures-util.workspace = true itertools.workspace = true metrics.workspace = true +metrics-derive.workspace = true parking_lot = "0.12.3" prost.workspace = true serde.workspace = true @@ -39,14 +40,13 @@ tonic-reflection.workspace = true tracing.workspace = true url.workspace = true -mockall = {workspace = true, optional = true } -metrics-derive.workspace = true +mockall = { workspace = true, optional = true } [dev-dependencies] mockall.workspace = true -rundler-sim = { workspace = true, features = ["test-utils"] } -rundler-provider = { workspace = true, features = ["test-utils"] } reth-tasks.workspace = true +rundler-provider = { workspace = true, features = ["test-utils"] } +rundler-sim = { workspace = true, features = ["test-utils"] } [build-dependencies] tonic-build.workspace = true diff --git a/crates/provider/Cargo.toml b/crates/provider/Cargo.toml index 30a6b390b..c8ef5ccd1 100644 --- a/crates/provider/Cargo.toml +++ b/crates/provider/Cargo.toml @@ -29,20 +29,20 @@ reqwest.workspace = true anyhow.workspace = true async-trait.workspace = true auto_impl.workspace = true -thiserror.workspace = true futures-util.workspace = true +thiserror.workspace = true tower.workspace = true tracing.workspace = true url.workspace = true -mockall = {workspace = true, optional = true } +mockall = { workspace = true, optional = true } [features] -test-utils = [ "mockall" ] +test-utils = ["mockall"] [dev-dependencies] -rundler-provider = { workspace = true, features = ["test-utils"] } -alloy-provider = {workspace = true, features=["debug-api", "anvil-node"]} alloy-node-bindings = "0.4.2" -tokio.workspace = true +alloy-provider = { workspace = true, features = ["debug-api", "anvil-node"] } alloy-sol-macro.workspace = true +rundler-provider = { workspace = true, features = ["test-utils"] } +tokio.workspace = true diff --git a/crates/rpc/Cargo.toml b/crates/rpc/Cargo.toml index afe10c717..c3c6df13e 100644 --- a/crates/rpc/Cargo.toml +++ b/crates/rpc/Cargo.toml @@ -20,24 +20,24 @@ alloy-sol-types.workspace = true anyhow.workspace = true async-trait.workspace = true -jsonrpsee = { workspace = true , features = ["client", "macros", "server"] } +futures-util.workspace = true +http = "1.1.0" +jsonrpsee = { workspace = true, features = ["client", "macros", "server"] } metrics.workspace = true metrics-derive.workspace = true +serde.workspace = true +strum.workspace = true thiserror.workspace = true tokio.workspace = true tokio-util.workspace = true tonic.workspace = true tower.workspace = true tracing.workspace = true -serde.workspace = true -strum.workspace = true url.workspace = true -futures-util.workspace = true -http = "1.1.0" [dev-dependencies] -mockall.workspace = true alloy-consensus.workspace = true -rundler-provider = { workspace = true, features = ["test-utils"]} +mockall.workspace = true +rundler-provider = { workspace = true, features = ["test-utils"] } rundler-sim = { workspace = true, features = ["test-utils"] } -rundler-types= { workspace = true, features = ["test-utils"]} +rundler-types = { workspace = true, features = ["test-utils"] } diff --git a/crates/sim/Cargo.toml b/crates/sim/Cargo.toml index 1e8e7bcfb..7fb4ac4d4 100644 --- a/crates/sim/Cargo.toml +++ b/crates/sim/Cargo.toml @@ -23,25 +23,25 @@ auto_impl.workspace = true futures-util.workspace = true indexmap = "2.4.0" parse-display.workspace = true -thiserror.workspace = true +rand.workspace = true +reqwest.workspace = true serde.workspace = true serde_json.workspace = true serde_with = "3.9.0" -rand.workspace = true -reqwest.workspace = true +strum.workspace = true +thiserror.workspace = true tokio = { workspace = true, features = ["macros"] } tracing.workspace = true url.workspace = true -strum.workspace = true -mockall = {workspace = true, optional = true } +mockall = { workspace = true, optional = true } [dev-dependencies] +alloy-primitives = { workspace = true, features = ["rand"] } mockall.workspace = true rundler-provider = { workspace = true, features = ["test-utils"] } rundler-sim = { workspace = true, features = ["test-utils"] } rundler-types = { workspace = true, features = ["test-utils"] } -alloy-primitives = { workspace = true, features = ["rand"]} [features] -test-utils = [ "mockall" ] +test-utils = ["mockall"] diff --git a/crates/task/Cargo.toml b/crates/task/Cargo.toml index 2678d45cd..958f0d43c 100644 --- a/crates/task/Cargo.toml +++ b/crates/task/Cargo.toml @@ -9,8 +9,8 @@ publish = false [dependencies] rundler-provider.workspace = true -rundler-utils.workspace = true rundler-types.workspace = true +rundler-utils.workspace = true alloy-primitives.workspace = true @@ -18,11 +18,11 @@ anyhow.workspace = true async-trait.workspace = true futures.workspace = true metrics.workspace = true +pin-project.workspace = true reth-tasks.workspace = true +thiserror.workspace = true tokio.workspace = true tokio-util.workspace = true -pin-project.workspace = true tonic.workspace = true tower.workspace = true -thiserror.workspace = true tracing.workspace = true diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index 5a7e979fe..c31a90f7f 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -8,8 +8,8 @@ repository.workspace = true publish = false [dependencies] -rundler-utils.workspace = true rundler-contracts.workspace = true +rundler-utils.workspace = true alloy-primitives.workspace = true alloy-sol-types.workspace = true @@ -17,9 +17,11 @@ alloy-sol-types.workspace = true anyhow.workspace = true async-trait.workspace = true chrono = "0.4.38" -constcat = "0.5.0" const-hex = "1.12.0" +constcat = "0.5.0" futures-util.workspace = true +metrics.workspace = true +metrics-derive.workspace = true num_enum = "0.7.3" parse-display.workspace = true rand.workspace = true @@ -27,15 +29,13 @@ serde.workspace = true serde_json.workspace = true strum.workspace = true thiserror.workspace = true -metrics.workspace = true -mockall = {workspace = true, optional = true } -metrics-derive.workspace = true +mockall = { workspace = true, optional = true } [dev-dependencies] -rundler-types = { workspace = true, features = ["test-utils"] } alloy-primitives = { workspace = true, features = ["rand"] } cargo-husky.workspace = true +rundler-types = { workspace = true, features = ["test-utils"] } [features] -test-utils = [ "mockall" ] +test-utils = ["mockall"]