Crate crdt_richtext

Crate crdt_richtext 

Source
Expand description

Rust implementation of Peritext and Fugue

This crate contains a subset of Loro CRDT

This Rust crate provides an implementation of Peritext that is optimized for performance. This crate uses a separate data structure to store the range annotation, decoupled from the underlying list CRDT. This implementation depends on RangeMap trait, which can be implemented efficiently to make the overall algorithm fast. But currently, this crate only provides a dumb implementation to provide a proof of concept.

Re-exports§

pub use rich_text::vv::VersionVector;
pub use rich_text::RichText;

Modules§

legacy
rich_text

Structs§

Anchor
AnchorRange
Annotation
OpID
Patch
If both move_start_to and move_end_to equal to None, the target range will be deleted
Style

Enums§

AnchorType
Behavior
RangeOp