loro/crates/loro-wasm/Cargo.toml
Zixuan Chen 1233b8df82
refactor: replace debug-log with tracing (#285)
* refactor: replace debug-log with tracing

* chore: fix setDebug in wasm

* chore: rm useless comments
2024-03-04 20:06:24 +08:00

21 lines
563 B
TOML

[package]
name = "loro-wasm"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
js-sys = "0.3.60"
loro-internal = { path = "../loro-internal", features = ["wasm"] }
wasm-bindgen = "=0.2.90"
serde-wasm-bindgen = { version = "0.5.0" }
console_error_panic_hook = { version = "0.1.6", optional = true }
getrandom = { version = "0.2.10", features = ["js"] }
serde = { version = "1", features = ["derive"] }
rle = { path = "../rle", package = "loro-rle" }
tracing-wasm = "0.2.1"
[features]
default = ["console_error_panic_hook"]