Crates.io | include-blob |
lib.rs | include-blob |
version | 1.0.0 |
source | src |
created_at | 2023-01-24 20:56:11.334148 |
updated_at | 2024-04-19 00:05:03.077886 |
description | Include large binary files in an application without incurring the compile time cost |
homepage | |
repository | https://github.com/SludgePhD/include-blob |
max_upload_size | |
id | 766926 |
size | 11,695 |
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.