Expand description
Proc-macros for embark: embed_bytes!, embed_crypt!, and the
Embed derive. Re-exported from the embark crate under
its derive feature; use them via embark::embed_bytes! etc. rather
than depending on this crate directly.
Macros§
- embed_
bytes - Embeds a single file’s bytes at build time, expanding to an
EmbeddedBytes(or, with nocodecargument, a plaininclude_bytes!-style&'static [u8]). - embed_
crypt - Embeds a single file, encrypted at build time with ChaCha20-Poly1305 (or,
with
cipher = aes, AES-256-GCM), expanding to anEncryptedFile, generic over a type-state marker (EmbeddedKeyorRuntimeKey) that determines which decrypt methods the resulting handle has.