A Rust procedural macro that transforms CSV data into safe, zero-cost code. Generate match arms, loops, and nested queries directly from CSV files, ensuring type safety and deterministic code generation.
usecsv_codegen::csv_template;fnmain(){// This should fail because products.csv has multiple products (groups)
// but implicit {} syntax expects exactly one group
// trybuild builds 4 dirs deep inside target/
csv_template!("../products.csv",{pubconst#CONST({name}_PRICE):f64=#({price}_f64);});}