pub fn generate<P1: AsRef<Path>, P2: AsRef<Path>>(
    schema_filename: P1,
    output_filename: P2,
    derivatives: &[&str],
    imports: &[(&str, &str)]
) -> Result<(), GenError>