Skip to content

Commit

Permalink
chore(katana): use deps from workspace (#1795)
Browse files Browse the repository at this point in the history
* chore: use `jsonrpsee` from workspace

* chore clean up more deps
  • Loading branch information
kariy authored Apr 8, 2024
1 parent 297a44c commit f0637f9
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion crates/dojo-test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cairo-lang-starknet.workspace = true
camino.workspace = true
dojo-lang = { path = "../dojo-lang" }
dojo-world = { path = "../dojo-world", features = [ "manifest", "migration" ] }
jsonrpsee = { version = "0.16.2", features = [ "server" ] }
jsonrpsee = { workspace = true, features = [ "server" ] }
katana-core = { path = "../katana/core" }
katana-executor = { workspace = true, features = [ "blockifier" ] }
katana-primitives = { path = "../katana/primitives" }
Expand Down
6 changes: 3 additions & 3 deletions crates/katana/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ repository.workspace = true
version.workspace = true

[dependencies]
katana-db = { path = "../storage/db" }
katana-db.workspace = true
katana-executor.workspace = true
katana-primitives = { path = "../primitives" }
katana-provider = { path = "../storage/provider" }
katana-primitives.workspace = true
katana-provider.workspace = true
katana-tasks.workspace = true

anyhow.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions crates/katana/rpc/rpc-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
katana-core = { path = "../../core" }
katana-primitives = { path = "../../primitives" }
katana-rpc-types = { path = "../rpc-types" }
katana-core.workspace = true
katana-primitives.workspace = true
katana-rpc-types.workspace = true

jsonrpsee = { workspace = true, features = [ "macros", "server" ] }
starknet.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions crates/katana/rpc/rpc-types-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
katana-executor = { path = "../../executor" }
katana-primitives = { path = "../../primitives" }
katana-provider = { path = "../../storage/provider" }
katana-rpc-types = { path = "../rpc-types" }
katana-executor.workspace = true
katana-primitives.workspace = true
katana-provider.workspace = true
katana-rpc-types.workspace = true

anyhow.workspace = true
starknet.workspace = true
8 changes: 4 additions & 4 deletions crates/katana/rpc/rpc-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
katana-core = { path = "../../core" }
katana-core.workspace = true
katana-executor.workspace = true
katana-primitives = { path = "../../primitives" }
katana-provider = { path = "../../storage/provider" }
katana-primitives.workspace = true
katana-provider.workspace = true

anyhow.workspace = true
derive_more.workspace = true
futures.workspace = true
jsonrpsee = { workspace = true, features = [ "macros", "server" ] }
jsonrpsee = { workspace = true, features = [ "server" ] }
serde.workspace = true
serde_json.workspace = true
serde_with.workspace = true
Expand Down
24 changes: 12 additions & 12 deletions crates/katana/rpc/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,21 @@ version.workspace = true

[dependencies]
dojo-metrics.workspace = true
katana-core = { path = "../../core" }
katana-executor = { path = "../../executor" }
katana-primitives = { path = "../../primitives" }
katana-provider = { path = "../../storage/provider" }
katana-rpc-api = { path = "../rpc-api" }
katana-rpc-types = { path = "../rpc-types" }
katana-rpc-types-builder = { path = "../rpc-types-builder" }
katana-tasks = { path = "../../tasks" }
katana-core.workspace = true
katana-executor.workspace = true
katana-primitives.workspace = true
katana-provider.workspace = true
katana-rpc-api.workspace = true
katana-rpc-types-builder.workspace = true
katana-rpc-types.workspace = true
katana-tasks.workspace = true

anyhow.workspace = true
cairo-lang-starknet = "2.3.1"
flate2.workspace = true
futures.workspace = true
hex = { version = "0.4.3", default-features = false }
hyper = "0.14.20"
jsonrpsee = { version = "0.16.2", features = [ "macros", "server" ] }
jsonrpsee = { workspace = true, features = [ "server" ] }
metrics.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand All @@ -38,7 +37,8 @@ tracing.workspace = true

[dev-dependencies]
assert_matches = "1.5.0"
dojo-test-utils = { path = "../../../dojo-test-utils" }
jsonrpsee = { version = "0.16.2", features = [ "client" ] }
cairo-lang-starknet.workspace = true
dojo-test-utils.workspace = true
jsonrpsee = { workspace = true, features = [ "client" ] }
katana-rpc-api = { workspace = true, features = [ "client" ] }
url.workspace = true
2 changes: 1 addition & 1 deletion crates/katana/storage/codecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ version.workspace = true

[dependencies]
bytes = "1.5.0"
katana-primitives = { path = "../../primitives" }
katana-primitives.workspace = true
4 changes: 2 additions & 2 deletions crates/katana/storage/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
katana-primitives = { path = "../../primitives" }
katana-primitives = { workspace = true }

anyhow.workspace = true
page_size = "0.6.0"
Expand All @@ -18,8 +18,8 @@ tempfile = { version = "3.8.1", optional = true }
thiserror.workspace = true

cairo-vm.workspace = true
roaring = { version = "0.10.3", features = [ "serde" ] }
starknet_api.workspace = true
roaring = { version = "0.10.3", features = ["serde"] }

# codecs
[dependencies.postcard]
Expand Down
6 changes: 3 additions & 3 deletions crates/katana/storage/provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
katana-db = { path = "../db", features = [ "test-utils" ] }
katana-primitives = { path = "../../primitives", features = [ "rpc" ] }
katana-db = { workspace = true, features = [ "test-utils" ] }
katana-primitives = { workspace = true, features = [ "rpc" ] }

anyhow.workspace = true
auto_impl = "1.2.0"
Expand All @@ -27,7 +27,7 @@ fork = [ "dep:futures", "dep:starknet", "dep:tokio", "in-memory" ]
in-memory = [ ]

[dev-dependencies]
katana-core = { path = "../../core" }
katana-core.workspace = true
katana-runner.workspace = true
lazy_static.workspace = true
rand = "0.8.5"
Expand Down

0 comments on commit f0637f9

Please sign in to comment.