~repos /rust-embed

#rust#proc-macro#http

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
Files changed (2) hide show
  1. src/lib.rs +0 -1
  2. 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,