Skip to main content

Module generator

Module generator 

Source
Expand description

Top-level code generation orchestrator.

generate is the main entry point. It takes a validated ferriorm_core::schema::Schema and an output directory, then writes all generated Rust source files: per-model modules, an enums module, the FerriormClient module, and a mod.rs that ties them together. Each file is prefixed with an auto-generated header so users know not to edit it.

Enums§

GenerateError

Functions§

generate
Generate all Rust source files from a validated schema.