macro_rules! lazy_static_include_bytes {
( @impl $name:ident ) => { ... };
( @inner $name:ident, $path:expr ) => { ... };
( @unit $(#[$attr: meta])* $name:ident => $path:expr ) => { ... };
( @unit $(#[$attr: meta])* pub$(($($v:tt)+))? $name:ident => $path:expr ) => { ... };
( $($(#[$attr: meta])* $name:ident => $path:expr),* $(,)* ) => { ... };
( $($(#[$attr: meta])* pub$(($($v:tt)+))? $name:ident => $path:expr),* $(,)* ) => { ... };
}
Expand description
Includes a file as a reference to a byte array (&'static [u8]
).
The file is located relative to the directory containing the manifest of your package.