include_dir
include_dir copied to clipboard
The logical evolution of the include_str macro for embedding a directory tree into your binary.
Please include the LICENSE file in the published crate. Thanks.
It would be great if we could include just the files matching a particular glob. This is similar to https://github.com/Michael-F-Bryan/include_dir/issues/13, but I think a glob design would be far easier...
I'm not sure if this PR should even be merged as is, I'm partially opening it in case someone else runs into this as well. The issue being when you...
Fixed the `extract_all_files` test not properly recursing into sub-directories. Added a file tree (under `include_dir/tests/tree`) explicitly for integration testing. - This tree is deeper than the source code previously used...
This is an issue to propose the idea of considering adding `no_std` support. `include_str!` and `include_bytes!` both have it, so it would make sense for this too.
Hi, I was working on packaging this crate to include it to Debian. It will be a dependency of something else there. The crate builds and works just fine, but...
To avoid bloating binaries too much, let's introduce a feature flag which will allow data to be compressed when it is embedded in the binary, then lazily decompressed when it...
A suggested solution for #14
You should be able to exclude any files which match a particular [glob]. I'm not a massive fan of adding extra configuration to the `include_dir!()` macro syntax (see [*Project Goals...
It would be great if you could modify the invocation slightly, say by putting another `/` outside the string literal, to have all the paths be `/{path}` instead of just...