diff --git a/.changes/global-hotkey-08.md b/.changes/global-hotkey-08.md new file mode 100644 index 000000000..141f6661e --- /dev/null +++ b/.changes/global-hotkey-08.md @@ -0,0 +1,6 @@ +--- +global-shortcut: patch +global-shortcut-js: patch +--- + +Update crate `global-hotkey` to 0.8 to fix cpu usage while pressing the keys on windows and to add F13-F24 mappings on Linux/X11. diff --git a/Cargo.lock b/Cargo.lock index 284838484..13c133f8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2470,9 +2470,9 @@ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" [[package]] name = "global-hotkey" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9247516746aa8e53411a0db9b62b0e24efbcf6a76e0ba73e5a91b512ddabed7" +checksum = "8c386b0a4a70cb2d39fffd74480f985b6f0bfbcb934b6a6b6b7e630e448f242e" dependencies = [ "crossbeam-channel", "keyboard-types", diff --git a/plugins/global-shortcut/Cargo.toml b/plugins/global-shortcut/Cargo.toml index a42368014..4a8b8a162 100644 --- a/plugins/global-shortcut/Cargo.toml +++ b/plugins/global-shortcut/Cargo.toml @@ -27,4 +27,4 @@ log = { workspace = true } thiserror = { workspace = true } [target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies] -global-hotkey = { version = "0.7", features = ["serde"] } +global-hotkey = { version = "0.8", features = ["serde"] }