diff --git a/crates/dojo-test-utils/Cargo.toml b/crates/dojo-test-utils/Cargo.toml index 8cdbb727bf..af8e2a4313 100644 --- a/crates/dojo-test-utils/Cargo.toml +++ b/crates/dojo-test-utils/Cargo.toml @@ -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" } diff --git a/crates/katana/core/Cargo.toml b/crates/katana/core/Cargo.toml index d23fe3b517..aeb7c1af4e 100644 --- a/crates/katana/core/Cargo.toml +++ b/crates/katana/core/Cargo.toml @@ -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 diff --git a/crates/katana/rpc/rpc-api/Cargo.toml b/crates/katana/rpc/rpc-api/Cargo.toml index f9fac4650f..f385189a56 100644 --- a/crates/katana/rpc/rpc-api/Cargo.toml +++ b/crates/katana/rpc/rpc-api/Cargo.toml @@ -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 diff --git a/crates/katana/rpc/rpc-types-builder/Cargo.toml b/crates/katana/rpc/rpc-types-builder/Cargo.toml index a29f34ea29..d53783e828 100644 --- a/crates/katana/rpc/rpc-types-builder/Cargo.toml +++ b/crates/katana/rpc/rpc-types-builder/Cargo.toml @@ -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 diff --git a/crates/katana/rpc/rpc-types/Cargo.toml b/crates/katana/rpc/rpc-types/Cargo.toml index 2ec1d5f101..bc351aa0fc 100644 --- a/crates/katana/rpc/rpc-types/Cargo.toml +++ b/crates/katana/rpc/rpc-types/Cargo.toml @@ -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 diff --git a/crates/katana/rpc/rpc/Cargo.toml b/crates/katana/rpc/rpc/Cargo.toml index 3234fb6801..1cf0531841 100644 --- a/crates/katana/rpc/rpc/Cargo.toml +++ b/crates/katana/rpc/rpc/Cargo.toml @@ -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 @@ -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 diff --git a/crates/katana/storage/codecs/Cargo.toml b/crates/katana/storage/codecs/Cargo.toml index 7af7355661..d64b0c3ea2 100644 --- a/crates/katana/storage/codecs/Cargo.toml +++ b/crates/katana/storage/codecs/Cargo.toml @@ -7,4 +7,4 @@ version.workspace = true [dependencies] bytes = "1.5.0" -katana-primitives = { path = "../../primitives" } +katana-primitives.workspace = true diff --git a/crates/katana/storage/db/Cargo.toml b/crates/katana/storage/db/Cargo.toml index bbd4d2c16e..1c0efbe423 100644 --- a/crates/katana/storage/db/Cargo.toml +++ b/crates/katana/storage/db/Cargo.toml @@ -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" @@ -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] diff --git a/crates/katana/storage/provider/Cargo.toml b/crates/katana/storage/provider/Cargo.toml index 1b40d42c40..9b7d44d6c7 100644 --- a/crates/katana/storage/provider/Cargo.toml +++ b/crates/katana/storage/provider/Cargo.toml @@ -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" @@ -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"