mirror of
https://github.com/hexedtech/codemp.git
synced 2025-03-18 01:01:34 +01:00
27 lines
631 B
Rust
27 lines
631 B
Rust
//! # 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;
|
|
|
|
/// client configuration
|
|
pub mod config;
|
|
|
|
/// representation for an user's cursor
|
|
pub mod cursor;
|
|
|
|
/// live events in workspaces
|
|
pub mod event;
|
|
|
|
/// data structure for remote users
|
|
pub mod user;
|
|
|
|
pub use change::{BufferUpdate, TextChange};
|
|
pub use config::Config;
|
|
pub use controller::{AsyncReceiver, AsyncSender, Controller};
|
|
pub use cursor::{Cursor, Selection};
|
|
pub use event::Event;
|
|
pub use user::User;
|