mirror of
https://github.com/hexedtech/codemp.git
synced 2025-03-21 18:51:32 +01:00
so plugins dont need to interact directly with our underlying proto struct, nor our underlying crdt ops. also for wrapping directly in glue
19 lines
499 B
Rust
19 lines
499 B
Rust
//! # api
|
|
//!
|
|
//! these traits represent the internal api for the codemp library.
|
|
//! more methods and structs are provided but these are the core interfaces to
|
|
//! interact with the client.
|
|
|
|
/// a generic async provider for bidirectional communication
|
|
pub mod controller;
|
|
|
|
/// a generic representation of a text change
|
|
pub mod change;
|
|
|
|
/// representation for an user's cursor
|
|
pub mod cursor;
|
|
|
|
pub use controller::Controller;
|
|
pub use change::TextChange;
|
|
pub use change::Op;
|
|
pub use cursor::Cursor;
|