From 4685861af3e8fed59d31fd2d4024ea2dbb456f38 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Thu, 16 May 2024 19:08:22 -0400 Subject: [PATCH] Make wasm-bindgen required for frontend only --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index cc9981c..cea4b59 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ leptos = { version = "0.6", default-features = false, features = ["nightly"] } leptos_meta = { version = "0.6", features = ["nightly"] } leptos_axum = { version = "0.6", optional = true } leptos_router = { version = "0.6", features = ["nightly"] } -wasm-bindgen = { version = "=0.2.92", default-features = false } +wasm-bindgen = { version = "=0.2.92", default-features = false, optional = true } leptos_icons = { version = "0.3.0" } icondata = { version = "0.3.0" } dotenv = { version = "0.15.0", optional = true } @@ -48,6 +48,7 @@ hydrate = [ "leptos_meta/hydrate", "leptos_router/hydrate", "console_error_panic_hook", + "wasm-bindgen", ] ssr = [ "dep:leptos_axum",