diff --git a/Cargo.toml b/Cargo.toml index 601fecc5..a6486cac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,11 +20,7 @@ default = [] unstable_two_way_sync = [] # Enable this feature to live-reload assets from the web UI. -dev-live-assets = [] - -# Enables specifying user plugins in the project file. User plugins are Lua -# files and currently not fully implemented. See issue #55. -user-plugins = [] +dev_live_assets = [] [workspace] members = [ diff --git a/src/web/assets.rs b/src/web/assets.rs index 481c588c..09bfc3db 100644 --- a/src/web/assets.rs +++ b/src/web/assets.rs @@ -1,7 +1,7 @@ macro_rules! declare_asset { ($name: ident, $path: expr) => { pub fn $name() -> &'static str { - if cfg!(feature = "dev-live-assets") { + if cfg!(feature = "dev_live_assets") { use std::{fs::read_to_string, path::Path}; let file_path = Path::new(file!());