codemp/src/prelude.rs

27 lines
589 B
Rust
Raw Normal View History

2023-08-20 00:46:55 +02:00
//! ### Prelude
//!
//! all-in-one renamed imports with `use codemp::prelude::*`
pub use crate::{
Error as CodempError,
Result as CodempResult,
};
pub use crate::api::{
Controller as CodempController,
TextChange as CodempTextChange,
Cursor as CodempCursor,
Op as CodempOp,
User as CodempUser,
};
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;