mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-11 14:53:12 +00:00
* refactor: use rich text style config * chore: rm log * feat: support config text style in wasm * feat: overlapped styles * chore: add warning style key cannot contain ':' * test: refine test case for richtext * test: refine test
56 lines
1.1 KiB
Rust
56 lines
1.1 KiB
Rust
//! loro-internal is a CRDT framework.
|
|
//!
|
|
//!
|
|
//!
|
|
//!
|
|
#![deny(clippy::undocumented_unsafe_blocks)]
|
|
#![warn(rustdoc::broken_intra_doc_links)]
|
|
|
|
pub mod arena;
|
|
pub mod diff_calc;
|
|
pub mod handler;
|
|
pub use event::{ContainerDiff, DiffEvent, DocDiff};
|
|
pub use fxhash::FxHashMap;
|
|
pub use handler::{ListHandler, MapHandler, TextHandler, TreeHandler};
|
|
pub use loro::LoroDoc;
|
|
pub use oplog::OpLog;
|
|
pub use state::DocState;
|
|
pub mod loro;
|
|
pub mod obs;
|
|
pub mod oplog;
|
|
pub mod txn;
|
|
|
|
pub mod change;
|
|
pub mod configure;
|
|
pub mod container;
|
|
pub mod dag;
|
|
mod encoding;
|
|
pub mod id;
|
|
pub mod op;
|
|
pub mod version;
|
|
|
|
mod error;
|
|
#[cfg(feature = "test_utils")]
|
|
pub mod fuzz;
|
|
mod span;
|
|
#[cfg(test)]
|
|
pub mod tests;
|
|
mod utils;
|
|
|
|
pub mod delta;
|
|
pub mod event;
|
|
|
|
pub use error::{LoroError, LoroResult};
|
|
pub(crate) mod group;
|
|
pub(crate) mod macros;
|
|
pub(crate) mod state;
|
|
pub(crate) mod value;
|
|
pub(crate) use id::{PeerID, ID};
|
|
|
|
// TODO: rename as Key?
|
|
pub(crate) use loro_common::InternalString;
|
|
|
|
pub use container::ContainerType;
|
|
pub use loro_common::{loro_value, to_value};
|
|
pub use value::{ApplyDiff, LoroValue, ToJson};
|
|
pub use version::VersionVector;
|