Macro tusk_rs::embed_binary
source · embed_binary!() { /* proc-macro */ }
Expand description
Embed a file into the binary as a byte array. This is useful for binary files that need to be represented as a byte array.
This is similar to [std::core::include_bytes
], but the path
is derived relative to the project root, which makes it easier
to import from /static, /public, or other directories.