rust-embed v8.11.0
git clone https://git.pyrossh.dev/rust-embed
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
29b4ebe
— Peter John
2022-08-20T19:01:16+05:30
Update readme.md
readme.md
CHANGED
|
@@ -101,6 +101,8 @@ This will pull the `foo` directory relative to your `Cargo.toml` file.
|
|
|
101
101
|
### `compression`
|
|
102
102
|
|
|
103
103
|
Compress each file when embedding into the binary. Compression is done via [`include-flate`].
|
|
104
|
+
> Note this feature should only be used with clean builds as it doesn't work properly for incremental builds yet. Please look at this issue for more details [#182](https://github.com/pyrossh/rust-embed/issues/182)
|
|
105
|
+
|
|
104
106
|
|
|
105
107
|
### `include-exclude`
|
|
106
108
|
Filter files to be embedded with multiple `#[include = "*.txt"]` and `#[exclude = "*.jpg"]` attributes.
|