Skip to content

Commit dab75e7

Browse files
committed
fix: add [workspace] to WASM crate for wasm-pack compatibility
1 parent 2956ded commit dab75e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

npm/wasm/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ serde_json = "1"
1717
js-sys = "0.3"
1818
getrandom = { version = "0.2", features = ["js"] }
1919

20+
[workspace]
21+
2022
[profile.release]
2123
opt-level = "s"
2224
lto = true

0 commit comments

Comments
 (0)