codemp/src/api/mod.rs

24 lines
506 B
Rust
Raw Normal View History

2024-09-04 21:37:35 +02:00
//! # API
//! These traits and structs represent the main `codemp` library API.
/// 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;
2024-09-04 21:37:35 +02:00
/// live events in workspaces
pub mod event;
2024-09-04 21:37:35 +02:00
/// data structure for remote users
pub mod user;
pub use controller::Controller;
pub use change::TextChange;
pub use cursor::Cursor;
pub use event::Event;
pub use user::User;