pub fn make_includable<A: AsRef<Path>>(path: A)
Expand description
Call this from your build script to make path
includable via include_blob!
.
path
can refer to a file or a directory (which processes every file in the directory).
path
is relative to the directory the build script runs in (which is the package’s “source
directory” according to Cargo’s docs, so probably the directory containing Cargo.toml
).