Skip to main content

generate_scaffold

Function generate_scaffold 

Source
pub fn generate_scaffold(
    config: &ScaffoldConfig,
) -> Result<Vec<GeneratedFile>, ExtensionError>
Expand description

Generates the complete set of project files for a new DuckDB Rust extension.

Validates the configuration and returns a list of GeneratedFiles that can be written to disk. Does NOT write files — callers decide how to persist them. Warnings about values that were accepted are dropped; use generate_scaffold_with_warnings to see them.

§Errors

As generate_scaffold_with_warnings.