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"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2022-12-06 08:05:58 +00:00
|
|
|
string_cache = "0.8.4"
|
2022-09-01 16:59:02 +00:00
|
|
|
rle = { path = "../rle" }
|
2023-01-11 13:40:16 +00:00
|
|
|
smallvec = { version = "1.8.0", features = ["serde"] }
|
2022-11-29 10:31:57 +00:00
|
|
|
smartstring = { version = "1.0.1" }
|
2022-07-15 13:51:19 +00:00
|
|
|
fxhash = "0.2.1"
|
2022-07-18 05:53:16 +00:00
|
|
|
ring = "0.16.20"
|
2022-09-01 16:59:02 +00:00
|
|
|
serde = { version = "1.0.140", features = ["derive"] }
|
2022-07-25 05:00:22 +00:00
|
|
|
thiserror = "1.0.31"
|
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-11-29 10:31:57 +00:00
|
|
|
postcard = "1.0.2"
|
2022-10-20 11:19:43 +00:00
|
|
|
rand = { version = "0.8.5", optional = true }
|
|
|
|
arbitrary = { version = "1.1.7", optional = true }
|
|
|
|
tabled = { version = "0.10.0", optional = true }
|
2022-10-28 09:19:58 +00:00
|
|
|
wasm-bindgen = { version = "0.2.83", 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 }
|
2022-11-11 16:00:54 +00:00
|
|
|
serde_json = { version = "1.0.87", optional = true }
|
2022-11-17 02:22:28 +00:00
|
|
|
arref = "0.1.0"
|
2023-06-29 08:09:42 +00:00
|
|
|
debug-log = { version = "0.1.4", features = [] }
|
2023-03-21 01:47:24 +00:00
|
|
|
serde_columnar = { version = "0.2.5" }
|
2022-11-28 15:23:19 +00:00
|
|
|
tracing = { version = "0.1.37" }
|
2023-07-11 16:29:23 +00:00
|
|
|
append-only-bytes = { version = "0.1.8", features = ["u32_range", "serde"] }
|
2023-02-17 01:51:29 +00:00
|
|
|
itertools = "0.10.5"
|
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-07-04 03:27:09 +00:00
|
|
|
jumprope = "1.1.2"
|
|
|
|
generic-btree = "0.3.1"
|
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 = []
|
|
|
|
compress = ["serde_columnar/compress"]
|
2022-11-22 02:39:43 +00:00
|
|
|
wasm = ["wasm-bindgen", "js-sys", "serde-wasm-bindgen"]
|
2022-11-11 16:00:54 +00:00
|
|
|
json = ["serde_json"]
|
2022-10-24 03:33:39 +00:00
|
|
|
# whether to use list slice instead of raw str in text container
|
2022-11-14 02:49:42 +00:00
|
|
|
test_utils = ["crdt-list/fuzzing", "rand", "arbitrary", "tabled", "json"]
|
2022-10-27 08:36:04 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "text"
|
|
|
|
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
|