Macro include_blob::include_blob
source · include_blob!() { /* proc-macro */ }
Expand description
Includes a binary file that was prepared for inclusion by a build script.
Takes a string literal as its argument, denoting the file’s path (relative to the directory
containing the package’s Cargo.toml
).
The macro expands to an expression of type &[u8; N]
, where N
is the size of the file in
Bytes.