loro/crates/loro-wasm/Cargo.toml

21 lines
573 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.86"
serde-wasm-bindgen = { version = "0.5.0" }
console_error_panic_hook = { version = "0.1.6", optional = true }
getrandom = { version = "0.2.10", features = ["js"] }
debug-log = { version = "0.2.2", features = ["wasm"] }
serde = { version = "1", features = ["derive"] }
rle = { path = "../rle" }
[features]
default = ["console_error_panic_hook"]