loro/crates/loro-wasm/Cargo.toml
Leon Zhao 203d82bf3b
feat: wasm api 1.0 (#521)
* feat: new 1.0 api wasm

* test: add new api test
2024-10-19 17:09:03 +08:00

30 lines
720 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",
"counter",
"jsonpath",
] }
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" }
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 = []