mirror of
https://github.com/RGBCube/embd-rs
synced 2025-07-27 21:47:45 +00:00
Don't use dir yet as it is broken
This commit is contained in:
parent
a76d9199c0
commit
88e2b32d35
2 changed files with 2 additions and 5 deletions
|
@ -13,9 +13,6 @@ After running `cargo add embed`, you can do:
|
|||
```rs
|
||||
let contents: String = embed::string!("path/to/file.txt");
|
||||
let bytes: Vec<u8> = embed::bytes!("path/to/image.png");
|
||||
|
||||
let dir: embed::Dir = embed::dir!("path/to/dir");
|
||||
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue