Macro tusk_rs_derive::embed

source ·
embed!() { /* proc-macro */ }
Expand description

Embed a file into the binary as a string. This is useful for HTML files or other static files that need to be represented as a string.

The path is derived relative to the project root, which makes it easier to import from /static, /public, or other directories.