| Crates.io | entidb_sync_protocol |
| lib.rs | entidb_sync_protocol |
| version | 2.0.0-alpha.3 |
| created_at | 2025-12-25 14:47:02.787605+00 |
| updated_at | 2026-01-03 03:34:41.054437+00 |
| description | Sync protocol types and CBOR codecs for EntiDB |
| homepage | |
| repository | https://github.com/Tembocs/entidb |
| max_upload_size | |
| id | 2004620 |
| size | 71,033 |
Sync protocol types and CBOR codecs for EntiDB.
This crate defines the sync protocol message types and their canonical CBOR serialization for EntiDB's offline-first synchronization system.
use entidb_sync_protocol::{SyncOperation, OperationType};
// Operations are canonical CBOR-encoded
let op = SyncOperation::new(
entity_id,
OperationType::Put,
Some(entity_bytes),
clock,
);
Licensed under either of Apache License, Version 2.0 or MIT license at your option.