Skip to content
@crdt-kit

crdt-kit

Conflict-Free Replicated Data Types for Rust

crdt-kit



Conflict-Free Replicated Data Types for Rust

Lightweight (~50KB), no_std compatible, optimized for IoT, edge computing, WASM, and local-first architectures.

Crates.io Docs.rs License


Crates

Crate Version Description
crdt-kit Core CRDT types: counters, registers, sets, sequences, collaborative text
crdt-store Persistence backends: SQLite, redb, in-memory
crdt-migrate Versioned serialization with automatic schema migrations
crdt-codegen Schema-driven code generation for persistence layers
crdt-cli CLI: crdt generate, crdt dev-ui, crdt inspect
crdt-dev-ui Embedded web panel for database inspection

Quick Start

cargo add crdt-kit --features serde
use crdt_kit::prelude::*;

let mut counter_a = GCounter::new("node-a");
let mut counter_b = GCounter::new("node-b");

counter_a.increment();
counter_b.increment();
counter_b.increment();

counter_a.merge(&counter_b);
assert_eq!(counter_a.value(), 3); // always converges

Links

Documentation · Repository · Changelog · Development Guide

Popular repositories Loading

  1. crdt-kit crdt-kit Public

    CRDTs for edge computing and local-first apps — codegen, persistence, migrations, delta sync

    Rust 5

  2. .github .github Public

    Organization profile and community health files

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…