From e579ae120290329fd697b50ea9138ffccb65a805 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 1 Apr 2026 13:57:32 +0200 Subject: feat: migrate GPU renderer from WebGL to wgpu/WASM --- rust/wasm/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rust/wasm/Cargo.toml') diff --git a/rust/wasm/Cargo.toml b/rust/wasm/Cargo.toml index 031437e5..06be926f 100644 --- a/rust/wasm/Cargo.toml +++ b/rust/wasm/Cargo.toml @@ -11,4 +11,11 @@ path = "src/wasm.rs" crate-type = ["cdylib", "rlib"] [dependencies] +gpu = { version = "0.1.0", path = "../crates/gpu" } +js-sys = "0.3.93" +serde = { version = "1.0.228", features = ["derive"] } +serde-wasm-bindgen = "0.6.5" time = { version = "0.1.0", path = "../crates/time", features = ["wasm"] } +wasm-bindgen = "0.2.116" +wasm-bindgen-futures = "0.4.66" +web-sys = { version = "0.3.93", features = ["OffscreenCanvas", "HtmlCanvasElement", "CanvasRenderingContext2d", "Document", "Window"] } -- cgit v1.3.1