| 1 | [package] |
| 2 | name = "fission-web" |
| 3 | version = "0.1.0" |
| 4 | edition = "2024" |
| 5 | publish = false |
| 6 | |
| 7 | # Standalone workspace: the native workspace never builds this crate. |
| 8 | [workspace] |
| 9 | |
| 10 | [lib] |
| 11 | crate-type = ["cdylib"] |
| 12 | |
| 13 | [dependencies] |
| 14 | engine = { path = "../engine" } |
| 15 | model = { path = "../model" } |
| 16 | console_error_panic_hook = "0.1" |
| 17 | js-sys = "0.3" |
| 18 | serde_json = "1" |
| 19 | wasm-bindgen = "=0.2.128" |
| 20 | wasm-bindgen-futures = "0.4" |
| 21 | web-sys = { version = "0.3", features = ["HtmlCanvasElement"] } |
| 22 | wgpu = "30.0.1" |
| 23 | |
| 24 | [profile.release] |
| 25 | opt-level = "s" |
| 26 | lto = true |
| 27 | codegen-units = 1 |