lib_um_crypto_rust/um_wasm/Cargo.toml

34 lines
1.0 KiB
TOML
Raw Normal View History

2024-09-02 20:01:19 +00:00
[package]
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"
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"
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-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-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-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"