[dependencies.bincode]
default-features = false
features = ["alloc", "derive", "serde"]
optional = true
version = "2.0.1"
[dependencies.hashbrown]
features = ["serde"]
optional = true
version = "0.15"
[dependencies.rmp-serde]
optional = true
version = "1.3"
[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
optional = true
version = "1.0"
[dependencies.serde_json]
default-features = false
features = ["alloc"]
optional = true
version = "1.0"
[dependencies.zstd]
optional = true
version = "0.13"
[dev-dependencies.bincode]
version = "2.0.1"
[dev-dependencies.rmp-serde]
version = "1.3"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.8"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "persistence_example"
path = "examples/persistence_example.rs"
[[example]]
name = "r2_backup_example"
path = "examples/r2_backup_example.rs"
[features]
alloc = ["dep:hashbrown"]
binary = ["serde", "dep:bincode"]
compression = ["dep:zstd"]
default = ["std"]
json = ["serde", "dep:serde_json"]
msgpack = ["serde", "dep:rmp-serde"]
node-id-u128 = []
persist = ["binary", "std"]
persist-compressed = ["persist-msgpack", "compression"]
persist-msgpack = ["binary", "msgpack", "std"]
serde = ["dep:serde"]
sorted-keys = []
std = ["serde?/std", "serde_json?/std", "bincode?/std"]
[lib]
name = "crdt_lite"
path = "src/lib.rs"
[package]
authors = ["CRDT Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "algorithms", "concurrency"]
description = "A lightweight, column-based CRDT implementation in Rust"
documentation = "https://docs.rs/crdt-lite"
edition = "2021"
homepage = "https://github.com/sinkingsugar/crdt-lite"
keywords = ["crdt", "distributed", "replication", "collaboration", "conflict-resolution"]
license = "MIT"
name = "crdt-lite"
readme = "README.md"
repository = "https://github.com/sinkingsugar/crdt-lite"
version = "0.8.0"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "persist_tests"
path = "tests/persist_tests.rs"
[[test]]
name = "test_msgpack_incremental"
path = "tests/test_msgpack_incremental.rs"