rust-embed icon indicating copy to clipboard operation
rust-embed copied to clipboard

Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.

Results 23 rust-embed issues
Sort by recently updated
recently updated
newest added

I generated some header files to `$OUT_DIR/include` and I want to embed them with compression because the nature of source code (at least human readable text) very much suits dictionary...

Chasing down a crash in a program that is cross-compiled from Linux to Windows and then run under Wine 8.0. Tried building rust-embed's examples. ``` > cargo build --target x86_64-pc-windows-gnu...

Clippy warns on [same_name_method](https://rust-lang.github.io/rust-clippy/master/#same_name_method) because the generated code has two methods with the same name: one from a trait, another not from trait (`get()`/`iter()`). I made a simple example to...

Hi, Thanks for the great crate! I'd like to request a new feature where files are always embedded regardless of build type, but queried files can be read either from...

Our project has strict rules on panic, and avoiding behavior which may panic. We are getting the following error when running cargo clippy on a file which uses RustEmbed: ```...

Hello First thanks for your work! I was wondering if there is a way to check that single files exist at compile time. The folder is checked correctly however not...

I use rust-embed for my webservers, and am a great advocate of it. However, it seems that implementing the cachebusting filename pattern is somewhat difficult. While the SHA256 hash is...

Hi @pyrossh, thanks for taking the time to maintain this crate and oversee the community's contributions :raised_hands: I'd like to request this feature: allow end users to specify a custom...

enhancement

During my test, I found the macro RustEmbed always scans the files under the excluded folders. ``` #[derive(RustEmbed)] #[folder = "resources"] #[exclude = "node_modules/*"] struct Assets; fn main() { for...

For many use-cases, case-insensitivity is very useful. It would be convenient to have an attribute to allow this.

enhancement