diff options
Diffstat (limited to 'mingling_core/src/lib.rs')
| -rw-r--r-- | mingling_core/src/lib.rs | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/mingling_core/src/lib.rs b/mingling_core/src/lib.rs index b1bfe08..3db3d31 100644 --- a/mingling_core/src/lib.rs +++ b/mingling_core/src/lib.rs @@ -42,21 +42,8 @@ pub mod core_res { #[cfg(feature = "comp")] pub(crate) mod comp; -/// Provides Mingling's build script module, used in `build.rs` to provide build-time behavior for certain features. -/// -/// To use it, add the following to your `Cargo.toml` under `[build-dependencies]`, and enable the features -/// that require build-time behavior from the crate: -/// -/// ```toml -/// [build-dependencies.mingling] -/// version = "0.3.0" -/// features = [ -/// "build", // Enable it -/// "comp", // If you need completion-related build-time behavior, enable this as well -/// ] -/// ``` #[cfg(feature = "build")] -#[doc(hidden)] +#[doc = include_str!("docs/build.md")] pub mod build; // Public Modules @@ -83,6 +70,7 @@ pub use crate::asset::enum_tag::*; pub use crate::asset::global_resource::*; pub use crate::asset::help::*; pub use crate::asset::lazy_resource::*; +pub use crate::asset::metadata::*; pub use crate::asset::node::*; pub use crate::asset::renderer::*; pub use crate::asset::routable::*; @@ -115,3 +103,6 @@ mod private; pub mod __private { pub use crate::private::*; } + +/// Mingling's convention metadatas, which can be bound to types using `#[metadata]`, to provide identification for types +pub mod metadata; |
