1 2 3 4 5 6 7 8 9
pub fn main() { extern crate quasi_codegen; use std::env; use std::path::Path; let src = Path::new("codegen.in.rs"); let dst = Path::new(&env::var_os("OUT_DIR").unwrap()).join("codegen.rs"); quasi_codegen::expand(&src, &dst).unwrap(); }