codemp/src/prelude.rs
alemi b98be22a8b
feat: more capillar errors
so its clear that some functions wont return a transport error or an rpc
error
2024-09-01 02:46:03 +02:00

21 lines
526 B
Rust

//! ### Prelude
//!
//! all-in-one renamed imports with `use codemp::prelude::*`
pub use crate::api::{
Controller as CodempController,
TextChange as CodempTextChange,
Cursor as CodempCursor,
User as CodempUser,
Event as CodempEvent,
};
pub use crate::{
client::Client as CodempClient,
workspace::Workspace as CodempWorkspace,
cursor::Controller as CodempCursorController,
buffer::Controller as CodempBufferController,
};
#[deprecated = "use CodempUser instead"]
pub use crate::api::user::User as CodempUserInfo;