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, gets the file type withmime_guess
, and then uses those to create a data URI