aboutsummaryrefslogtreecommitdiff
path: root/crates/wasm/Cargo.toml
blob: 80925661dbcd4e438b94b9fabf0b429663e6eecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[package]
name = "typerpunk-wasm"
version = "0.1.0"
edition = "2021"

[lib]
crate-type = ["cdylib"]

[dependencies]
typerpunk-core = { path = "../core", default-features = false, features = ["wasm", "serde"] }
wasm-bindgen = { workspace = true }
js-sys = { workspace = true }
web-sys = { version = "0.3", features = [
    "Document",
    "Element",
    "HtmlElement",
    "Window",
    "console",
    "HtmlCanvasElement",
    "CanvasRenderingContext2d",
    "CssStyleDeclaration",
    "MouseEvent",
    "KeyboardEvent",
] }
serde = { workspace = true }
console_error_panic_hook = "0.1"