Skip to main content

Crate diaryx_sync

Crate diaryx_sync 

Source
Expand description

§Diaryx Sync Protocol Engine

Shared sync protocol layer for Diaryx, built on siphonophore.

This crate provides:

  • Protocol types: Document type parsing, control messages, handshake state
  • Storage: Per-workspace CRDT storage cache
  • Hooks: Pluggable sync hook system via [SyncHookDelegate] trait
  • Local server: Lightweight server for CLI-based web editing

Used by both diaryx_sync_server (cloud) and diaryx CLI (local editing).

Modules§

hooks
Pluggable sync hook system.
local
Local sync server for CLI-based web editing.
protocol
Sync protocol types and utilities.
server
Generic sync server builder.
storage
Per-workspace CRDT storage cache.