static_asset!() { /* proc-macro */ }Expand description
Creates a static asset from the given path/url and caches the file for faster compilation times.
This will either read a file path or download the file from the given URL using ureq.
After the data has been retrieved, it will be saved as a static asset file in a temporary directory (e.g. %temp% on windows).
When re-executing this macro, the file can be re-loaded for faster compilation times.