[][src]Macro data_url_encode_macro::data_url_encode

macro_rules! data_url_encode {
    #[proc_macro_hack] => { ... };
}

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.