loro/crates/loro-internal/Cargo.toml
2024-11-09 23:35:17 +08:00

115 lines
3 KiB
TOML

[package]
name = "loro-internal"
version = "1.1.0"
edition = "2021"
license = "MIT"
description = "Loro internal library. Do not use it directly as it's not stable."
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]
generic-btree = { version = "^0.10.5" }
smallvec = { workspace = true }
loro-delta = { path = "../delta", version = "1.1.0", package = "loro-delta" }
rle = { path = "../rle", version = "1.1.0", package = "loro-rle" }
loro-common = { path = "../loro-common", version = "1.1.0" }
fractional_index = { path = "../fractional_index", features = [
"serde",
], version = "1.1.0", package = "loro_fractional_index" }
loro-kv-store = { path = "../kv-store", version = "1.1.0" }
fxhash = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }
enum-as-inner = { workspace = true }
serde_json = { workspace = true }
bytes = { workspace = true }
xxhash-rust = { workspace = true }
serde_columnar = { workspace = true }
itertools = { workspace = true }
enum_dispatch = { workspace = true }
once_cell = { workspace = true }
arbitrary = { version = "1", optional = true }
postcard = { version = "1", features = ["use-std"] }
append-only-bytes = { version = "0.1.12", features = ["u32_range"] }
im = { version = "15.1.0", features = ["serde"] }
tabled = { version = "0.10.0", optional = true }
wasm-bindgen = { version = "=0.2.92", optional = true }
js-sys = { version = "0.3.60", optional = true }
num = "0.4.0"
rand = { version = "0.8.5" }
getrandom = "0.2.15"
leb128 = "0.2.5"
num-traits = "0.2"
either = "1"
md5 = "0.7.0"
arref = "0.1.0"
tracing = { version = "0.1" }
nonmax = "0.5.5"
ensure-cov = { workspace = true }
pretty_assertions = "1.4.1"
[dev-dependencies]
arbitrary = { version = "1" }
miniz_oxide = "0.7.1"
dhat = "0.3.1"
rand = { version = "0.8.5" }
base64 = "0.21.5"
proptest = "1.0.0"
proptest-derive = "0.3.0"
static_assertions = "1.1.0"
tabled = "0.10.0"
ctor = "0.1.23"
criterion = "0.5.0"
arbtest = "0.2.0"
bench-utils = { path = "../bench-utils" }
dev-utils = { path = "../dev-utils" }
zstd = "0.13.0"
# See https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html
[lib]
doctest = false
bench = false
[features]
# "wasm" will use utf-16 index by default when using text related stuff; But it'll use utf-8 encoding internally.
wasm = ["wasm-bindgen", "js-sys", "loro-common/wasm"]
# whether to use list slice instead of raw str in text container
test_utils = ["arbitrary", "tabled"]
# whether enable the counter container
counter = ["loro-common/counter"]
jsonpath = []
[[bench]]
name = "text_r"
harness = false
[[bench]]
name = "list"
harness = false
[[bench]]
name = "encode"
harness = false
[[bench]]
name = "pending"
harness = false
[[bench]]
name = "event"
harness = false
[[bench]]
name = "map"
harness = false
[[bench]]
name = "tree"
harness = false