Expand description
Sigil-stitch emit for IR schemas (Rust models).
Each supported IrSchemaKind maps to one models/<name>.rs file.
Coverage:
Object— struct with serde derives and#[serde(rename)]tags.Enum— Rust enum with serde rename per variant.Alias—pub type X = Y;Union—#[serde(untagged)]enum.Intersection— struct with#[serde(flatten)]fields.TaggedUnion— serde-tagged enum (internal/adjacent/external).
Functions§
- generate_
model_ files - Generate every model file from the IR.
- rust_
type_ str - rust_
type_ str_ qualified - Map an IR type to a Rust type string, qualified for use from API modules.