[package] name = "loro-wasm" version = "0.1.0" edition = "2021" publish = false repository = "https://github.com/loro-dev/loro/" [lib] crate-type = ["cdylib", "rlib"] [dependencies] js-sys = "0.3.60" loro-internal = { path = "../loro-internal", features = ["wasm", "counter"] } wasm-bindgen = "=0.2.92" serde-wasm-bindgen = { version = "^0.6.5" } wasm-bindgen-derive = "0.2.1" console_error_panic_hook = { version = "0.1.6", optional = true } getrandom = { version = "0.2.15", features = ["js"] } serde = { workspace = true } rle = { path = "../rle", package = "loro-rle" } tracing-wasm = "0.2.1" tracing = { version = "0.1", features = ["release_max_level_warn"] } serde_json = "1" [features] default = ["console_error_panic_hook"]