~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.


f7605ebe Jasper van Herpt

3 years ago
Add notion of `is_dir` to README
Files changed (1) hide show
  1. readme.md +1 -0
readme.md CHANGED
@@ -55,6 +55,7 @@ pub struct EmbeddedFile {
55
55
  pub struct Metadata {
56
56
  hash: [u8; 32],
57
57
  last_modified: Option<u64>,
58
+ is_dir: bool,
58
59
  }
59
60
  ```
60
61