macro_rules! embed_directory {
($name:tt, $path:tt) => { ... };
}
Expand description
Returns an embedded [Vc<Box
This will embed a directory’s content into the binary and
create an [Vc
If you enable the dynamic_embed_contents
feature, calling
the macro will return a [Vc
This enables dynamic linking (and hot reloading) of embedded files/dirs.
A binary built with dynamic_embed_contents
enabled is is not portable,
only the directory path will be embedded into the binary.