# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "loro-internal"
version = "1.11.1"
authors = [
    "Zixuan Chen",
    "Liang Zhao",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Loro internal library. Do not use it directly as it's not stable."
homepage = "https://loro.dev"
documentation = "https://docs.rs/loro/"
readme = "README.md"
keywords = [
    "crdt",
    "local-first",
]
categories = []
license = "MIT"
repository = "https://github.com/loro-dev/loro/"

[features]
counter = ["loro-common/counter"]
jsonpath = []
logging = ["loro-common/logging"]
test_utils = [
    "arbitrary",
    "tabled",
]
wasm = [
    "wasm-bindgen",
    "js-sys",
    "loro-common/wasm",
]

[lib]
name = "loro_internal"
path = "src/lib.rs"
doctest = false
bench = false

[[example]]
name = "automerge_x100"
path = "examples/automerge_x100.rs"

[[example]]
name = "encoding"
path = "examples/encoding.rs"

[[example]]
name = "encoding_parallel"
path = "examples/encoding_parallel.rs"

[[example]]
name = "encoding_refactored"
path = "examples/encoding_refactored.rs"

[[example]]
name = "event"
path = "examples/event.rs"

[[example]]
name = "list"
path = "examples/list.rs"

[[example]]
name = "many_actors"
path = "examples/many_actors.rs"

[[example]]
name = "mem"
path = "examples/mem.rs"

[[example]]
name = "obs"
path = "examples/obs.rs"

[[example]]
name = "pending"
path = "examples/pending.rs"

[[example]]
name = "state_size"
path = "examples/state_size.rs"

[[example]]
name = "tree"
path = "examples/tree.rs"

[[test]]
name = "autocommit"
path = "tests/autocommit.rs"

[[test]]
name = "ephemeral_store"
path = "tests/ephemeral_store.rs"

[[test]]
name = "fugue"
path = "tests/fugue.rs"

[[test]]
name = "richtext"
path = "tests/richtext.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[[test]]
name = "tree"
path = "tests/tree.rs"

[[test]]
name = "undo"
path = "tests/undo.rs"

[[bench]]
name = "encode"
path = "benches/encode.rs"
harness = false

[[bench]]
name = "event"
path = "benches/event.rs"
harness = false

[[bench]]
name = "jsonpath"
path = "benches/jsonpath.rs"
harness = false

[[bench]]
name = "list"
path = "benches/list.rs"
harness = false

[[bench]]
name = "map"
path = "benches/map.rs"
harness = false

[[bench]]
name = "pending"
path = "benches/pending.rs"
harness = false

[[bench]]
name = "text_r"
path = "benches/text_r.rs"
harness = false

[[bench]]
name = "tree"
path = "benches/tree.rs"
harness = false

[dependencies.append-only-bytes]
version = "0.1.12"
features = ["u32_range"]

[dependencies.arbitrary]
version = "1"
optional = true

[dependencies.arref]
version = "0.1.0"

[dependencies.bytes]
version = "1"

[dependencies.either]
version = "1"

[dependencies.ensure-cov]
version = "0.1.0"

[dependencies.enum-as-inner]
version = "0.6.0"

[dependencies.enum_dispatch]
version = "0.3.11"

[dependencies.fractional_index]
version = "1.6.0"
features = ["serde"]
package = "loro_fractional_index"

[dependencies.generic-btree]
version = "^0.10.7"

[dependencies.getrandom]
version = "0.2.15"

[dependencies.im]
version = "15.1.0"
features = ["serde"]

[dependencies.itertools]
version = "0.12.1"

[dependencies.js-sys]
version = "0.3.60"
optional = true

[dependencies.leb128]
version = "0.2.5"

[dependencies.loro-common]
version = "1.11.1"

[dependencies.loro-delta]
version = "1.9.1"
package = "loro-delta"

[dependencies.loro-kv-store]
version = "1.11.1"

[dependencies.md5]
version = "0.7.0"

[dependencies.nonmax]
version = "0.5.5"

[dependencies.num]
version = "0.4.0"

[dependencies.num-traits]
version = "0.2"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.pest]
version = "2.8.3"

[dependencies.pest_derive]
version = "2.8.3"

[dependencies.postcard]
version = "1"
features = ["use-std"]

[dependencies.pretty_assertions]
version = "1.4.1"

[dependencies.rand]
version = "0.8.5"

[dependencies.rle]
version = "1.6.0"
package = "loro-rle"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.serde]
version = "1"

[dependencies.serde_columnar]
version = "0.3.14"

[dependencies.serde_json]
version = "1.0"

[dependencies.smallvec]
version = "1.8.0"
features = ["serde"]

[dependencies.tabled]
version = "0.10.0"
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.thread_local]
version = "1.1.8"

[dependencies.tracing]
version = "0.1"

[dependencies.wasm-bindgen]
version = "=0.2.100"
optional = true

[dependencies.xxhash-rust]
version = "0.8.12"
features = ["xxh32"]

[dev-dependencies.arbitrary]
version = "1"

[dev-dependencies.criterion]
version = "0.7.0"
features = ["html_reports"]

[dev-dependencies.ctor]
version = "0.1.23"

[dev-dependencies.miniz_oxide]
version = "0.7.1"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.tabled]
version = "0.10.0"

[dev-dependencies.zstd]
version = "0.13.0"

[target.'cfg(all(target_arch = "wasm32", not(features = "wasm")))'.dependencies.wasm-bindgen]
version = "0.2.100"

[target."cfg(loom)".dependencies.loom]
version = "0.7"
features = ["checkpoint"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.15"
features = ["js"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]
