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.
d4dc6f7
— David Marcin
2020-12-05T20:01:19Z
Fix feature flag typo
- impl/src/lib.rs +1 -1
impl/src/lib.rs
CHANGED
|
@@ -98,7 +98,7 @@ fn dynamic(ident: &syn::Ident, folder_path: String) -> TokenStream2 {
|
|
|
98
98
|
|
|
99
99
|
fn generate_assets(ident: &syn::Ident, folder_path: String) -> TokenStream2 {
|
|
100
100
|
let embedded_impl = embedded(ident, folder_path.clone());
|
|
101
|
-
if cfg!(feature = "
|
|
101
|
+
if cfg!(feature = "debug-embed") {
|
|
102
102
|
return embedded_impl;
|
|
103
103
|
}
|
|
104
104
|
|