declare_asset

Macro declare_asset 

Source
macro_rules! declare_asset {
    ($file:expr $(,)?) => { ... };
}
Expand description

Declares a file as a static asset.

The content of the file is compiled into the server binary using the include_bytes macro.