build: experimental build with node package

This commit is contained in:
鲁树人
2024-09-03 00:17:54 +01:00
parent d51cfae9c2
commit 3f9d4b5084
24 changed files with 732 additions and 1 deletions

View File

@@ -3,6 +3,9 @@ name = "um_wasm"
version = "0.1.0"
authors = ["鲁树人 <lu.shuren@um-react.app>"]
edition = "2018"
description = "um_crypo in WebAssembly"
repository = "https://git.unlock-music.dev/lsr/lib_um_crypto_rust.git"
license = "Apache-2.0 + MIT"
[lib]
crate-type = ["cdylib", "rlib"]
@@ -12,6 +15,7 @@ default = ["console_error_panic_hook"]
[dependencies]
wasm-bindgen = "0.2.84"
anyhow = "1.0.86"
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires