feat(global-shortcut): add plugin (#324)

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
Lucas Fernandes Nogueira
2023-04-18 18:18:14 -07:00
committed by GitHub
parent 8cd7d3501b
commit 4b66ba03a5
14 changed files with 857 additions and 2 deletions
Generated
+37
View File
@@ -1778,6 +1778,20 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "global-hotkey"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9da26790f92f0be4f7a894ca1d079140827a75a9fd25eb9912913c4853696ce2"
dependencies = [
"crossbeam-channel",
"keyboard-types",
"once_cell",
"thiserror",
"windows-sys 0.45.0",
"x11-dl",
]
[[package]]
name = "globset"
version = "0.4.10"
@@ -2346,6 +2360,17 @@ dependencies = [
"treediff",
]
[[package]]
name = "keyboard-types"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b7668b7cff6a51fe61cdde64cd27c8a220786f399501b57ebe36f7d8112fd68"
dependencies = [
"bitflags",
"serde",
"unicode-segmentation",
]
[[package]]
name = "kqueue"
version = "1.0.7"
@@ -4654,6 +4679,18 @@ dependencies = [
"thiserror",
]
[[package]]
name = "tauri-plugin-global-shortcut"
version = "0.1.0"
dependencies = [
"global-hotkey",
"log",
"serde",
"serde_json",
"tauri",
"thiserror",
]
[[package]]
name = "tauri-plugin-localhost"
version = "0.1.0"