loro/crates/loro-common/Cargo.toml
Zixuan Chen 5fc3458eb7
Some checks are pending
Release WASM / Release (push) Waiting to run
Test All / build (push) Waiting to run
perf: use simplified internal string (#551)
* perf: use simplified internal string

* fix: make internal string trait impl more stringish

* perf: reduce InternalString memory cost from 16 bytes to 8 bytes
on 64bit platform

* chore: fix warning

* perf: optimize drop

* test: add init large map example
2024-11-11 15:08:27 +08:00

32 lines
991 B
TOML

[package]
name = "loro-common"
version = "1.1.0"
edition = "2021"
license = "MIT"
description = "Common types and functions for Loro. This is an internal lib of Loro."
documentation = "https://docs.rs/loro/"
homepage = "https://loro.dev"
repository = "https://github.com/loro-dev/loro"
authors = ["Zixuan Chen", "Liang Zhao"]
categories = []
keywords = ["crdt", "local-first"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rle = { path = "../rle", version = "1.1.0", package = "loro-rle" }
serde = { workspace = true }
serde_json = { workspace = true, optional=true }
thiserror = "1.0.43"
wasm-bindgen = { version = "=0.2.92", optional = true }
fxhash = "0.2.1"
enum-as-inner = "0.6.0"
arbitrary = { version = "1.3.0", features = ["derive"] }
js-sys = { version = "0.3.60", optional = true }
serde_columnar = { workspace = true }
nonmax = "0.5.5"
leb128 = "0.2.5"
[features]
wasm = ["wasm-bindgen", "js-sys"]
counter = []