diff --git a/Cargo.toml b/Cargo.toml index 9fe9e389f0..4a2149f425 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,6 +63,7 @@ base64 = "0.13.0" bincode = "1.3.3" bisection = "0.1.0" bitvec = "1.0.1" +blockifier = { path = "crates/blockifier", version = "0.8.0-rc.0" } byteorder = "1.4.3" bytes = "1" cached = "0.44.0" @@ -77,6 +78,7 @@ camelpaste = "0.1.0" chrono = "0.4.26" clap = "4.3.10" colored = "2.1.0" +committer = { path = "crates/committer", version = "0.1.0-rc.0" } const_format = "0.2.30" criterion = "0.3" deadqueue = "0.2.4" @@ -108,6 +110,7 @@ libp2p-swarm-test = "0.3.0" log = "0.4" lru = "0.12.0" memmap2 = "0.8.0" +mempool_test_utils = { path = "crates/mempool_test_utils", version = "0.0" } metrics = "0.21.0" metrics-exporter-prometheus = "0.12.1" mockall = "0.12.1" @@ -118,7 +121,20 @@ num-traits = "0.2.15" once_cell = "1.19.0" os_info = "3.6.0" page_size = "0.6.0" +papyrus_base_layer = { path = "crates/papyrus_base_layer", version = "0.4.0-rc.0" } +papyrus_common = { path = "crates/papyrus_common", version = "0.4.0-rc.0" } papyrus_config = { path = "crates/papyrus_config", version = "0.4.0-rc.0" } +papyrus_consensus = { path = "crates/sequencing/papyrus_consensus", version = "0.4.0-rc.0" } +papyrus_execution = { path = "crates/papyrus_execution", version = "0.4.0-rc.0" } +papyrus_monitoring_gateway = { path = "crates/papyrus_monitoring_gateway", version = "0.4.0-rc.0" } +papyrus_network = { path = "crates/papyrus_network", version = "0.4.0-rc.0" } +papyrus_p2p_sync = { path = "crates/papyrus_p2p_sync", version = "0.4.0-rc.0" } +papyrus_proc_macros = { path = "crates/papyrus_proc_macros", version = "0.4.0-rc.0" } +papyrus_protobuf = { path = "crates/papyrus_protobuf", 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_sync = { path = "crates/papyrus_sync", 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" @@ -151,6 +167,15 @@ simplelog = "0.12.2" starknet-core = "0.6.0" starknet-crypto = "0.5.1" starknet-types-core = { version = "0.1.5", features = ["hash", "prime-bigint", "std"] } +starknet_api = { path = "crates/starknet_api", version = "0.13.0-rc.0" } +starknet_client = { path = "crates/starknet_client", version = "0.4.0-rc.0" } +starknet_gateway = { path = "crates/gateway", version = "0.0" } +starknet_mempool = { path = "crates/mempool", version = "0.0" } +starknet_mempool_infra = { path = "crates/mempool_infra", version = "0.0" } +starknet_mempool_node = { path = "crates/mempool_node", version = "0.0" } +starknet_mempool_types = { path = "crates/mempool_types", version = "0.0" } +starknet_sierra_compile = { path = "crates/starknet_sierra_compile", version = "0.0" } +starknet_task_executor = { path = "crates/task_executor", version = "0.0" } static_assertions = "1.1.0" statistical = "1.0.0" strum = "0.25.0" diff --git a/crates/blockifier/Cargo.toml b/crates/blockifier/Cargo.toml index a3395538e1..d80abd865d 100644 --- a/crates/blockifier/Cargo.toml +++ b/crates/blockifier/Cargo.toml @@ -47,7 +47,7 @@ serde_json = { workspace = true, features = ["arbitrary_precision"] } sha2.workspace = true sha3.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } +starknet_api = { workspace = true, features = ["testing"] } strum.workspace = true strum_macros.workspace = true thiserror.workspace = true diff --git a/crates/committer_cli/Cargo.toml b/crates/committer_cli/Cargo.toml index 70dec1303e..eec3cc99ec 100644 --- a/crates/committer_cli/Cargo.toml +++ b/crates/committer_cli/Cargo.toml @@ -17,7 +17,7 @@ tempfile.workspace = true [dependencies] clap = { version = "4.5.4", features = ["cargo", "derive"] } -committer = { path = "../committer", features = ["testing"] } +committer = { workspace = true, features = ["testing"] } derive_more.workspace = true ethnum.workspace = true indexmap.workspace = true @@ -29,7 +29,7 @@ serde_json = "1.0.116" serde_repr = "0.1.19" simplelog.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true strum.workspace = true strum_macros.workspace = true thiserror.workspace = true diff --git a/crates/gateway/Cargo.toml b/crates/gateway/Cargo.toml index 04820f4066..6d275ad32f 100644 --- a/crates/gateway/Cargo.toml +++ b/crates/gateway/Cargo.toml @@ -14,22 +14,22 @@ testing = [] [dependencies] async-trait.workspace = true axum.workspace = true -blockifier = { path = "../blockifier", version = "0.8.0-rc.0", features = ["testing"] } +blockifier = { workspace = true, features = ["testing"] } cairo-lang-starknet-classes.workspace = true cairo-vm.workspace = true hyper.workspace = true -mempool_test_utils = { path = "../mempool_test_utils", version = "0.0" } +mempool_test_utils.workspace = true num-traits.workspace = true papyrus_config.workspace = true -papyrus_rpc = { path = "../papyrus_rpc", version = "0.4.0-rc.0" } +papyrus_rpc.workspace = true reqwest.workspace = true serde.workspace = true serde_json.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } -starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" } -starknet_mempool_types = { path = "../mempool_types", version = "0.0" } -starknet_sierra_compile = { path = "../starknet_sierra_compile", version = "0.0" } +starknet_api.workspace = true +starknet_mempool_infra.workspace = true +starknet_mempool_types.workspace = true +starknet_sierra_compile.workspace = true thiserror.workspace = true tokio.workspace = true tracing.workspace = true @@ -42,4 +42,4 @@ mockito = "1.4.0" num-bigint.workspace = true pretty_assertions.workspace = true rstest.workspace = true -starknet_mempool = { path = "../mempool", version = "0.0" } +starknet_mempool.workspace = true diff --git a/crates/mempool/Cargo.toml b/crates/mempool/Cargo.toml index 4c48c6fc11..07a94a8816 100644 --- a/crates/mempool/Cargo.toml +++ b/crates/mempool/Cargo.toml @@ -11,9 +11,9 @@ workspace = true [dependencies] async-trait.workspace = true derive_more.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } -starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" } -starknet_mempool_types = { path = "../mempool_types", version = "0.0" } +starknet_api.workspace = true +starknet_mempool_infra.workspace = true +starknet_mempool_types.workspace = true tokio.workspace = true [dev-dependencies] @@ -22,5 +22,5 @@ itertools.workspace = true pretty_assertions.workspace = true rstest.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } +starknet_api = { workspace = true, features = ["testing"] } tokio.workspace = true diff --git a/crates/mempool_node/Cargo.toml b/crates/mempool_node/Cargo.toml index 252e361bc7..aa73ca92ff 100644 --- a/crates/mempool_node/Cargo.toml +++ b/crates/mempool_node/Cargo.toml @@ -15,10 +15,10 @@ const_format.workspace = true futures.workspace = true papyrus_config.workspace = true serde.workspace = true -starknet_gateway = { path = "../gateway", version = "0.0" } -starknet_mempool = { path = "../mempool", version = "0.0" } -starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" } -starknet_mempool_types = { path = "../mempool_types", version = "0.0" } +starknet_gateway.workspace = true +starknet_mempool.workspace = true +starknet_mempool_infra.workspace = true +starknet_mempool_types.workspace = true tokio.workspace = true tracing.workspace = true validator.workspace = true @@ -27,6 +27,6 @@ validator.workspace = true assert-json-diff.workspace = true assert_matches.workspace = true colored.workspace = true -mempool_test_utils = { path = "../mempool_test_utils" } +mempool_test_utils.workspace = true pretty_assertions.workspace = true serde_json.workspace = true diff --git a/crates/mempool_test_utils/Cargo.toml b/crates/mempool_test_utils/Cargo.toml index 5ec0f40f11..3e2a6e44ea 100644 --- a/crates/mempool_test_utils/Cargo.toml +++ b/crates/mempool_test_utils/Cargo.toml @@ -9,7 +9,7 @@ license.workspace = true [dependencies] assert_matches.workspace = true -blockifier = { path = "../blockifier", version = "0.8.0-rc.0", features = ["testing"] } +blockifier = { workspace = true, features = ["testing"] } serde_json.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true diff --git a/crates/mempool_types/Cargo.toml b/crates/mempool_types/Cargo.toml index 2edcc3ec21..ab2c1e46fc 100644 --- a/crates/mempool_types/Cargo.toml +++ b/crates/mempool_types/Cargo.toml @@ -11,6 +11,6 @@ workspace = true [dependencies] async-trait.workspace = true mockall.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } -starknet_mempool_infra = { path = "../mempool_infra" } +starknet_api.workspace = true +starknet_mempool_infra.workspace = true thiserror.workspace = true diff --git a/crates/native_blockifier/Cargo.toml b/crates/native_blockifier/Cargo.toml index 46c7a8528b..37d59a8106 100644 --- a/crates/native_blockifier/Cargo.toml +++ b/crates/native_blockifier/Cargo.toml @@ -27,19 +27,19 @@ crate-type = ["cdylib"] [dependencies] # TODO(Dori, 1/1/2025): Add the "jemalloc" feature to the blockifier crate when possible. -blockifier = { path = "../blockifier", features = ["concurrency", "testing"] } +blockifier = { workspace = true, features = ["concurrency", "testing"] } cairo-lang-starknet-classes.workspace = true cairo-vm.workspace = true indexmap.workspace = true log.workspace = true num-bigint.workspace = true -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0", features = ["testing"] } +papyrus_storage = { workspace = true, features = ["testing"] } pyo3 = { workspace = true, features = ["hashbrown", "num-bigint"] } pyo3-log.workspace = true serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } +starknet_api = { workspace = true, features = ["testing"] } thiserror.workspace = true [dev-dependencies] diff --git a/crates/papyrus_base_layer/Cargo.toml b/crates/papyrus_base_layer/Cargo.toml index e8b9a48ada..9a9cf8e899 100644 --- a/crates/papyrus_base_layer/Cargo.toml +++ b/crates/papyrus_base_layer/Cargo.toml @@ -12,7 +12,7 @@ papyrus_config.workspace = true rustc-hex.workspace = true serde.workspace = true serde_json.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["full", "sync"] } url.workspace = true @@ -21,7 +21,7 @@ url.workspace = true ethers-core = { version = "2.0.3" } pretty_assertions.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } +starknet_api = { workspace = true, features = ["testing"] } tar = { version = "0.4.38" } tempfile.workspace = true test-with = { version = "0.9.3", default-features = false, features = ["executable"] } diff --git a/crates/papyrus_common/Cargo.toml b/crates/papyrus_common/Cargo.toml index aca3b30686..db3c7015ce 100644 --- a/crates/papyrus_common/Cargo.toml +++ b/crates/papyrus_common/Cargo.toml @@ -17,11 +17,11 @@ serde.workspace = true serde_json.workspace = true sha3.workspace = true starknet-types-core = { workspace = true, features = ["hash"] } -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true 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 182e747ed6..fbfff50d3c 100644 --- a/crates/papyrus_execution/Cargo.toml +++ b/crates/papyrus_execution/Cargo.toml @@ -11,23 +11,23 @@ testing = ["papyrus_test_utils", "rand", "rand_chacha"] [dependencies] anyhow.workspace = true -blockifier = { path = "../blockifier", version = "0.8.0-rc.0" } +blockifier.workspace = true cairo-lang-starknet-classes.workspace = true cairo-vm.workspace = true indexmap.workspace = true itertools.workspace = true lazy_static.workspace = true once_cell.workspace = true -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_common.workspace = true papyrus_config.workspace = true -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" } +papyrus_storage.workspace = true rand = { workspace = true, optional = true } rand_chacha = { workspace = true, optional = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +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 @@ -36,11 +36,11 @@ assert_matches.workspace = true cairo-lang-casm.workspace = true cairo-lang-utils.workspace = true indexmap = { workspace = true, features = ["serde"] } -papyrus_storage = { path = "../papyrus_storage", features = ["testing"] } +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_monitoring_gateway/Cargo.toml b/crates/papyrus_monitoring_gateway/Cargo.toml index 3b8e209c6d..fd0a325b2b 100644 --- a/crates/papyrus_monitoring_gateway/Cargo.toml +++ b/crates/papyrus_monitoring_gateway/Cargo.toml @@ -11,11 +11,11 @@ hyper = { workspace = true, features = ["full"] } metrics-exporter-prometheus = { version = "0.12.1" } metrics-process = { version = "1.0.11" } papyrus_config.workspace = true -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" } +papyrus_storage.workspace = true rand.workspace = true serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } -starknet_client = { path = "../starknet_client" } +starknet_client.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["full", "sync"] } tracing.workspace = true @@ -24,7 +24,7 @@ validator = { workspace = true, features = ["derive"] } [dev-dependencies] http-body = { version = "0.4.5" } metrics.workspace = true -papyrus_storage = { path = "../papyrus_storage", features = ["testing"] } +papyrus_storage = { workspace = true, features = ["testing"] } pretty_assertions.workspace = true -starknet_client = { path = "../starknet_client", features = ["testing"] } +starknet_client = { workspace = true, features = ["testing"] } tower = { workspace = true, features = ["util"] } diff --git a/crates/papyrus_network/Cargo.toml b/crates/papyrus_network/Cargo.toml index a4472aba8d..9869ed9193 100644 --- a/crates/papyrus_network/Cargo.toml +++ b/crates/papyrus_network/Cargo.toml @@ -33,7 +33,7 @@ libp2p = { workspace = true, features = [ "yamux", ] } metrics.workspace = true -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_common.workspace = true papyrus_config.workspace = true replace_with.workspace = true serde = { workspace = true, features = ["derive"] } diff --git a/crates/papyrus_node/Cargo.toml b/crates/papyrus_node/Cargo.toml index 92d3419ead..c37e34bcf9 100644 --- a/crates/papyrus_node/Cargo.toml +++ b/crates/papyrus_node/Cargo.toml @@ -25,22 +25,22 @@ futures.workspace = true itertools.workspace = true lazy_static.workspace = true once_cell.workspace = true -papyrus_base_layer = { path = "../papyrus_base_layer", version = "0.4.0-rc.0" } -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_base_layer.workspace = true +papyrus_common.workspace = true papyrus_config.workspace = true -papyrus_consensus = { path = "../sequencing/papyrus_consensus", version = "0.4.0-rc.0" } -papyrus_monitoring_gateway = { path = "../papyrus_monitoring_gateway", version = "0.4.0-rc.0" } -papyrus_network = { path = "../papyrus_network", version = "0.4.0-rc.0" } -papyrus_p2p_sync = { path = "../papyrus_p2p_sync", version = "0.4.0-rc.0" } -papyrus_protobuf = { path = "../papyrus_protobuf", version = "0.4.0-rc.0" } -papyrus_rpc = { path = "../papyrus_rpc", version = "0.4.0-rc.0", optional = true } -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" } -papyrus_sync = { path = "../papyrus_sync", version = "0.4.0-rc.0" } +papyrus_consensus.workspace = true +papyrus_monitoring_gateway.workspace = true +papyrus_network.workspace = true +papyrus_p2p_sync.workspace = true +papyrus_protobuf.workspace = true +papyrus_rpc = { workspace = true, optional = true } +papyrus_storage.workspace = true +papyrus_sync.workspace = true reqwest = { workspace = true, features = ["blocking", "json"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } -starknet_client = { path = "../starknet_client" } +starknet_api = { workspace = true, features = ["testing"] } +starknet_client.workspace = true strum.workspace = true tokio = { workspace = true, features = ["full", "sync"] } tracing.workspace = true @@ -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 5c7cf77318..12b62e4e74 100644 --- a/crates/papyrus_p2p_sync/Cargo.toml +++ b/crates/papyrus_p2p_sync/Cargo.toml @@ -12,14 +12,14 @@ futures.workspace = true indexmap.workspace = true lazy_static.workspace = true metrics.workspace = true -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_common.workspace = true papyrus_config.workspace = true -papyrus_network = { path = "../papyrus_network", version = "0.4.0-rc.0" } -papyrus_proc_macros = { path = "../papyrus_proc_macros", version = "0.4.0-rc.0" } -papyrus_protobuf = { path = "../papyrus_protobuf", version = "0.4.0-rc.0" } -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" } +papyrus_network.workspace = true +papyrus_proc_macros.workspace = true +papyrus_protobuf.workspace = true +papyrus_storage.workspace = true serde.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true starknet-types-core.workspace = true thiserror.workspace = true tokio.workspace = true @@ -29,12 +29,12 @@ tracing.workspace = true [dev-dependencies] assert_matches.workspace = true lazy_static.workspace = true -papyrus_storage = { path = "../papyrus_storage", features = ["testing"] } +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_protobuf = { path = "../papyrus_protobuf", features = ["testing"] } +papyrus_test_utils.workspace = true +papyrus_protobuf = { workspace = true, features = ["testing"] } # The `metrics` crate is used by `latency_histogram` proc macro, which is used in this crate. [package.metadata.cargo-machete] diff --git a/crates/papyrus_proc_macros/Cargo.toml b/crates/papyrus_proc_macros/Cargo.toml index 6b39f41d91..da3d40544f 100644 --- a/crates/papyrus_proc_macros/Cargo.toml +++ b/crates/papyrus_proc_macros/Cargo.toml @@ -13,8 +13,8 @@ syn = { version = "2.0.39", features = ["full"] } [dev-dependencies] metrics.workspace = true metrics-exporter-prometheus.workspace = true -papyrus_common = { path = "../papyrus_common", version = "0.4.0-dev.1" } -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_common.workspace = true +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 703d10d11c..7490af9f67 100644 --- a/crates/papyrus_protobuf/Cargo.toml +++ b/crates/papyrus_protobuf/Cargo.toml @@ -15,16 +15,16 @@ primitive-types.workspace = true prost.workspace = true rand = { workspace = true, optional = true } rand_chacha = { workspace = true, optional = true } -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +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 = { path = "../papyrus_common", version = "0.4.0-dev.2" } +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 167fda2fd5..4d37f468e9 100644 --- a/crates/papyrus_rpc/Cargo.toml +++ b/crates/papyrus_rpc/Cargo.toml @@ -18,17 +18,17 @@ hyper = { workspace = true, features = ["full"] } jsonrpsee = { workspace = true, features = ["full"] } lazy_static.workspace = true metrics.workspace = true -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_common.workspace = true papyrus_config.workspace = true -papyrus_execution = { path = "../papyrus_execution", version = "0.4.0-rc.0" } -papyrus_proc_macros = { path = "../papyrus_proc_macros", version = "0.4.0-rc.0" } -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" } +papyrus_execution.workspace = true +papyrus_proc_macros.workspace = true +papyrus_storage.workspace = true regex = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } -starknet_client = { path = "../starknet_client", version = "0.4.0-rc.0" } +starknet_api.workspace = true +starknet_client.workspace = true tokio = { workspace = true, features = ["full", "sync"] } tower = { workspace = true, features = ["full"] } tracing.workspace = true @@ -48,16 +48,16 @@ jsonschema.workspace = true lazy_static.workspace = true metrics-exporter-prometheus.workspace = true mockall.workspace = true -papyrus_execution = { path = "../papyrus_execution", features = ["testing"] } -papyrus_storage = { path = "../papyrus_storage", features = ["testing"] } -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_execution = { workspace = true, features = ["testing"] } +papyrus_storage = { workspace = true, features = ["testing"] } +papyrus_test_utils.workspace = true pretty_assertions.workspace = true prometheus-parse.workspace = true rand.workspace = true rand_chacha.workspace = true reqwest.workspace = true starknet-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } -starknet_client = { path = "../starknet_client", features = ["testing"] } +starknet_api = { workspace = true, features = ["testing"] } +starknet_client = { workspace = true, features = ["testing"] } strum.workspace = true strum_macros.workspace = true diff --git a/crates/papyrus_storage/Cargo.toml b/crates/papyrus_storage/Cargo.toml index 5560fb3edf..099104a924 100644 --- a/crates/papyrus_storage/Cargo.toml +++ b/crates/papyrus_storage/Cargo.toml @@ -34,15 +34,15 @@ memmap2.workspace = true metrics.workspace = true num-bigint.workspace = true page_size.workspace = true -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_common.workspace = true papyrus_config.workspace = true -papyrus_proc_macros = { path = "../papyrus_proc_macros", version = "0.4.0-rc.0" } +papyrus_proc_macros.workspace = true parity-scale-codec.workspace = true primitive-types.workspace = true serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } starknet-types-core = { workspace = true, features = ["papyrus-serialization"] } -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true tempfile = { workspace = true, optional = true } thiserror.workspace = true tracing = { workspace = true, features = ["log"] } @@ -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 f1f444b1df..34bf5080ee 100644 --- a/crates/papyrus_sync/Cargo.toml +++ b/crates/papyrus_sync/Cargo.toml @@ -16,16 +16,16 @@ indexmap = { workspace = true, features = ["serde"] } itertools.workspace = true lru.workspace = true metrics.workspace = true -papyrus_base_layer = { path = "../papyrus_base_layer", version = "0.4.0-rc.0" } -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_base_layer.workspace = true +papyrus_common.workspace = true papyrus_config.workspace = true -papyrus_proc_macros = { path = "../papyrus_proc_macros", version = "0.4.0-rc.0" } -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" } +papyrus_proc_macros.workspace = true +papyrus_storage.workspace = true reqwest = { workspace = true, features = ["blocking", "json"] } serde = { workspace = true, features = ["derive"] } starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } -starknet_client = { path = "../starknet_client" } +starknet_api.workspace = true +starknet_client.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["full", "sync"] } tracing.workspace = true @@ -33,10 +33,10 @@ tracing.workspace = true [dev-dependencies] assert_matches.workspace = true mockall.workspace = true -papyrus_storage = { path = "../papyrus_storage", features = ["testing"] } -papyrus_test_utils = { path = "../papyrus_test_utils" } +papyrus_storage = { workspace = true, features = ["testing"] } +papyrus_test_utils.workspace = true pretty_assertions.workspace = true simple_logger.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } -starknet_client = { path = "../starknet_client", features = ["testing"] } +starknet_api = { workspace = true, features = ["testing"] } +starknet_client = { workspace = true, features = ["testing"] } tokio-stream.workspace = true diff --git a/crates/papyrus_test_utils/Cargo.toml b/crates/papyrus_test_utils/Cargo.toml index 2f59bd7be8..aaeedc579e 100644 --- a/crates/papyrus_test_utils/Cargo.toml +++ b/crates/papyrus_test_utils/Cargo.toml @@ -21,7 +21,7 @@ reqwest = { workspace = true, features = ["json"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } starknet-types-core = { workspace = true, features = ["hash"] } -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } +starknet_api = { workspace = true, features = ["testing"] } [dev-dependencies] pretty_assertions.workspace = true diff --git a/crates/sequencing/papyrus_block_builder/Cargo.toml b/crates/sequencing/papyrus_block_builder/Cargo.toml index a38a5ba911..163943ec66 100644 --- a/crates/sequencing/papyrus_block_builder/Cargo.toml +++ b/crates/sequencing/papyrus_block_builder/Cargo.toml @@ -7,11 +7,11 @@ license-file.workspace = true description = "A block-builder for Starknet blocks" [dependencies] -papyrus_storage = { path = "../../papyrus_storage", version = "0.4.0-rc.0", features = ["testing"] } -starknet_api = { path = "../../starknet_api", version = "0.13.0-rc.0" } +papyrus_storage = { workspace = true, features = ["testing"] } +starknet_api.workspace = true 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 6304554e19..f9c075467c 100644 --- a/crates/sequencing/papyrus_consensus/Cargo.toml +++ b/crates/sequencing/papyrus_consensus/Cargo.toml @@ -10,23 +10,21 @@ description = "Reach consensus for Starknet" async-trait.workspace = true futures.workspace = true metrics.workspace = true -papyrus_common = { path = "../../papyrus_common", version = "0.4.0-dev.2" } +papyrus_common.workspace = true papyrus_config.workspace = true -papyrus_network = { path = "../../papyrus_network", version = "0.4.0-dev.2" } -papyrus_protobuf = { path = "../../papyrus_protobuf", version = "0.4.0-dev.2" } -papyrus_storage = { path = "../../papyrus_storage", version = "0.4.0-dev.2" } +papyrus_network.workspace = true +papyrus_protobuf.workspace = true +papyrus_storage.workspace = true serde = { workspace = true, features = ["derive"] } starknet-types-core.workspace = true -starknet_api = { path = "../../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["full"] } tracing.workspace = true [dev-dependencies] mockall.workspace = true -papyrus_network = { path = "../../papyrus_network", version = "0.4.0-dev.2", features = [ - "testing", -] } -papyrus_storage = { path = "../../papyrus_storage", features = ["testing"] } -papyrus_test_utils = { path = "../../papyrus_test_utils" } +papyrus_network = { workspace = true, features = ["testing"] } +papyrus_storage = { workspace = true, features = ["testing"] } +papyrus_test_utils.workspace = true test-case.workspace = true diff --git a/crates/starknet_client/Cargo.toml b/crates/starknet_client/Cargo.toml index 57ffe7db59..6b6632f3a5 100644 --- a/crates/starknet_client/Cargo.toml +++ b/crates/starknet_client/Cargo.toml @@ -17,7 +17,7 @@ http.workspace = true indexmap = { workspace = true, features = ["serde"] } mockall = { workspace = true, optional = true } os_info.workspace = true -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } +papyrus_common.workspace = true papyrus_config.workspace = true rand = { workspace = true, optional = true } rand_chacha = { workspace = true, optional = true } @@ -25,11 +25,11 @@ reqwest = { workspace = true, features = ["blocking", "json"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } serde_repr.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +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 @@ -45,8 +45,8 @@ rand.workspace = true rand_chacha.workspace = true pretty_assertions.workspace = true simple_logger.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] } -papyrus_test_utils = { path = "../papyrus_test_utils" } +starknet_api = { workspace = true, features = ["testing"] } +papyrus_test_utils.workspace = true [package.metadata.cargo-machete] # The `rand` and `rand_chacha` crates are used in the `testing` feature, which is optional. diff --git a/crates/starknet_sierra_compile/Cargo.toml b/crates/starknet_sierra_compile/Cargo.toml index 641eadbb4a..ce02f26f92 100644 --- a/crates/starknet_sierra_compile/Cargo.toml +++ b/crates/starknet_sierra_compile/Cargo.toml @@ -15,9 +15,9 @@ cairo-lang-utils.workspace = true serde.workspace = true serde_json.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } +starknet_api.workspace = true thiserror.workspace = true [dev-dependencies] assert_matches.workspace = true -mempool_test_utils = { path = "../mempool_test_utils" } +mempool_test_utils.workspace = true diff --git a/crates/tests-integration/Cargo.toml b/crates/tests-integration/Cargo.toml index 8bfc220c85..186bd4e73f 100644 --- a/crates/tests-integration/Cargo.toml +++ b/crates/tests-integration/Cargo.toml @@ -10,24 +10,24 @@ workspace = true [dependencies] axum.workspace = true -blockifier = { path = "../blockifier", version = "0.8.0-rc.0" } +blockifier.workspace = true cairo-lang-starknet-classes.workspace = true indexmap.workspace = true itertools.workspace = true -mempool_test_utils = { path = "../mempool_test_utils", version = "0.0" } -papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } -papyrus_rpc = { path = "../papyrus_rpc", version = "0.4.0-rc.0" } -papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" } +mempool_test_utils.workspace = true +papyrus_common.workspace = true +papyrus_rpc.workspace = true +papyrus_storage.workspace = true reqwest.workspace = true serde_json.workspace = true starknet-types-core.workspace = true -starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" } -starknet_client = { path = "../starknet_client", version = "0.4.0-rc.0" } -starknet_gateway = { path = "../gateway", version = "0.0", features = ["testing"] } -starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" } -starknet_mempool_node = { path = "../mempool_node", version = "0.0" } -starknet_mempool_types = { path = "../mempool_types", version = "0.0" } -starknet_task_executor = { path = "../task_executor", version = "0.0" } +starknet_api.workspace = true +starknet_client.workspace = true +starknet_gateway = { workspace = true, features = ["testing"] } +starknet_mempool_infra.workspace = true +starknet_mempool_node.workspace = true +starknet_mempool_types.workspace = true +starknet_task_executor.workspace = true strum.workspace = true tempfile.workspace = true tokio.workspace = true @@ -35,4 +35,4 @@ tokio.workspace = true [dev-dependencies] pretty_assertions.workspace = true rstest.workspace = true -starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" } +starknet_mempool_infra.workspace = true