Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): move papyrus_test_utils dep to root toml #271

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion crates/papyrus_config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions crates/papyrus_execution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion crates/papyrus_p2p_sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_proc_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions crates/papyrus_protobuf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/sequencing/papyrus_block_builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion crates/sequencing/papyrus_consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions crates/starknet_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
Loading