2023-09-10 03:03:49 +02:00
|
|
|
//! # 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;
|
|
|
|
|
2023-11-17 05:45:31 +01:00
|
|
|
/// a generic representation of a text change
|
|
|
|
pub mod change;
|
|
|
|
|
2024-08-05 19:15:30 +02:00
|
|
|
/// representation for an user's cursor
|
|
|
|
pub mod cursor;
|
|
|
|
|
2023-09-10 03:03:49 +02:00
|
|
|
pub use controller::Controller;
|
2023-11-17 05:45:31 +01:00
|
|
|
pub use change::TextChange;
|
2024-08-05 19:15:30 +02:00
|
|
|
pub use change::Op;
|
|
|
|
pub use cursor::Cursor;
|