embed_file

Macro embed_file 

Source
embed_file!() { /* proc-macro */ }
Expand description

Embed a schema from a file (reads at compile time).

The schema must have a meta { id ... } block.

§Example

styx_embed::embed_file!("schema.styx");