synckit-core 0.2.0

High-performance sync engine for local-first applications
Documentation
[[bench]]
harness = false
name = "delta_bench"
path = "benches/delta_bench.rs"

[[bench]]
harness = false
name = "fugue_bench"
path = "benches/fugue_bench.rs"
required-features = ["text-crdt"]

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

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

[build-dependencies.prost-build]
optional = true
version = "0.14"

[build-dependencies.protoc-bin-vendored]
optional = true
version = "3.0"

[dependencies.base64]
optional = true
version = "0.22"

[dependencies.bytes]
optional = true
version = "1.5"

[dependencies.chrono]
features = ["serde", "wasmbind"]
optional = true
version = "0.4"

[dependencies.console_error_panic_hook]
optional = true
version = "0.1"

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

[dependencies.prost]
optional = true
version = "0.14"

[dependencies.ropey]
optional = true
version = "1.6"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.unicode-segmentation]
optional = true
version = "1.10"

[dependencies.uuid]
features = ["v4", "serde", "js"]
version = "1.0"

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

[dependencies.web-sys]
optional = true
version = "0.3"

[dependencies.wee_alloc]
optional = true
version = "0.4.5"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.0"

[features]
advanced = ["core", "counters", "sets", "fractional-index"]
core = []
core-lite = ["wee_alloc"]
counters = ["core"]
datetime = ["chrono"]
default = ["core-lite"]
fractional-index = ["core"]
full = ["core", "datetime", "protocol-binary", "text-crdt", "counters", "sets", "fractional-index", "wee_alloc"]
protocol = ["protocol-binary"]
protocol-binary = ["prost", "bytes", "base64", "chrono", "prost-build", "protoc-bin-vendored"]
sets = ["core"]
text = ["core", "text-crdt"]
text-crdt = ["core", "ropey", "unicode-segmentation"]
wasm = ["wasm-bindgen", "web-sys", "js-sys", "console_error_panic_hook"]

[lib]
crate-type = ["cdylib", "rlib"]
name = "synckit_core"
path = "src/lib.rs"

[package]
authors = ["Daniel Bitengo"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["wasm", "data-structures", "network-programming"]
description = "High-performance sync engine for local-first applications"
edition = "2021"
keywords = ["sync", "crdt", "local-first", "offline-first", "realtime"]
license = "MIT"
name = "synckit-core"
readme = false
repository = "https://github.com/Dancode-188/synckit"
version = "0.2.0"

[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true

[profile.release.package."*"]
opt-level = 3

[profile.wasm-release]
codegen-units = 1
inherits = "release"
lto = "fat"
opt-level = "z"
overflow-checks = false
panic = "abort"
strip = "symbols"

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