synckit-core 0.2.0

High-performance sync engine for local-first applications
Documentation

SyncKit Core - High-performance sync engine

This is the Rust core of SyncKit, compiled to both native and WASM. It implements:

  • Document structure with field-level LWW
  • Vector clocks for causality tracking
  • CRDT data structures (OR-Set, PN-Counter, Text)
  • Binary protocol encoding/decoding (when prost feature enabled)

Examples

use synckit_core::{Document, ClientID, VectorClock};

let mut doc = Document::new("doc-123".to_string());
doc.set_field(
    "title".to_string(),
    serde_json::json!("Hello World"),
    1,
    "client-1".to_string()
);