~repos /rust-embed

#rust#proc-macro#http

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.


73591efa pyros2097

9 years ago
Update README.md
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -24,6 +24,13 @@ This is similar to [go-bindata](https://github.com/jteeuwen/go-bindata).
24
24
 
25
25
  This is similar to [pony-embed](https://github.com/pyros2097/pony-embed).
26
26
 
27
+ Note:
28
+
29
+ This is not the same as std macros,
30
+ `include_bytes!`
31
+ `include_str!`
32
+ these are macros which generate code at compile time whereas rust-embed generates code when the command is run. And rust-embed works only on folders.
33
+
27
34
  ## Installation
28
35
 
29
36
  ```