~repos /rust-embed

#rust#proc-macro#http

git clone https://pyrossh.dev/repos/rust-embed.git
Discussions: https://groups.google.com/g/rust-embed-devs

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


Files changed (1) hide show
  1. readme.md +2 -0
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.