mirror of
https://github.com/RGBCube/embd-rs
synced 2025-07-27 13:37:44 +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
|
```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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mod dir;
|
// mod dir;
|
||||||
pub use dir::*;
|
// pub use dir::*;
|
||||||
|
|
||||||
mod file;
|
mod file;
|
||||||
pub use file::*;
|
pub use file::*;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue