diff --git a/Cargo.toml b/Cargo.toml index 866ac59809..e2ba5e32ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -127,6 +127,7 @@ papyrus_config = { path = "crates/papyrus_config", version = "0.4.0-rc.0" } papyrus_proc_macros = { path = "crates/papyrus_proc_macros", version = "0.4.0-rc.0" } papyrus_rpc = { path = "crates/papyrus_rpc", version = "0.4.0-rc.0" } papyrus_storage = { path = "crates/papyrus_storage", version = "0.4.0-rc.0" } +papyrus_test_utils = { path = "crates/papyrus_test_utils", version = "0.4.0-rc.0" } parity-scale-codec = "=3.6.9" parity-scale-codec-derive = "=3.6.9" paste = "1.0.15" diff --git a/crates/papyrus_common/Cargo.toml b/crates/papyrus_common/Cargo.toml index 0ee1ecf6ec..db3c7015ce 100644 --- a/crates/papyrus_common/Cargo.toml +++ b/crates/papyrus_common/Cargo.toml @@ -22,6 +22,6 @@ thiserror.workspace = true [dev-dependencies] assert_matches.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true pretty_assertions.workspace = true serde_json = { workspace = true, features = ["arbitrary_precision"] } diff --git a/crates/papyrus_config/Cargo.toml b/crates/papyrus_config/Cargo.toml index ae614b1c5f..86f82f9ad0 100644 --- a/crates/papyrus_config/Cargo.toml +++ b/crates/papyrus_config/Cargo.toml @@ -22,5 +22,5 @@ validator = { workspace = true, features = ["derive"] } assert_matches.workspace = true itertools.workspace = true lazy_static.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true tempfile.workspace = true diff --git a/crates/papyrus_execution/Cargo.toml b/crates/papyrus_execution/Cargo.toml index 0d2d5dfd3b..fbfff50d3c 100644 --- a/crates/papyrus_execution/Cargo.toml +++ b/crates/papyrus_execution/Cargo.toml @@ -27,7 +27,7 @@ serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } starknet_api.workspace = true starknet-types-core.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils", optional = true } +papyrus_test_utils = { workspace = true, optional = true } thiserror.workspace = true tracing.workspace = true @@ -40,7 +40,7 @@ papyrus_storage = { workspace = true, features = ["testing"] } pretty_assertions.workspace = true rand.workspace = true rand_chacha.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true [package.metadata.cargo-machete] # The `rand` crate is used in the `testing` feature, which is optional. diff --git a/crates/papyrus_node/Cargo.toml b/crates/papyrus_node/Cargo.toml index f0f7738d98..1c5569c6bf 100644 --- a/crates/papyrus_node/Cargo.toml +++ b/crates/papyrus_node/Cargo.toml @@ -57,6 +57,6 @@ assert-json-diff.workspace = true colored.workspace = true insta = { workspace = true, features = ["json"] } metrics-exporter-prometheus.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true pretty_assertions.workspace = true tempfile.workspace = true diff --git a/crates/papyrus_p2p_sync/Cargo.toml b/crates/papyrus_p2p_sync/Cargo.toml index b5d5d69c80..e46d50ebe4 100644 --- a/crates/papyrus_p2p_sync/Cargo.toml +++ b/crates/papyrus_p2p_sync/Cargo.toml @@ -33,7 +33,7 @@ papyrus_storage = { workspace = true, features = ["testing"] } static_assertions.workspace = true rand.workspace = true rand_chacha.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true papyrus_protobuf = { path = "../papyrus_protobuf", features = ["testing"] } # The `metrics` crate is used by `latency_histogram` proc macro, which is used in this crate. diff --git a/crates/papyrus_proc_macros/Cargo.toml b/crates/papyrus_proc_macros/Cargo.toml index a63a9b7519..da3d40544f 100644 --- a/crates/papyrus_proc_macros/Cargo.toml +++ b/crates/papyrus_proc_macros/Cargo.toml @@ -14,7 +14,7 @@ syn = { version = "2.0.39", features = ["full"] } metrics.workspace = true metrics-exporter-prometheus.workspace = true papyrus_common.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true prometheus-parse.workspace = true [lib] diff --git a/crates/papyrus_protobuf/Cargo.toml b/crates/papyrus_protobuf/Cargo.toml index f5a6f83aef..7490af9f67 100644 --- a/crates/papyrus_protobuf/Cargo.toml +++ b/crates/papyrus_protobuf/Cargo.toml @@ -17,14 +17,14 @@ rand = { workspace = true, optional = true } rand_chacha = { workspace = true, optional = true } starknet_api.workspace = true starknet-types-core.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils", optional = true } +papyrus_test_utils = { workspace = true, optional = true } thiserror.workspace = true papyrus_common.workspace = true [dev-dependencies] rand.workspace = true rand_chacha.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true [build-dependencies] prost-build.workspace = true diff --git a/crates/papyrus_rpc/Cargo.toml b/crates/papyrus_rpc/Cargo.toml index 9c69105a83..4846280829 100644 --- a/crates/papyrus_rpc/Cargo.toml +++ b/crates/papyrus_rpc/Cargo.toml @@ -50,7 +50,7 @@ metrics-exporter-prometheus.workspace = true mockall.workspace = true papyrus_execution = { path = "../papyrus_execution", features = ["testing"] } papyrus_storage = { workspace = true, features = ["testing"] } -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true pretty_assertions.workspace = true prometheus-parse.workspace = true rand.workspace = true diff --git a/crates/papyrus_storage/Cargo.toml b/crates/papyrus_storage/Cargo.toml index 26689fe800..099104a924 100644 --- a/crates/papyrus_storage/Cargo.toml +++ b/crates/papyrus_storage/Cargo.toml @@ -61,7 +61,7 @@ camelpaste.workspace = true insta = { workspace = true, features = ["yaml"] } metrics-exporter-prometheus.workspace = true num-traits.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true paste.workspace = true pretty_assertions.workspace = true prometheus-parse.workspace = true diff --git a/crates/papyrus_sync/Cargo.toml b/crates/papyrus_sync/Cargo.toml index 72229d05c1..34bf5080ee 100644 --- a/crates/papyrus_sync/Cargo.toml +++ b/crates/papyrus_sync/Cargo.toml @@ -34,7 +34,7 @@ tracing.workspace = true assert_matches.workspace = true mockall.workspace = true papyrus_storage = { workspace = true, features = ["testing"] } -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true pretty_assertions.workspace = true simple_logger.workspace = true starknet_api = { workspace = true, features = ["testing"] } diff --git a/crates/sequencing/papyrus_block_builder/Cargo.toml b/crates/sequencing/papyrus_block_builder/Cargo.toml index d270dd0e8b..163943ec66 100644 --- a/crates/sequencing/papyrus_block_builder/Cargo.toml +++ b/crates/sequencing/papyrus_block_builder/Cargo.toml @@ -13,5 +13,5 @@ thiserror.workspace = true tracing.workspace = true [dev-dependencies] -papyrus_test_utils = { path = "../../papyrus_test_utils" } +papyrus_test_utils.workspace = true pretty_assertions.workspace = true diff --git a/crates/sequencing/papyrus_consensus/Cargo.toml b/crates/sequencing/papyrus_consensus/Cargo.toml index dd90b9cff9..1567e5b653 100644 --- a/crates/sequencing/papyrus_consensus/Cargo.toml +++ b/crates/sequencing/papyrus_consensus/Cargo.toml @@ -28,5 +28,5 @@ papyrus_network = { path = "../../papyrus_network", version = "0.4.0-dev.2", fea "testing", ] } papyrus_storage = { workspace = true, features = ["testing"] } -papyrus_test_utils = { path = "../../papyrus_test_utils" } +papyrus_test_utils.workspace = true test-case.workspace = true diff --git a/crates/starknet_client/Cargo.toml b/crates/starknet_client/Cargo.toml index d006e9fd23..6b6632f3a5 100644 --- a/crates/starknet_client/Cargo.toml +++ b/crates/starknet_client/Cargo.toml @@ -29,7 +29,7 @@ starknet_api.workspace = true starknet-types-core = { workspace = true, features = ["serde"] } strum.workspace = true strum_macros.workspace = true -papyrus_test_utils = { path = "../papyrus_test_utils", optional = true } +papyrus_test_utils = { workspace = true, optional = true } thiserror.workspace = true tokio = { workspace = true, features = ["full", "sync"] } tokio-retry.workspace = true @@ -46,7 +46,7 @@ rand_chacha.workspace = true pretty_assertions.workspace = true simple_logger.workspace = true starknet_api = { workspace = true, features = ["testing"] } -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_test_utils.workspace = true [package.metadata.cargo-machete] # The `rand` and `rand_chacha` crates are used in the `testing` feature, which is optional.