~repos /rust-embed
git clone https://pyrossh.dev/repos/rust-embed.git
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
29b4ebe0
—
Peter John 3 years ago
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.
|