Make it run in wasm

This commit is contained in:
2025-06-12 20:38:33 +02:00
parent 3908e6d913
commit 83ad2068e0
5 changed files with 19 additions and 6 deletions

4
Cargo.lock generated
View File

@ -953,9 +953,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0"
dependencies = [
"cfg-if",
"js-sys",
"libc",
"r-efi",
"wasi 0.14.2+wasi-0.2.4",
"wasm-bindgen",
]
[[package]]
@ -1350,6 +1352,7 @@ dependencies = [
"egui_glow 0.31.1 (registry+https://github.com/rust-lang/crates.io-index)",
"env_logger",
"eyre",
"getrandom 0.3.2",
"half",
"insta",
"log",
@ -1357,6 +1360,7 @@ dependencies = [
"rfd",
"serde",
"wasm-bindgen-futures",
"web-sys",
"zerocopy 0.8.25",
]