mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 05:24:51 +00:00
27 lines
722 B
TOML
27 lines
722 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.6.5" }
|
|
wasm-bindgen-derive = "0.2.1"
|
|
console_error_panic_hook = { version = "0.1.6", optional = true }
|
|
getrandom = { version = "0.2.10", features = ["js"] }
|
|
serde = { workspace = true }
|
|
rle = { path = "../rle", package = "loro-rle" }
|
|
tracing-wasm = "0.2.1"
|
|
tracing = { version = "0.1" }
|
|
serde_json = "1"
|
|
|
|
[features]
|
|
default = ["console_error_panic_hook"]
|
|
counter = ["loro-internal/counter"]
|