Skip to content

Commit

Permalink
chore(ci): move starknet_api 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 ad16234 commit 66ce3f2
Show file tree
Hide file tree
Showing 23 changed files with 28 additions and 27 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ 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" }
static_assertions = "1.1.0"
statistical = "1.0.0"
strum = "0.25.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/blockifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/committer_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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_api.workspace = true
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" }
Expand Down
4 changes: 2 additions & 2 deletions crates/mempool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workspace = true
[dependencies]
async-trait.workspace = true
derive_more.workspace = true
starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0" }
starknet_api.workspace = true
starknet_mempool_infra = { path = "../mempool_infra", version = "0.0" }
starknet_mempool_types = { path = "../mempool_types", version = "0.0" }
tokio.workspace = true
Expand All @@ -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
2 changes: 1 addition & 1 deletion crates/mempool_test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ assert_matches.workspace = true
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
2 changes: 1 addition & 1 deletion crates/mempool_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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_api.workspace = true
starknet_mempool_infra = { path = "../mempool_infra" }
thiserror.workspace = true
2 changes: 1 addition & 1 deletion crates/native_blockifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ 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]
Expand Down
4 changes: 2 additions & 2 deletions crates/papyrus_base_layer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"] }
2 changes: 1 addition & 1 deletion crates/papyrus_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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]
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 @@ -25,7 +25,7 @@ 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 }
thiserror.workspace = true
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 @@ -39,7 +39,7 @@ papyrus_sync = { path = "../papyrus_sync", version = "0.4.0-rc.0" }
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_api = { workspace = true, features = ["testing"] }
starknet_client = { path = "../starknet_client" }
strum.workspace = true
tokio = { workspace = true, features = ["full", "sync"] }
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 @@ -19,7 +19,7 @@ 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" }
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
Expand Down
2 changes: 1 addition & 1 deletion crates/papyrus_protobuf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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 }
thiserror.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/papyrus_rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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_api.workspace = true
starknet_client = { path = "../starknet_client", version = "0.4.0-rc.0" }
tokio = { workspace = true, features = ["full", "sync"] }
tower = { workspace = true, features = ["full"] }
Expand Down Expand Up @@ -57,7 +57,7 @@ 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_api = { workspace = true, features = ["testing"] }
starknet_client = { path = "../starknet_client", features = ["testing"] }
strum.workspace = true
strum_macros.workspace = true
2 changes: 1 addition & 1 deletion crates/papyrus_storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ 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"] }
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 @@ -24,7 +24,7 @@ papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" }
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_api.workspace = true
starknet_client = { path = "../starknet_client" }
thiserror.workspace = true
tokio = { workspace = true, features = ["full", "sync"] }
Expand All @@ -37,6 +37,6 @@ papyrus_storage = { path = "../papyrus_storage", features = ["testing"] }
papyrus_test_utils = { path = "../papyrus_test_utils" }
pretty_assertions.workspace = true
simple_logger.workspace = true
starknet_api = { path = "../starknet_api", version = "0.13.0-rc.0", features = ["testing"] }
starknet_api = { workspace = true, features = ["testing"] }
starknet_client = { path = "../starknet_client", features = ["testing"] }
tokio-stream.workspace = true
2 changes: 1 addition & 1 deletion crates/papyrus_test_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 @@ -8,7 +8,7 @@ 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" }
starknet_api.workspace = true
thiserror.workspace = true
tracing.workspace = true

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 @@ -17,7 +17,7 @@ papyrus_protobuf = { path = "../../papyrus_protobuf", version = "0.4.0-dev.2" }
papyrus_storage = { path = "../../papyrus_storage", version = "0.4.0-dev.2" }
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
Expand Down
4 changes: 2 additions & 2 deletions crates/starknet_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ 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
Expand All @@ -45,7 +45,7 @@ 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"] }
starknet_api = { workspace = true, features = ["testing"] }
papyrus_test_utils = { path = "../papyrus_test_utils" }

[package.metadata.cargo-machete]
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet_sierra_compile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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]
Expand Down
2 changes: 1 addition & 1 deletion crates/tests-integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ papyrus_storage = { path = "../papyrus_storage", version = "0.4.0-rc.0" }
reqwest.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
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" }
Expand Down

0 comments on commit 66ce3f2

Please sign in to comment.