Add wasm compiling

This commit is contained in:
Andras Schmelczer 2024-12-18 22:49:47 +00:00
parent 3f7f61970c
commit 9eae874c02
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 53 additions and 18 deletions

View file

@ -20,12 +20,13 @@ thiserror = {workspace = true}
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
wee_alloc = { version = "0.4.5", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3.34"
[features]
default = ["console_error_panic_hook"]
wee_alloc = []
[lints]
workspace = true