Skip to main content

Module adaptive_card

Module adaptive_card 

Source
Expand description

Adaptive Cards transpiler (Windows Widgets Board). IR → Adaptive Card 1.5 transpiler for Windows Widgets Board.

Pure Rust — runs on any host. Elements Adaptive Cards cannot express (canvas, chart, gauge, zstack, …) become empty placeholders and are recorded in TranspileResult::skipped.

Structs§

TranspileResult
Result of transpiling one IR root (plus skipped diagnostics).

Functions§

ac_data_key
ac_template_key
Storage keys written next to the config map for the C# provider.
to_adaptive_card
Build an Adaptive Card 1.5 document from a root element.
to_adaptive_card_for_size
Pick a size branch from WidgetConfig and transpile.
validate_card_structure
Structural check (no full JSON Schema dependency).