removed extra feature flags
This commit is contained in:
parent
584491a854
commit
655b19a5c9
2 changed files with 1 additions and 3 deletions
|
@ -13,6 +13,4 @@ crossbeam-channel = "0.5"
|
||||||
inputbot = {path = "D:\\Inputbot"}
|
inputbot = {path = "D:\\Inputbot"}
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["with_hotkeys"]
|
|
||||||
with_hotkeys = []
|
|
||||||
no_hotkeys = []
|
no_hotkeys = []
|
|
@ -17,7 +17,7 @@ pub const OPTIONS_PATH: &str = "./options.json";
|
||||||
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<String>, close_flag: workctl::sync_flag::SyncFlagRx) {
|
pub fn create_keyboard_hooks(channel_tx: crossbeam_channel::Sender<String>, close_flag: workctl::sync_flag::SyncFlagRx) {
|
||||||
|
|
||||||
let tx_1 = channel_tx.clone();
|
let tx_1 = channel_tx.clone();
|
||||||
|
|
Loading…
Reference in a new issue