2022-07-12 16:47:41 +00:00
|
|
|
[package]
|
2023-01-16 10:44:19 +00:00
|
|
|
name = "loro-internal"
|
2022-07-12 16:47:41 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-11-12 15:23:12 +00:00
|
|
|
license = "MIT"
|
2022-07-12 16:47:41 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-08-16 03:33:55 +00:00
|
|
|
string_cache = "0.8.7"
|
2022-09-01 16:59:02 +00:00
|
|
|
rle = { path = "../rle" }
|
2023-07-14 08:05:06 +00:00
|
|
|
loro-preload = { path = "../loro-preload" }
|
|
|
|
loro-common = { path = "../loro-common" }
|
2023-01-11 13:40:16 +00:00
|
|
|
smallvec = { version = "1.8.0", features = ["serde"] }
|
2023-10-29 06:02:13 +00:00
|
|
|
postcard = "1"
|
2022-07-15 13:51:19 +00:00
|
|
|
fxhash = "0.2.1"
|
2023-08-04 03:09:32 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-10-29 06:02:13 +00:00
|
|
|
thiserror = "1"
|
2022-08-26 12:19:38 +00:00
|
|
|
enum-as-inner = "0.5.1"
|
2022-09-01 16:59:02 +00:00
|
|
|
num = "0.4.0"
|
2022-12-06 08:05:58 +00:00
|
|
|
crdt-list = { version = "0.4.0" }
|
2022-10-20 11:19:43 +00:00
|
|
|
rand = { version = "0.8.5", optional = true }
|
2023-10-29 06:02:13 +00:00
|
|
|
arbitrary = { version = "1", optional = true }
|
2022-10-20 11:19:43 +00:00
|
|
|
tabled = { version = "0.10.0", optional = true }
|
2023-11-02 06:20:34 +00:00
|
|
|
wasm-bindgen = { version = "=0.2.86", optional = true }
|
2023-03-20 03:27:59 +00:00
|
|
|
serde-wasm-bindgen = { version = "0.5.0", optional = true }
|
2022-10-28 09:19:58 +00:00
|
|
|
js-sys = { version = "0.3.60", optional = true }
|
2023-10-29 06:02:13 +00:00
|
|
|
serde_json = { version = "1" }
|
2022-11-17 02:22:28 +00:00
|
|
|
arref = "0.1.0"
|
2023-11-04 12:03:43 +00:00
|
|
|
debug-log = { version = "0.2.2", features = [] }
|
2023-11-28 13:01:01 +00:00
|
|
|
serde_columnar = { version = "0.3.3" }
|
2022-11-28 15:23:19 +00:00
|
|
|
tracing = { version = "0.1.37" }
|
2023-10-29 06:02:13 +00:00
|
|
|
append-only-bytes = { version = "0.1.12", features = ["u32_range"] }
|
2023-09-11 03:12:18 +00:00
|
|
|
itertools = "0.11.0"
|
2023-07-02 15:24:17 +00:00
|
|
|
enum_dispatch = "0.3.11"
|
2023-07-02 16:40:05 +00:00
|
|
|
im = "15.1.0"
|
2023-10-31 14:04:43 +00:00
|
|
|
generic-btree = { version = "0.8.2" }
|
2023-07-17 15:18:18 +00:00
|
|
|
miniz_oxide = "0.7.1"
|
2023-07-28 18:03:51 +00:00
|
|
|
getrandom = "0.2.10"
|
2023-10-29 06:02:13 +00:00
|
|
|
once_cell = "1.18.0"
|
2022-07-20 08:29:36 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-11-14 02:49:42 +00:00
|
|
|
serde_json = "1.0.87"
|
2022-10-26 14:20:09 +00:00
|
|
|
dhat = "0.3.1"
|
2022-10-20 11:19:43 +00:00
|
|
|
rand = { version = "0.8.5" }
|
2022-07-20 08:29:36 +00:00
|
|
|
proptest = "1.0.0"
|
|
|
|
proptest-derive = "0.3.0"
|
2022-09-20 07:31:18 +00:00
|
|
|
static_assertions = "1.1.0"
|
2022-10-20 11:19:43 +00:00
|
|
|
tabled = "0.10.0"
|
2022-10-20 09:34:51 +00:00
|
|
|
color-backtrace = { version = "0.5" }
|
|
|
|
ctor = "0.1.23"
|
2022-10-27 08:36:04 +00:00
|
|
|
criterion = "0.4.0"
|
2022-10-31 08:16:44 +00:00
|
|
|
flate2 = "1.0.24"
|
2022-11-12 13:30:00 +00:00
|
|
|
arbtest = "0.2.0"
|
2022-12-27 06:18:46 +00:00
|
|
|
bench-utils = { path = "../bench-utils" }
|
2022-10-31 09:21:06 +00:00
|
|
|
|
2022-07-31 07:56:15 +00:00
|
|
|
# See https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html
|
|
|
|
[lib]
|
|
|
|
doctest = false
|
2022-12-27 06:18:46 +00:00
|
|
|
bench = false
|
2022-10-08 18:04:41 +00:00
|
|
|
|
|
|
|
[features]
|
2023-03-20 03:27:59 +00:00
|
|
|
default = []
|
2023-07-28 05:38:52 +00:00
|
|
|
# "wasm" will use utf-16 index by default when using text related stuff; But it'll use utf-8 encoding internally.
|
2023-07-14 08:38:53 +00:00
|
|
|
wasm = ["wasm-bindgen", "js-sys", "serde-wasm-bindgen", "loro-common/wasm"]
|
2022-10-24 03:33:39 +00:00
|
|
|
# whether to use list slice instead of raw str in text container
|
2023-10-29 06:02:13 +00:00
|
|
|
test_utils = ["crdt-list/fuzzing", "rand", "arbitrary", "tabled"]
|
2022-10-27 08:36:04 +00:00
|
|
|
|
2023-07-17 13:24:02 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "text_r"
|
|
|
|
harness = false
|
|
|
|
|
2022-11-17 02:22:28 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "list"
|
|
|
|
harness = false
|
2022-11-17 03:34:48 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "encode"
|
|
|
|
harness = false
|
2023-09-18 13:57:51 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "pending"
|
|
|
|
harness = false
|