diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-01 20:14:56 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-01 20:16:17 +0800 |
| commit | f1ed18e668a830646fe507ee33c4b010a1690342 (patch) | |
| tree | 6d13b5ca65ec4df6b8df1c03df3c96301d435bbf /mingling_core/src/lib.rs | |
| parent | 227e710fe716c8901ee02e670a57fb70eb3f222b (diff) | |
Add documentation for mingling_core
Diffstat (limited to 'mingling_core/src/lib.rs')
| -rw-r--r-- | mingling_core/src/lib.rs | 43 |
1 files changed, 29 insertions, 14 deletions
diff --git a/mingling_core/src/lib.rs b/mingling_core/src/lib.rs index 3d2be11..bcad91d 100644 --- a/mingling_core/src/lib.rs +++ b/mingling_core/src/lib.rs @@ -1,28 +1,43 @@ +//! Mingling Core +//! +//! # Intro +//! This crate is the core implementation of `mingling`, containing the complete logic for command dispatching, execution, and rendering. +//! +//! # Note +//! It is not recommended to use [mingling_core](https://crates.io/crates/mingling_core) directly, as this will lose the code generation functionality of [mingling_macros](https://crates.io/crates/mingling_macros). +//! +//! Recommended to import [mingling](https://crates.io/crates/mingling) to use its features. + mod any; +mod asset; +mod markers; +mod program; +mod renderer; + pub use crate::any::group::*; pub use crate::any::*; -mod markers; -pub mod marker { - pub use crate::markers::group_process::*; -} +pub use crate::asset::chain::*; +pub use crate::asset::dispatcher::*; +pub use crate::asset::node::*; +pub use crate::asset::renderer::*; +/// All error types of `Mingling` pub mod error { pub use crate::asset::chain::error::*; pub use crate::exec::error::*; } -mod program; pub use crate::program::*; + +pub use crate::renderer::render_result::*; + +/// All marker types of `Mingling` that serve no practical purpose +pub mod marker { + pub use crate::markers::group_process::*; +} + +/// `Mingling`'s Program initialization system pub mod setup { pub use crate::program::setup::*; } - -mod renderer; - -mod asset; -pub use crate::asset::chain::*; -pub use crate::asset::dispatcher::*; -pub use crate::asset::node::*; -pub use crate::asset::renderer::*; -pub use crate::renderer::render_result::*; |
