[package]
name = "crdt-kit"
version = "0.4.0-beta.1"
edition = "2021"
rust-version = "1.70"
authors = ["abdielLopezpy"]
license = "MIT OR Apache-2.0"
description = "CRDTs optimized for edge computing and local-first applications"
repository = "https://github.com/crdt-kit/crdt-kit"
homepage = "https://github.com/crdt-kit/crdt-kit"
documentation = "https://docs.rs/crdt-kit"
readme = "../../README.md"
keywords = ["crdt", "edge-computing", "local-first", "offline", "distributed"]
categories = ["data-structures", "algorithms", "network-programming"]
exclude = ["benches/", ".github/", "*.png"]

[features]
default = ["std"]
std = []
serde = ["dep:serde"]
wasm = ["dep:wasm-bindgen", "dep:js-sys"]

[dependencies]
serde = { version = "1", features = ["derive"], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true }

[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
rand = "0.8"
serde_json = "1"
serde = { version = "1", features = ["derive"] }
proptest = "1"
automerge = "0.7"
yrs = "0.25"

[[bench]]
name = "crdt_benchmarks"
harness = false

[[bench]]
name = "comparative"
harness = false
