2024-09-02 20:01:19 +00:00
|
|
|
[package]
|
|
|
|
name = "um_wasm"
|
2024-12-14 16:25:01 +00:00
|
|
|
version = "0.1.2"
|
2024-09-02 20:01:19 +00:00
|
|
|
authors = ["鲁树人 <lu.shuren@um-react.app>"]
|
|
|
|
edition = "2018"
|
2024-09-02 23:17:54 +00:00
|
|
|
description = "um_crypo in WebAssembly"
|
|
|
|
repository = "https://git.unlock-music.dev/lsr/lib_um_crypto_rust.git"
|
|
|
|
license = "Apache-2.0 + MIT"
|
2024-09-02 20:01:19 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["console_error_panic_hook"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
wasm-bindgen = "0.2.84"
|
2024-09-02 23:17:54 +00:00
|
|
|
anyhow = "1.0.86"
|
2024-09-07 12:13:39 +00:00
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
2024-09-02 20:01:19 +00:00
|
|
|
|
|
|
|
# The `console_error_panic_hook` crate provides better debugging of panics by
|
|
|
|
# logging them with `console.error`. This is great for development, but requires
|
|
|
|
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
|
|
|
|
# code size when deploying.
|
|
|
|
console_error_panic_hook = { version = "0.1.7", optional = true }
|
2024-09-17 20:45:51 +00:00
|
|
|
umc_joox = { path = "../um_crypto/joox" }
|
2024-09-16 20:28:07 +00:00
|
|
|
umc_kgm = { path = "../um_crypto/kgm" }
|
2024-09-02 20:01:19 +00:00
|
|
|
umc_kuwo = { path = "../um_crypto/kuwo" }
|
2024-09-20 22:22:04 +00:00
|
|
|
umc_mg3d = { path = "../um_crypto/mg3d" }
|
2024-09-14 17:40:59 +00:00
|
|
|
umc_ncm = { path = "../um_crypto/ncm" }
|
2024-09-04 00:12:20 +00:00
|
|
|
umc_qmc = { path = "../um_crypto/qmc" }
|
2024-10-06 18:55:41 +00:00
|
|
|
umc_qrc = { path = "../um_crypto/qrc" }
|
2024-09-20 19:19:24 +00:00
|
|
|
umc_qtfm = { path = "../um_crypto/qtfm" }
|
2024-09-18 22:33:22 +00:00
|
|
|
umc_xiami = { path = "../um_crypto/xiami" }
|
2024-09-18 22:01:01 +00:00
|
|
|
umc_xmly = { path = "../um_crypto/xmly" }
|
2024-09-14 23:07:46 +00:00
|
|
|
um_audio = { path = "../um_audio" }
|
2024-09-02 20:01:19 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
wasm-bindgen-test = "0.3.34"
|