~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.
f4874638
—
Liran Piade 11 months ago
Revert irrelevant change to readme
readme.md
CHANGED
|
@@ -121,7 +121,7 @@ This will pull the `foo` directory relative to your `Cargo.toml` file.
|
|
|
121
121
|
Compress each file when embedding into the binary. Compression is done via [`include-flate`].
|
|
122
122
|
|
|
123
123
|
### `include-exclude`
|
|
124
|
-
Filter files to be embedded with multiple `#[include = "*.txt"]` and `#[exclude = "*.jpg"]` attributes.
|
|
124
|
+
Filter files to be embedded with multiple `#[include = "*.txt"]` and `#[exclude = "*.jpg"]` attributes.
|
|
125
125
|
Matching is done on relative file paths, via [`globset`].
|
|
126
126
|
`exclude` attributes have higher priority than `include` attributes.
|
|
127
127
|
Example:
|