Skip to content

Commit

Permalink
chore(ci): move papyrus_config dep to root toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dorimedini-starkware committed Aug 1, 2024
1 parent 2b181fb commit 20ad53b
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ num-traits = "0.2.15"
once_cell = "1.19.0"
os_info = "3.6.0"
page_size = "0.6.0"
papyrus_config = { path = "crates/papyrus_config", 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/gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cairo-vm.workspace = true
hyper.workspace = true
mempool_test_utils = { path = "../mempool_test_utils", version = "0.0" }
num-traits.workspace = true
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
papyrus_rpc = { path = "../papyrus_rpc", version = "0.4.0-rc.0" }
reqwest.workspace = true
serde.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/mempool_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ anyhow.workspace = true
clap.workspace = true
const_format.workspace = true
futures.workspace = true
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
serde.workspace = true
starknet_gateway = { path = "../gateway", version = "0.0" }
starknet_mempool = { path = "../mempool", version = "0.0" }
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_base_layer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license-file.workspace = true
[dependencies]
async-trait.workspace = true
ethers.workspace = true
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
rustc-hex.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_execution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ itertools.workspace = true
lazy_static.workspace = true
once_cell.workspace = true
papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" }
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" }
rand = { workspace = true, optional = true }
rand_chacha = { workspace = true, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_monitoring_gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ axum.workspace = true
hyper = { workspace = true, features = ["full"] }
metrics-exporter-prometheus = { version = "0.12.1" }
metrics-process = { version = "1.0.11" }
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" }
rand.workspace = true
serde = { workspace = true, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ libp2p = { workspace = true, features = [
] }
metrics.workspace = true
papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" }
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
replace_with.workspace = true
serde = { workspace = true, features = ["derive"] }
thiserror.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/papyrus_node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
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" }
Expand All @@ -43,8 +43,8 @@ starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = [
starknet_client = { path = "../starknet_client" }
strum.workspace = true
tokio = { workspace = true, features = ["full", "sync"] }
tracing.workspace = true
tracing-subscriber = { workspace = true, features = ["env-filter"] }
tracing.workspace = true
validator = { workspace = true, features = ["derive"] }

# Binaries dependencies
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_p2p_sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ indexmap.workspace = true
lazy_static.workspace = true
metrics.workspace = true
papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" }
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
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" }
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 @@ -19,7 +19,7 @@ jsonrpsee = { workspace = true, features = ["full"] }
lazy_static.workspace = true
metrics.workspace = true
papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" }
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
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" }
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 @@ -35,7 +35,7 @@ metrics.workspace = true
num-bigint.workspace = true
page_size.workspace = true
papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" }
papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
papyrus_proc_macros = { path = "../papyrus_proc_macros", version = "0.4.0-rc.0" }
parity-scale-codec.workspace = true
primitive-types.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/papyrus_sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ async-stream.workspace = true
async-trait.workspace = true
cairo-lang-starknet-classes.workspace = true
chrono.workspace = true
futures.workspace = true
futures-util.workspace = true
futures.workspace = true
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_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
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" }
reqwest = { workspace = true, features = ["blocking", "json"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/sequencing/papyrus_consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async-trait.workspace = true
futures.workspace = true
metrics.workspace = true
papyrus_common = { path = "../../papyrus_common", version = "0.4.0-dev.2" }
papyrus_config = { path = "../../papyrus_config", version = "0.4.0-dev.2" }
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" }
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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_config = { path = "../papyrus_config", version = "0.4.0-rc.0" }
papyrus_config.workspace = true
rand = { workspace = true, optional = true }
rand_chacha = { workspace = true, optional = true }
reqwest = { workspace = true, features = ["blocking", "json"] }
Expand Down

0 comments on commit 20ad53b

Please sign in to comment.