1
Fork 0
mirror of https://github.com/RGBCube/embd-rs synced 2025-07-27 05:27:44 +00:00

Don't use dir yet as it is broken

This commit is contained in:
RGBCube 2023-12-21 13:01:20 +03:00
parent a76d9199c0
commit 88e2b32d35
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View file

@ -13,9 +13,6 @@ After running `cargo add embed`, you can do:
```rs ```rs
let contents: String = embed::string!("path/to/file.txt"); let contents: String = embed::string!("path/to/file.txt");
let bytes: Vec<u8> = embed::bytes!("path/to/image.png"); let bytes: Vec<u8> = embed::bytes!("path/to/image.png");
let dir: embed::Dir = embed::dir!("path/to/dir");
``` ```
## License ## License

View file

@ -1,5 +1,5 @@
mod dir; // mod dir;
pub use dir::*; // pub use dir::*;
mod file; mod file;
pub use file::*; pub use file::*;