diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-09 13:21:01 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-09 13:21:01 +0800 |
| commit | c0a29ccd2cd56e75c2b422b3cd9ca65d76a554da (patch) | |
| tree | 26ce74a8f1138bed899d7896b48f1d5706ab96d4 /mingling_core/src/lib.rs | |
| parent | c08ea7d8474335cadf13a2a7e45ca497fe375d90 (diff) | |
Move `comp` module from `asset` to crate root
Diffstat (limited to 'mingling_core/src/lib.rs')
| -rw-r--r-- | mingling_core/src/lib.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mingling_core/src/lib.rs b/mingling_core/src/lib.rs index c141a65..f4f7d18 100644 --- a/mingling_core/src/lib.rs +++ b/mingling_core/src/lib.rs @@ -27,8 +27,6 @@ pub use crate::any::group::*; pub use crate::any::*; pub use crate::asset::chain::*; -#[cfg(feature = "comp")] -pub use crate::asset::comp::*; pub use crate::asset::dispatcher::*; pub use crate::asset::enum_tag::*; pub use crate::asset::global_resource::*; @@ -64,3 +62,10 @@ pub mod build { /// Provided for framework developers pub mod debug; + +#[cfg(feature = "comp")] +#[doc(hidden)] +pub mod comp; + +#[cfg(feature = "comp")] +pub use crate::comp::*; |
