rust-embed v8.11.0
git clone https://git.pyrossh.dev/rust-embed
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
f7605eb
— Jasper van Herpt
2022-11-19T01:47:33+01:00
Add notion of `is_dir` to README
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
|
|