Crate oatie [] [src]

Defines types for using operational tranform to modify HTML-like documents.

See the book for more details: http://tcr.github.io/edit-text/

Re-exports

pub use transform::Schema;
pub use transform::Track;

Modules

apply

Methods to apply an operation to a document.

compose

Composes two operations together.

doc

Defines document types, operation types, and cursor types.

macros

Macros for more easily creating operations and documents in code.

schema

Performs operational transform.

stepper

Enables stepping through a span operation.

transform

Performs operational transform on a Doc.

transform_test

Helper methods for performing transform tests.

validate

Validates a document matches a given Schema.

writer

Classes for generating operation steps (add / del).

Macros

add_span
del_span
doc_span
op_span

Traits

OT

A type that can have operational transform applied to it. The OT trait is implemented on an operation object, and its associated type Doc is what the operation should operate on.