# rust-crdt/rust-crdt

a collection of well-tested, serializable CRDTs for Rust

Repository: https://github.com/rust-crdt/rust-crdt
Canonical: https://ross.abutalabs.com/products/rust-crdt
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: crdt, rust, distributed-systems, serialization
Last push: 2024-06-16T00:56:53+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3820, "days_push": 809, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1545, forks 65 (observed 2026-08-28T04:05:01.501352+00:00)

## What it is
A Rust library providing a family of well-tested, serializable CRDTs (Conflict-free Replicated Data Types) supporting both state-based (CvRDT) and op-based (CmRDT) replication. It enables building highly available distributed systems where replicas can merge state without conflicts.

## Use cases
- build a distributed database with conflict-free replication
- sync collaborative app state across offline peers
- implement eventually consistent counters, sets, and maps in Rust
- replicate mutable state between nodes without a central coordinator
- merge concurrent edits in a peer-to-peer application

## When to choose
- you need conflict-free replicated data structures in Rust
- you want both state-based and op-based replication support
- you need thoroughly tested, serializable CRDT primitives like GCounter, LWWRegister, or ORSet

## When to avoid
- you need a full distributed database or sync service rather than data structure primitives
- your project is not in Rust
- you need real-time collaborative text editing with rich operational transforms

## Facets
- artifact type: library
- maturity: active
- function: serialization, concurrency, developer-tools
- domain: microservices, databases
- platform: rust, cross-platform
- tags: crdt, conflict-free-replicated-data-types, state-based-replication, op-based-replication, eventual-consistency, algorithms

## Member repositories
- rust-crdt/rust-crdt (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:01.501352+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:36.293658+00:00, confidence not recorded.
  - readme: https://github.com/rust-crdt/rust-crdt (fetched 2026-08-28T04:05:01.501352+00:00, sha 5b0c7a522189)
- Data as of 2026-08-30T08:39:29.467469+00:00.
