diff --git a/Cargo.toml b/Cargo.toml index be9d76d..f8acb65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,4 @@ crossbeam-channel = "0.5" inputbot = {path = "D:\\Inputbot"} [features] -default = ["with_hotkeys"] -with_hotkeys = [] no_hotkeys = [] \ No newline at end of file diff --git a/src/modules/external_interface.rs b/src/modules/external_interface.rs index 2fe9df6..1ad1c15 100644 --- a/src/modules/external_interface.rs +++ b/src/modules/external_interface.rs @@ -17,7 +17,7 @@ pub const OPTIONS_PATH: &str = "./options.json"; pub const OPTIONS_PATH: &str = "./options.json"; */ -#[cfg(feature = "with_hotkeys")] +#[cfg(feature = "default")] pub fn create_keyboard_hooks(channel_tx: crossbeam_channel::Sender, close_flag: workctl::sync_flag::SyncFlagRx) { let tx_1 = channel_tx.clone();