embed_silo!() { /* proc-macro */ }Expand description
Macro to embed all files in a directory as a PHF map for fast, allocation-free access.
Usage: let silo = embed_silo!("assets"); or let silo = embed_silo!("assets", force = true);
In debug mode, uses dynamic loading unless force = true.
Directory path must exist at build time for embedding.