Crate static_include_bytes
source ·Expand description
../README.md
Macros
- Inserts a static byte array definition with both its content and length loaded from a file at compile time.
static_include_bytes!(NAME, PATH)
is semantically equivalent tostatic NAME: [u8; _] = *include_bytes!(PATH);
which you cannot write directly as of 2023-08-18 due to https://github.com/rust-lang/rust/issues/85077 .