mockforge_plugin_core/
manifest.rs

1//! Plugin manifest and metadata handling
2//!
3//! This module defines the plugin manifest format and provides utilities
4//! for loading, validating, and managing plugin metadata.
5
6// Sub-modules
7pub mod loader;
8pub mod models;
9pub mod schema;
10
11// Re-export main types and functions for convenience
12pub use loader::ManifestLoader;
13pub use models::{PluginAuthor, PluginDependency, PluginInfo, PluginManifest};
14pub use schema::{ConfigProperty, ConfigSchema, PropertyType, PropertyValidation};
15#[cfg(test)]
16mod tests {
17    use super::*;
18
19    #[test]
20    fn test_module_exports() {
21        // Test that main types are accessible
22        let _ = std::marker::PhantomData::<PluginManifest>;
23        let _ = std::marker::PhantomData::<ManifestLoader>;
24        let _ = std::marker::PhantomData::<ConfigSchema>;
25    }
26}