A human-friendly DSL for ATProto Lexicons
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 26 lines 754 B view raw
1// This example loads all codegen plugins and lists them 2// 3// Run with: cargo run --example all_generators -p mlf-codegen 4 5use mlf_codegen::plugin; 6 7// Import all the plugin crates to trigger their registration 8extern crate mlf_codegen_typescript; 9extern crate mlf_codegen_go; 10extern crate mlf_codegen_rust; 11 12fn main() { 13 println!("MLF Code Generator Plugins (All Loaded)\n"); 14 println!("========================================\n"); 15 16 let generators = plugin::generators(); 17 println!("Found {} generator(s):\n", generators.len()); 18 19 for generator in generators { 20 println!(" {} ({}):", 21 generator.name(), 22 generator.file_extension() 23 ); 24 println!(" {}\n", generator.description()); 25 } 26}