Skip to main content

generate_to_file

Function generate_to_file 

Source
pub fn generate_to_file(
    spec_path: &Path,
    config: &Config,
    output_path: &Path,
) -> Result<()>
Expand description

Generate Rust from a spec file according to configuration and write it to output_path, creating parent directories as needed.