Skip to main content

Crate grounddb_codegen

Crate grounddb_codegen 

Source
Expand description

GroundDB code generation - generates Rust types from schema.yaml at compile time.

The main entry point is generate_from_schema, which reads a schema.yaml file and writes a complete Rust source file with typed structs, enums, and store accessors.

Modules§

type_utils

Functions§

generate_from_schema
Generate Rust types from a schema.yaml file.
generate_from_schema_str
Generate Rust types from a schema YAML string.