che-sync-protocol
Transport- and database-independent synchronization messages for the che-orm
ecosystem. Requires Rust 1.88 or later. Licensed under MIT.
[]
= "0.1.0"
Protocols
- The crate root exposes the scoped compatibility protocol (version 1), tagged values, records, operations, cursors and mutation results.
model_logexposes protocol-2 per-model journals, field diffs, model states, transport-neutralModelWritemutations and their results.object_logexposes explicit protocol-3 addressed delivery, current access, revocation and object synchronization messages.
The Cargo package version is independent of these wire protocol versions. Selecting a newer API must not implicitly switch an existing client database or discard pending operations. Submitted identities and adapter payloads must be preserved for retries.
Messages use Serde. Integer revisions, cursors and tagged integer values use lossless decimal-string encodings where specified by the DTO; nullable JSON fields distinguish absent values, JSON null and SQL NULL. Use the supplied types and serialization rather than replacing them with ad hoc JSON encodings.
This crate contains no database engine, HTTP client, REST routes, authentication policy or Tauri integration. Use che-sync for the native durable engine and che-rest for HTTP delivery.