loro/crates/loro-wasm/Cargo.toml
Zixuan Chen 0660b1a1be
fix: upgrade wasm-bindgen to fix str free err (#353)
* fix: upgrade wasm-bindgen to fix str free err

* chore: fix ci
2024-05-09 15:22:34 +08:00

25 lines
688 B
TOML

[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"] }
wasm-bindgen = "=0.2.92"
serde-wasm-bindgen = { version = "0.5.0" }
wasm-bindgen-derive = "0.2.1"
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"
tracing = { version = "0.1" }
[features]
default = ["console_error_panic_hook"]