diff --git a/kayak_core/Cargo.toml b/kayak_core/Cargo.toml index 3e162060a4ad6a706b9a8a385cd1fbe69ba7fa8a..f79be47e5a1bb2656ad5a71543ca29ca1cef0347 100644 --- a/kayak_core/Cargo.toml +++ b/kayak_core/Cargo.toml @@ -18,9 +18,13 @@ kayak_font = { path = "../kayak_font" } kayak_render_macros = { path = "../kayak_render_macros" } morphorm = { git = "https://github.com/geom3trik/morphorm", rev = "1243152d4cebea46fd3e5098df26402c73acae91" } resources = "1.1" -uuid = { version = "0.8", features = ["v4"] } indexmap = "1.8" +[target.'cfg(not(target_arch = "wasm32"))'.dependencies] +uuid = { version = "0.8", features = ["v4"] } +[target.'cfg(target_arch = "wasm32")'.dependencies] +uuid = { version = "0.8", features = ["v4", "wasm-bindgen"] } + [dependencies.bevy] version = "0.8.0" optional = true