From 0231754646c950a3687e9210316530f8b5e286c4 Mon Sep 17 00:00:00 2001 From: cameronvoell Date: Wed, 11 Dec 2024 14:28:13 -0800 Subject: [PATCH] fix wasm findings build --- xmtp_content_types/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmtp_content_types/Cargo.toml b/xmtp_content_types/Cargo.toml index b9c6394b8..b8d0b4c89 100644 --- a/xmtp_content_types/Cargo.toml +++ b/xmtp_content_types/Cargo.toml @@ -8,7 +8,9 @@ license.workspace = true thiserror = { workspace = true } prost = { workspace = true, features = ["prost-derive"] } rand = { workspace = true } -tonic = { version = "0.12", features = ["transport"] } # XMTP/Local xmtp_proto = { workspace = true, features = ["convert"] } + +[target.'cfg(not(target_arch = "wasm32"))'.dependencies] +tonic = { version = "0.12", features = ["transport"] } \ No newline at end of file