Crate include_data_uri
source ·Expand description
This is a simple Proc Macro library, see [include_data_uri] for documentation
Macros§
- This macro functions similarly to std::include_str but instead of including a file literally, it encodes it with base64 and, gets the file type with mime_guess, and then uses those to create a data URI