include-blob 0.1.5

Include large binary files in an application without incurring the compile time cost
Documentation
1
2
3
4
5
6
7
8
9
10
# `include-blob`

`include-blob` is a small crate that provides a replacement for
[`include_bytes!`] that does not have the same severe impact on compile times
when used with large files (several MB).

It works by pre-processing the files to be included in a build script, bundling
them into static libraries, and telling Cargo to link against them.

[`include_bytes!`]: https://doc.rust-lang.org/stable/std/macro.include_bytes.html