#base64 #proc-macro #data-url

macro include_data_uri

include a file as a data uri

4 releases

0.1.3 Jan 26, 2024
0.1.2 Jan 26, 2024
0.1.1 Jan 26, 2024
0.1.0 Jan 26, 2024

#1152 in Rust patterns

Download history 15/week @ 2024-01-22 9/week @ 2024-02-19 12/week @ 2024-02-26 9/week @ 2024-03-04 9/week @ 2024-03-11 65/week @ 2024-04-01

77 downloads per month

MIT license

24KB

include_data_uri

Crate Docs

A simple Proc Macro library for embedding a file as a base64 encoded data URI into your Rust program.

Bugs and Contributions welcome!


lib.rs:

This is a simple Proc Macro library, see include_data_uri for documentation

Dependencies

~0.8–1.3MB
~30K SLoC