Module basic

Module basic 

Source
Expand description

Basic CRDT implementations

This module provides fundamental CRDT types including:

  • ReplicaId: Unique identifier for replicas
  • LwwRegister: Last-Write-Wins Register
  • LwwMap: Last-Write-Wins Map
  • GCounter: Grow-only Counter

Re-exports§

pub use counter::GCounter;
pub use lww_map::LwwMap;
pub use lww_register::LwwRegister;
pub use replica_id::ReplicaId;
pub use traits::CRDT;
pub use traits::Mergeable;

Modules§

counter
Counter CRDT implementations
lww_map
Last-Write-Wins Map implementation
lww_register
Last-Write-Wins Register implementation
replica_id
Replica ID type and utilities
traits
Core CRDT traits