Skip to main content

Module version

Module version 

Source
Expand description

Versioned serialization and envelope format. Versioned serialization for CRDTs.

Every CRDT type can be serialized with a version envelope that enables transparent migration when schemas evolve.

Structs§

VersionedEnvelope
A version envelope wrapping serialized CRDT data.

Enums§

CrdtType
Identifies the type of CRDT for the version envelope.
EnvelopeError
Error parsing a version envelope.
VersionError
Error during versioned serialization.

Constants§

ENVELOPE_HEADER_SIZE
Size of the version envelope header in bytes.
MAGIC_BYTE
Magic byte identifying crdt-kit serialized data.

Traits§

Versioned
Trait for CRDT types that support versioned serialization.