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.
537fbeb
— William Batista
2021-02-03T20:19:28-05:00
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,
|