inline-blob
A proc_macro Rust crate that allows you to include gigabytes of data inline in binaries (including lib crates).
How it works
This expands:
use blob;
blob!;
into something like:
pub static MY_DATA: = *include_bytes!;
Visibility is supported.
use blob;
blob!;
is expanded into something like:
pub static MY_DATA: = *include_bytes!;
We only tested this crate for x86_64 ELF targets (specifically musl and GNU).