feat: add js-wasm

This commit is contained in:
2022-07-17 19:39:28 +08:00
parent 30ac42001b
commit 9f61cc748a
8 changed files with 368 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
[package]
name = "helloworld"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ['cdylib']
[profile.release]
lto = true
[dependencies]
js = "0.4.3"
[patch.crates-io]
callback = { path = "./js-wasm/crates/callback" }
js = { path = "./js-wasm/crates/js" }