// This example loads all codegen plugins and lists them // // Run with: cargo run --example all_generators -p mlf-codegen use mlf_codegen::plugin; // Import all the plugin crates to trigger their registration extern crate mlf_codegen_typescript; extern crate mlf_codegen_go; extern crate mlf_codegen_rust; fn main() { println!("MLF Code Generator Plugins (All Loaded)\n"); println!("========================================\n"); let generators = plugin::generators(); println!("Found {} generator(s):\n", generators.len()); for generator in generators { println!(" {} ({}):", generator.name(), generator.file_extension() ); println!(" {}\n", generator.description()); } }