From 319ae7aa408813283431d2f0a44fe42053ce5ee2 Mon Sep 17 00:00:00 2001 From: cameronvoell Date: Thu, 19 Dec 2024 11:04:08 -0800 Subject: [PATCH] fix wasm dependencies, take 2 --- xmtp_content_types/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xmtp_content_types/Cargo.toml b/xmtp_content_types/Cargo.toml index 52fa200b5..37d6d7b27 100644 --- a/xmtp_content_types/Cargo.toml +++ b/xmtp_content_types/Cargo.toml @@ -20,3 +20,8 @@ xmtp_common = { workspace = true, features = ['test-utils'] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tonic = { version = "0.12", features = ["transport"] } diesel = { workspace = true } + +[target.'cfg(target_arch = "wasm32")'.dependencies] +diesel = { workspace = true, features = [ + "returning_clauses_for_sqlite_3_35", +] }