~repos /rust-embed
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.
537fbeb0
—
William Batista 4 years ago
Fixed formatting issue
- src/lib.rs +0 -1
- utils/src/lib.rs +0 -1
src/lib.rs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
#![forbid(unsafe_code)]
|
|
2
2
|
#[cfg(feature = "compression")]
|
|
3
3
|
#[cfg_attr(feature = "compression", doc(hidden))]
|
|
4
|
-
|
|
5
4
|
pub use include_flate::flate;
|
|
6
5
|
|
|
7
6
|
#[allow(unused_imports)]
|
utils/src/lib.rs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#![forbid(unsafe_code)]
|
|
2
2
|
#[cfg_attr(all(debug_assertions, not(feature = "debug-embed")), allow(unused))]
|
|
3
|
-
|
|
4
3
|
pub struct FileEntry {
|
|
5
4
|
pub rel_path: String,
|
|
6
5
|
pub full_canonical_path: String,
|