Skip to main content

Crate moddef_codegen

Crate moddef_codegen 

Source
Expand description

Typed Rust client generator for ModDef documents (spec §31).

generate(&ModDefDocument) emits one deterministic, no_std-compatible module per document; the moddef-rs binary wraps it as moddef-rs gen -o <dir> <file.moddef.yaml>....

Structs§

GeneratedFile

Functions§

generate
Generate the Rust module(s) for a document (currently always one file).