Macro data_url_encode

Source
macro_rules! data_url_encode {
    ($($proc_macro:tt)*) => { ... };
}
Expand description

Encodes given string literal to base64 and, then, using percent encoding during the compile-time. So, resulting static str can be used in data URLs.