From 655b19a5c97b379d8dd1c6d919212f2778beb83a Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Wed, 29 Jun 2022 18:52:49 -0700 Subject: [PATCH] removed extra feature flags --- Cargo.toml | 2 -- src/modules/external_interface.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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();