From b53a6a6cda339bb5034e11588f60b156f439205b Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Wed, 1 Nov 2023 12:50:17 -0400 Subject: [PATCH] Disable torii-core for grpc client --- crates/torii/grpc/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/torii/grpc/Cargo.toml b/crates/torii/grpc/Cargo.toml index b36c4ff0d4..fc19299146 100644 --- a/crates/torii/grpc/Cargo.toml +++ b/crates/torii/grpc/Cargo.toml @@ -8,7 +8,6 @@ version.workspace = true [dependencies] bytes = "1.0" dojo-types = { path = "../../dojo-types" } -torii-core = { path = "../core" } futures-util = "0.3.28" futures.workspace = true parking_lot.workspace = true @@ -16,6 +15,7 @@ rayon.workspace = true starknet-crypto.workspace = true starknet.workspace = true thiserror.workspace = true +torii-core = { path = "../core", optional = true } serde.workspace = true strum_macros.workspace = true @@ -47,4 +47,4 @@ wasm-tonic-build.workspace = true [features] client = [ ] -server = [ ] # this feature can't be build on wasm32 +server = [ "dep:torii-core" ] # this feature can't be build on wasm32