~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.


95a6c79e pyros2097

7 years ago
fix typo
Files changed (1) hide show
  1. src/lib.rs +1 -1
src/lib.rs CHANGED
@@ -80,7 +80,7 @@ macro_rules! register_macros {
80
80
  #[plugin_registrar]
81
81
  pub fn plugin_registrar(reg: &mut Registry) {
82
82
  register_macros!(reg,
83
- "embeb" => embed,
83
+ "embed" => embed
84
84
  );
85
85
  }
86
86