Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Update dependencies to support v2

Ilya9de244058387
diff --git a/Cargo.lock b/Cargo.lock
index a48ed4c40..201bb2252 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,12 +2,6 @@
# It is not intended for manual editing.
version = 3
-[[package]]
-name = "Inflector"
-version = "0.11.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
-
[[package]]
name = "ab_glyph"
version = "0.2.28"
@@ -107,7 +101,7 @@ dependencies = [
"bitflags 2.6.0",
"cc",
"cesu8",
- "jni 0.21.1",
+ "jni",
"jni-sys",
"libc",
"log",
@@ -262,26 +256,25 @@ checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b"
[[package]]
name = "atk"
-version = "0.15.1"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c3d816ce6f0e2909a96830d6911c2aff044370b1ef92d7f267b43bae5addedd"
+checksum = "b4af014b17dd80e8af9fa689b2d4a211ddba6eb583c1622f35d0cb543f6b17e4"
dependencies = [
"atk-sys",
- "bitflags 1.3.2",
"glib",
"libc",
]
[[package]]
name = "atk-sys"
-version = "0.15.1"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58aeb089fb698e06db8089971c7ee317ab9644bade33383f63631437b03aafb6"
+checksum = "251e0b7d90e33e0ba930891a505a9a35ece37b2dd37a14f3ffc306c13b980009"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
@@ -311,12 +304,6 @@ dependencies = [
"rustc-demangle",
]
-[[package]]
-name = "base64"
-version = "0.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
-
[[package]]
name = "base64"
version = "0.21.7"
@@ -339,7 +326,7 @@ dependencies = [
"bitflags 2.6.0",
"cexpr",
"clang-sys",
- "itertools 0.12.1",
+ "itertools",
"lazy_static",
"lazycell",
"log",
@@ -405,7 +392,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15b55663a85f33501257357e6421bb33e769d5c9ffb5ba0921c975a123e35e68"
dependencies = [
"block-sys",
- "objc2",
+ "objc2 0.4.1",
+]
+
+[[package]]
+name = "block2"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f"
+dependencies = [
+ "objc2 0.5.2",
]
[[package]]
@@ -429,16 +425,6 @@ dependencies = [
"alloc-stdlib",
]
-[[package]]
-name = "bstr"
-version = "1.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c"
-dependencies = [
- "memchr",
- "serde",
-]
-
[[package]]
name = "bumpalo"
version = "3.16.0"
@@ -468,26 +454,27 @@ dependencies = [
[[package]]
name = "cairo-rs"
-version = "0.15.12"
+version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c76ee391b03d35510d9fa917357c7f1855bd9a6659c95a1b392e33f49b3369bc"
+checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.6.0",
"cairo-sys-rs",
"glib",
"libc",
+ "once_cell",
"thiserror",
]
[[package]]
name = "cairo-sys-rs"
-version = "0.15.1"
+version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c55d429bef56ac9172d25fecb85dc8068307d17acd74b377866b7a1ef25d3c8"
+checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51"
dependencies = [
"glib-sys",
"libc",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
@@ -516,6 +503,15 @@ dependencies = [
"wayland-client",
]
+[[package]]
+name = "camino"
+version = "1.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239"
+dependencies = [
+ "serde",
+]
+
[[package]]
name = "cap"
version = "0.0.0"
@@ -542,15 +538,10 @@ dependencies = [
"sentry-tracing 0.34.0",
"serde",
"serde_json",
- "specta",
+ "specta-typescript",
"tauri",
"tauri-build",
- "tauri-plugin-context-menu",
- "tauri-plugin-deep-link",
"tauri-plugin-global-shortcut",
- "tauri-plugin-oauth",
- "tauri-plugin-positioner",
- "tauri-specta",
"tokio",
"tokio-util",
"tracing",
@@ -559,19 +550,40 @@ dependencies = [
"urlencoding",
"which",
"winapi",
- "window-shadows",
- "window-vibrancy",
"winit",
]
+[[package]]
+name = "cargo-platform"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "cargo_metadata"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037"
+dependencies = [
+ "camino",
+ "cargo-platform",
+ "semver",
+ "serde",
+ "serde_json",
+ "thiserror",
+]
+
[[package]]
name = "cargo_toml"
-version = "0.15.3"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "599aa35200ffff8f04c1925aa1acc92fa2e08874379ef42e210a80e527e60838"
+checksum = "8a969e13a7589e9e3e4207e153bae624ade2b5622fb4684a4923b23ec3d57719"
dependencies = [
"serde",
- "toml 0.7.8",
+ "toml 0.8.2",
]
[[package]]
@@ -610,15 +622,6 @@ dependencies = [
"uuid",
]
-[[package]]
-name = "cfg-expr"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3431df59f28accaf4cb4eed4a9acc66bea3f3c3753aa6cdc2f024174ef232af7"
-dependencies = [
- "smallvec",
-]
-
[[package]]
name = "cfg-expr"
version = "0.15.8"
@@ -641,6 +644,12 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
+[[package]]
+name = "cfg_aliases"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
+
[[package]]
name = "chrono"
version = "0.4.38"
@@ -707,22 +716,6 @@ version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
-[[package]]
-name = "cocoa"
-version = "0.24.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f425db7937052c684daec3bd6375c8abe2d146dca4b8b143d6db777c39138f3a"
-dependencies = [
- "bitflags 1.3.2",
- "block",
- "cocoa-foundation",
- "core-foundation",
- "core-graphics 0.22.3",
- "foreign-types 0.3.2",
- "libc",
- "objc",
-]
-
[[package]]
name = "cocoa"
version = "0.25.0"
@@ -733,7 +726,7 @@ dependencies = [
"block",
"cocoa-foundation",
"core-foundation",
- "core-graphics 0.23.2",
+ "core-graphics",
"foreign-types 0.5.0",
"libc",
"objc",
@@ -824,19 +817,6 @@ version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
-[[package]]
-name = "core-graphics"
-version = "0.22.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2581bbab3b8ffc6fcbd550bf46c355135d16e9ff2a6ea032ad6b9bf1d7efe4fb"
-dependencies = [
- "bitflags 1.3.2",
- "core-foundation",
- "core-graphics-types",
- "foreign-types 0.3.2",
- "libc",
-]
-
[[package]]
name = "core-graphics"
version = "0.23.2"
@@ -904,7 +884,7 @@ dependencies = [
"core-foundation-sys",
"coreaudio-rs",
"dasp_sample",
- "jni 0.21.1",
+ "jni",
"js-sys",
"libc",
"mach2",
@@ -1132,16 +1112,6 @@ dependencies = [
"dirs-sys",
]
-[[package]]
-name = "dirs-next"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
-dependencies = [
- "cfg-if",
- "dirs-sys-next",
-]
-
[[package]]
name = "dirs-sys"
version = "0.4.1"
@@ -1154,17 +1124,6 @@ dependencies = [
"windows-sys 0.48.0",
]
-[[package]]
-name = "dirs-sys-next"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
-dependencies = [
- "libc",
- "redox_users",
- "winapi",
-]
-
[[package]]
name = "dispatch"
version = "0.2.0"
@@ -1181,12 +1140,26 @@ dependencies = [
]
[[package]]
-name = "document-features"
-version = "0.2.10"
+name = "dlopen2"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9e1297103d2bbaea85724fcee6294c2d50b1081f9ad47d0f6f6f61eda65315a6"
+dependencies = [
+ "dlopen2_derive",
+ "libc",
+ "once_cell",
+ "winapi",
+]
+
+[[package]]
+name = "dlopen2_derive"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb6969eaabd2421f8a2775cfd2471a2b634372b4a25d41e3bd647b79912850a0"
+checksum = "f2b99bf03862d7f545ebc28ddd33a665b50865f4dfd84031a393823879bd4c54"
dependencies = [
- "litrs",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
]
[[package]]
@@ -1213,6 +1186,15 @@ version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2"
+[[package]]
+name = "dpi"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f25c0e292a7ca6d6498557ff1df68f32c99850012b6ea401cf8daf771f22ff53"
+dependencies = [
+ "serde",
+]
+
[[package]]
name = "dtoa"
version = "1.0.9"
@@ -1234,6 +1216,12 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b"
+[[package]]
+name = "dyn-clone"
+version = "1.0.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
+
[[package]]
name = "either"
version = "1.13.0"
@@ -1249,7 +1237,7 @@ dependencies = [
"cc",
"memchr",
"rustc_version",
- "toml 0.8.19",
+ "toml 0.8.2",
"vswhom",
"winreg 0.52.0",
]
@@ -1275,6 +1263,16 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+[[package]]
+name = "erased-serde"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d"
+dependencies = [
+ "serde",
+ "typeid",
+]
+
[[package]]
name = "errno"
version = "0.3.9"
@@ -1334,18 +1332,6 @@ dependencies = [
"rustc_version",
]
-[[package]]
-name = "filetime"
-version = "0.2.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd"
-dependencies = [
- "cfg-if",
- "libc",
- "redox_syscall 0.4.1",
- "windows-sys 0.52.0",
-]
-
[[package]]
name = "findshlibs"
version = "0.10.2"
@@ -1553,11 +1539,10 @@ dependencies = [
[[package]]
name = "gdk"
-version = "0.15.4"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6e05c1f572ab0e1f15be94217f0dc29088c248b14f792a5ff0af0d84bcda9e8"
+checksum = "f5ba081bdef3b75ebcdbfc953699ed2d7417d6bd853347a42a37d76406a33646"
dependencies = [
- "bitflags 1.3.2",
"cairo-rs",
"gdk-pixbuf",
"gdk-sys",
@@ -1569,35 +1554,35 @@ dependencies = [
[[package]]
name = "gdk-pixbuf"
-version = "0.15.11"
+version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad38dd9cc8b099cceecdf41375bb6d481b1b5a7cd5cd603e10a69a9383f8619a"
+checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec"
dependencies = [
- "bitflags 1.3.2",
"gdk-pixbuf-sys",
"gio",
"glib",
"libc",
+ "once_cell",
]
[[package]]
name = "gdk-pixbuf-sys"
-version = "0.15.10"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "140b2f5378256527150350a8346dbdb08fadc13453a7a2d73aecd5fab3c402a7"
+checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7"
dependencies = [
"gio-sys",
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
name = "gdk-sys"
-version = "0.15.1"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32e7a08c1e8f06f4177fb7e51a777b8c1689f743a7bc11ea91d44d2226073a88"
+checksum = "31ff856cb3386dae1703a920f803abafcc580e9b5f711ca62ed1620c25b51ff2"
dependencies = [
"cairo-sys-rs",
"gdk-pixbuf-sys",
@@ -1607,33 +1592,47 @@ dependencies = [
"libc",
"pango-sys",
"pkg-config",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
name = "gdkwayland-sys"
-version = "0.15.3"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cca49a59ad8cfdf36ef7330fe7bdfbe1d34323220cc16a0de2679ee773aee2c2"
+checksum = "a90fbf5c033c65d93792192a49a8efb5bb1e640c419682a58bb96f5ae77f3d4a"
dependencies = [
"gdk-sys",
"glib-sys",
"gobject-sys",
"libc",
"pkg-config",
- "system-deps 6.2.2",
+ "system-deps",
+]
+
+[[package]]
+name = "gdkx11"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db2ea8a4909d530f79921290389cbd7c34cb9d623bfe970eaae65ca5f9cd9cce"
+dependencies = [
+ "gdk",
+ "gdkx11-sys",
+ "gio",
+ "glib",
+ "libc",
+ "x11",
]
[[package]]
name = "gdkx11-sys"
-version = "0.15.1"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4b7f8c7a84b407aa9b143877e267e848ff34106578b64d1e0a24bf550716178"
+checksum = "fee8f00f4ee46cad2939b8990f5c70c94ff882c3028f3cc5abf950fa4ab53043"
dependencies = [
"gdk-sys",
"glib-sys",
"libc",
- "system-deps 6.2.2",
+ "system-deps",
"x11",
]
@@ -1710,49 +1709,54 @@ checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
[[package]]
name = "gio"
-version = "0.15.12"
+version = "0.18.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68fdbc90312d462781a395f7a16d96a2b379bb6ef8cd6310a2df272771c4283b"
+checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73"
dependencies = [
- "bitflags 1.3.2",
"futures-channel",
"futures-core",
"futures-io",
+ "futures-util",
"gio-sys",
"glib",
"libc",
"once_cell",
+ "pin-project-lite",
+ "smallvec",
"thiserror",
]
[[package]]
name = "gio-sys"
-version = "0.15.10"
+version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32157a475271e2c4a023382e9cab31c4584ee30a97da41d3c4e9fdd605abcf8d"
+checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.2.2",
+ "system-deps",
"winapi",
]
[[package]]
name = "glib"
-version = "0.15.12"
+version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edb0306fbad0ab5428b0ca674a23893db909a98582969c9b537be4ced78c505d"
+checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.6.0",
"futures-channel",
"futures-core",
"futures-executor",
"futures-task",
+ "futures-util",
+ "gio-sys",
"glib-macros",
"glib-sys",
"gobject-sys",
"libc",
+ "memchr",
"once_cell",
"smallvec",
"thiserror",
@@ -1760,27 +1764,26 @@ dependencies = [
[[package]]
name = "glib-macros"
-version = "0.15.13"
+version = "0.18.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10c6ae9f6fa26f4fb2ac16b528d138d971ead56141de489f8111e259b9df3c4a"
+checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc"
dependencies = [
- "anyhow",
"heck 0.4.1",
- "proc-macro-crate 1.3.1",
+ "proc-macro-crate 2.0.2",
"proc-macro-error",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.72",
]
[[package]]
name = "glib-sys"
-version = "0.15.10"
+version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef4b192f8e65e9cf76cbf4ea71fa8e3be4a0e18ffe3d68b8da6836974cc5bad4"
+checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898"
dependencies = [
"libc",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
@@ -1796,7 +1799,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89cb13e8c52c87e28a46eae3e5e65b8f0cd465c4c9e67b13d56c70412e792bc3"
dependencies = [
"bitflags 2.6.0",
- "cocoa 0.25.0",
+ "cocoa",
"crossbeam-channel",
"keyboard-types",
"objc",
@@ -1807,38 +1810,24 @@ dependencies = [
"x11-dl",
]
-[[package]]
-name = "globset"
-version = "0.4.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1"
-dependencies = [
- "aho-corasick",
- "bstr",
- "log",
- "regex-automata 0.4.7",
- "regex-syntax 0.8.4",
-]
-
[[package]]
name = "gobject-sys"
-version = "0.15.10"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d57ce44246becd17153bd035ab4d32cfee096a657fc01f2231c9278378d1e0a"
+checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44"
dependencies = [
"glib-sys",
"libc",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
name = "gtk"
-version = "0.15.5"
+version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92e3004a2d5d6d8b5057d2b57b3712c9529b62e82c77f25c1fecde1fd5c23bd0"
+checksum = "93c4f5e0e20b60e10631a5f06da7fe3dda744b05ad0ea71fee2f47adf865890c"
dependencies = [
"atk",
- "bitflags 1.3.2",
"cairo-rs",
"field-offset",
"futures-channel",
@@ -1849,16 +1838,15 @@ dependencies = [
"gtk-sys",
"gtk3-macros",
"libc",
- "once_cell",
"pango",
"pkg-config",
]
[[package]]
name = "gtk-sys"
-version = "0.15.3"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d5bc2f0587cba247f60246a0ca11fe25fb733eabc3de12d1965fc07efab87c84"
+checksum = "771437bf1de2c1c0b496c11505bdf748e26066bbe942dfc8f614c9460f6d7722"
dependencies = [
"atk-sys",
"cairo-sys-rs",
@@ -1869,21 +1857,20 @@ dependencies = [
"gobject-sys",
"libc",
"pango-sys",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
name = "gtk3-macros"
-version = "0.15.6"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "684c0456c086e8e7e9af73ec5b84e35938df394712054550e81558d21c44ab0d"
+checksum = "c6063efb63db582968fb7df72e1ae68aa6360dcfb0a75143f34fc7d616bad75e"
dependencies = [
- "anyhow",
"proc-macro-crate 1.3.1",
"proc-macro-error",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.72",
]
[[package]]
@@ -1927,15 +1914,6 @@ version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
-[[package]]
-name = "heck"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
-dependencies = [
- "unicode-segmentation",
-]
-
[[package]]
name = "heck"
version = "0.4.1"
@@ -2056,12 +2034,6 @@ dependencies = [
"pin-project-lite",
]
-[[package]]
-name = "http-range"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21dec9db110f5f872ed9699c3ecf50cf16f423502706ba5c72462e28d3157573"
-
[[package]]
name = "httparse"
version = "1.9.4"
@@ -2205,9 +2177,9 @@ version = "0.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "99d3aaff8a54577104bafdf686ff18565c3b6903ca5782a2026ef06e2c7aa319"
dependencies = [
- "block2",
+ "block2 0.3.0",
"dispatch",
- "objc2",
+ "objc2 0.4.1",
]
[[package]]
@@ -2226,22 +2198,6 @@ dependencies = [
"unicode-normalization",
]
-[[package]]
-name = "ignore"
-version = "0.4.22"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1"
-dependencies = [
- "crossbeam-deque",
- "globset",
- "log",
- "memchr",
- "regex-automata 0.4.7",
- "same-file",
- "walkdir",
- "winapi-util",
-]
-
[[package]]
name = "image"
version = "0.24.9"
@@ -2282,32 +2238,11 @@ dependencies = [
"serde",
]
-[[package]]
-name = "indoc"
-version = "1.0.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
-
-[[package]]
-name = "indoc"
-version = "2.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
-
-[[package]]
-name = "infer"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f178e61cdbfe084aa75a2f4f7a25a5bb09701a47ae1753608f194b15783c937a"
-dependencies = [
- "cfb",
-]
-
[[package]]
name = "infer"
-version = "0.13.0"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f551f8c3a39f68f986517db0d1759de85881894fdc7db798bd2a9df9cb04b7fc"
+checksum = "cb33622da908807a06f9513c19b3c1ad50fab3e4137d82a78107d502075aa199"
dependencies = [
"cfb",
]
@@ -2322,21 +2257,8 @@ dependencies = [
]
[[package]]
-name = "interprocess"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81f2533f3be42fffe3b5e63b71aeca416c1c3bc33e4e27be018521e76b1f38fb"
-dependencies = [
- "cfg-if",
- "libc",
- "rustc_version",
- "to_method",
- "winapi",
-]
-
-[[package]]
-name = "ipnet"
-version = "2.9.0"
+name = "ipnet"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
@@ -2346,15 +2268,6 @@ version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
-[[package]]
-name = "itertools"
-version = "0.10.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
-dependencies = [
- "either",
-]
-
[[package]]
name = "itertools"
version = "0.12.1"
@@ -2378,9 +2291,9 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "javascriptcore-rs"
-version = "0.16.0"
+version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf053e7843f2812ff03ef5afe34bb9c06ffee120385caad4f6b9967fcd37d41c"
+checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc"
dependencies = [
"bitflags 1.3.2",
"glib",
@@ -2389,28 +2302,14 @@ dependencies = [
[[package]]
name = "javascriptcore-rs-sys"
-version = "0.4.0"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "905fbb87419c5cde6e3269537e4ea7d46431f3008c5d057e915ef3f115e7793c"
+checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 5.0.0",
-]
-
-[[package]]
-name = "jni"
-version = "0.20.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "039022cdf4d7b1cf548d31f60ae783138e5fd42013f6271049d7df7afadef96c"
-dependencies = [
- "cesu8",
- "combine",
- "jni-sys",
- "log",
- "thiserror",
- "walkdir",
+ "system-deps",
]
[[package]]
@@ -2523,9 +2422,9 @@ checksum = "03087c2bad5e1034e8cace5926dec053fb3790248370865f5117a7d0213354c8"
[[package]]
name = "libappindicator"
-version = "0.7.1"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db2d3cb96d092b4824cb306c9e544c856a4cb6210c1081945187f7f1924b47e8"
+checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a"
dependencies = [
"glib",
"gtk",
@@ -2536,9 +2435,9 @@ dependencies = [
[[package]]
name = "libappindicator-sys"
-version = "0.7.3"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1b3b6681973cea8cc3bce7391e6d7d5502720b80a581c9a95c9cbaf592826aa"
+checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf"
dependencies = [
"gtk-sys",
"libloading 0.7.4",
@@ -2615,7 +2514,7 @@ dependencies = [
"libspa-sys",
"nix 0.27.1",
"nom",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
@@ -2626,7 +2525,7 @@ checksum = "bf0d9716420364790e85cbb9d3ac2c950bde16a7dd36f3209b7dfdfc4a24d01f"
dependencies = [
"bindgen",
"cc",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
@@ -2635,12 +2534,6 @@ version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
-[[package]]
-name = "litrs"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5"
-
[[package]]
name = "lock_api"
version = "0.4.12"
@@ -2771,12 +2664,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
-[[package]]
-name = "minisign-verify"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881"
-
[[package]]
name = "miniz_oxide"
version = "0.7.4"
@@ -2799,6 +2686,25 @@ dependencies = [
"windows-sys 0.52.0",
]
+[[package]]
+name = "muda"
+version = "0.13.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "86b959f97c97044e4c96e32e1db292a7d594449546a3c6b77ae613dc3a5b5145"
+dependencies = [
+ "cocoa",
+ "crossbeam-channel",
+ "dpi",
+ "gtk",
+ "keyboard-types",
+ "objc",
+ "once_cell",
+ "png",
+ "serde",
+ "thiserror",
+ "windows-sys 0.52.0",
+]
+
[[package]]
name = "native-tls"
version = "0.2.12"
@@ -2818,14 +2724,15 @@ dependencies = [
[[package]]
name = "ndk"
-version = "0.6.0"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2032c77e030ddee34a6787a64166008da93f6a352b629261d0fee232b8742dd4"
+checksum = "451422b7e4718271c8b5b3aadf5adedba43dc76312454b387e98fae0fc951aa0"
dependencies = [
"bitflags 1.3.2",
"jni-sys",
- "ndk-sys 0.3.0",
+ "ndk-sys 0.4.1+23.1.7779620",
"num_enum 0.5.11",
+ "raw-window-handle 0.5.2",
"thiserror",
]
@@ -2852,9 +2759,9 @@ checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
[[package]]
name = "ndk-sys"
-version = "0.3.0"
+version = "0.4.1+23.1.7779620"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e5a6ae77c8ee183dcbbba6150e2e6b9f3f4196a7666c02a715a95692ec1fa97"
+checksum = "3cf2aae958bd232cac5069850591667ad422d263686d75b52a065f9badeee5a3"
dependencies = [
"jni-sys",
]
@@ -3003,7 +2910,7 @@ version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56"
dependencies = [
- "proc-macro-crate 3.1.0",
+ "proc-macro-crate 1.3.1",
"proc-macro2",
"quote",
"syn 2.0.72",
@@ -3043,7 +2950,57 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "559c5a40fdd30eb5e344fbceacf7595a81e242529fb4e21cf5f43fb4f11ff98d"
dependencies = [
"objc-sys",
- "objc2-encode",
+ "objc2-encode 3.0.0",
+]
+
+[[package]]
+name = "objc2"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804"
+dependencies = [
+ "objc-sys",
+ "objc2-encode 4.0.3",
+]
+
+[[package]]
+name = "objc2-app-kit"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff"
+dependencies = [
+ "bitflags 2.6.0",
+ "block2 0.5.1",
+ "libc",
+ "objc2 0.5.2",
+ "objc2-core-data",
+ "objc2-core-image",
+ "objc2-foundation",
+ "objc2-quartz-core",
+]
+
+[[package]]
+name = "objc2-core-data"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef"
+dependencies = [
+ "bitflags 2.6.0",
+ "block2 0.5.1",
+ "objc2 0.5.2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-image"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80"
+dependencies = [
+ "block2 0.5.1",
+ "objc2 0.5.2",
+ "objc2-foundation",
+ "objc2-metal",
]
[[package]]
@@ -3052,6 +3009,50 @@ version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d079845b37af429bfe5dfa76e6d087d788031045b25cfc6fd898486fd9847666"
+[[package]]
+name = "objc2-encode"
+version = "4.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7891e71393cd1f227313c9379a26a584ff3d7e6e7159e988851f0934c993f0f8"
+
+[[package]]
+name = "objc2-foundation"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8"
+dependencies = [
+ "bitflags 2.6.0",
+ "block2 0.5.1",
+ "dispatch",
+ "libc",
+ "objc2 0.5.2",
+]
+
+[[package]]
+name = "objc2-metal"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6"
+dependencies = [
+ "bitflags 2.6.0",
+ "block2 0.5.1",
+ "objc2 0.5.2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-quartz-core"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a"
+dependencies = [
+ "bitflags 2.6.0",
+ "block2 0.5.1",
+ "objc2 0.5.2",
+ "objc2-foundation",
+ "objc2-metal",
+]
+
[[package]]
name = "objc_exception"
version = "0.1.2"
@@ -3085,7 +3086,7 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8b61bebd49e5d43f5f8cc7ee2891c16e0f41ec7954d36bcb6c14c5e0de867fb"
dependencies = [
- "jni 0.21.1",
+ "jni",
"ndk 0.8.0",
"ndk-context",
"num-derive",
@@ -3108,16 +3109,6 @@ version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
-[[package]]
-name = "open"
-version = "3.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2078c0039e6a54a0c42c28faa984e115fb4c2d5bf2208f77d1961002df8576f8"
-dependencies = [
- "pathdiff",
- "windows-sys 0.42.0",
-]
-
[[package]]
name = "openssl"
version = "0.10.66"
@@ -3205,11 +3196,11 @@ dependencies = [
[[package]]
name = "pango"
-version = "0.15.10"
+version = "0.18.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22e4045548659aee5313bde6c582b0d83a627b7904dd20dc2d9ef0895d414e4f"
+checksum = "7ca27ec1eb0457ab26f3036ea52229edbdb74dee1edd29063f5b9b010e7ebee4"
dependencies = [
- "bitflags 1.3.2",
+ "gio",
"glib",
"libc",
"once_cell",
@@ -3218,14 +3209,14 @@ dependencies = [
[[package]]
name = "pango-sys"
-version = "0.15.10"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2a00081cde4661982ed91d80ef437c20eacaf6aa1a5962c0279ae194662c3aa"
+checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
@@ -3251,18 +3242,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "paste"
-version = "1.0.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
-
-[[package]]
-name = "pathdiff"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
-
[[package]]
name = "percent-encoding"
version = "2.3.1"
@@ -3460,7 +3439,7 @@ checksum = "849e188f90b1dda88fe2bfe1ad31fe5f158af2c98f80fb5d13726c44f3f01112"
dependencies = [
"bindgen",
"libspa-sys",
- "system-deps 6.2.2",
+ "system-deps",
]
[[package]]
@@ -3553,11 +3532,12 @@ dependencies = [
[[package]]
name = "proc-macro-crate"
-version = "3.1.0"
+version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284"
+checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24"
dependencies = [
- "toml_edit 0.21.1",
+ "toml_datetime 0.6.3",
+ "toml_edit 0.20.2",
]
[[package]]
@@ -3905,38 +3885,16 @@ dependencies = [
"sync_wrapper 1.0.1",
"tokio",
"tokio-native-tls",
+ "tokio-util",
"tower-service",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
+ "wasm-streams",
"web-sys",
"winreg 0.52.0",
]
-[[package]]
-name = "rfd"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0149778bd99b6959285b0933288206090c50e2327f47a9c463bfdbf45c8823ea"
-dependencies = [
- "block",
- "dispatch",
- "glib-sys",
- "gobject-sys",
- "gtk-sys",
- "js-sys",
- "lazy_static",
- "log",
- "objc",
- "objc-foundation",
- "objc_id",
- "raw-window-handle 0.5.2",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
- "windows 0.37.0",
-]
-
[[package]]
name = "rustc-demangle"
version = "0.1.24"
@@ -4023,7 +3981,7 @@ version = "0.0.5"
source = "git+https://github.com/CapSoftware/scap#fa776e0bb230ed092e6f31cb07512d50f1f18b40"
dependencies = [
"apple-sys-helmer-fork",
- "cocoa 0.25.0",
+ "cocoa",
"core-graphics-helmer-fork",
"dbus",
"objc",
@@ -4046,6 +4004,32 @@ dependencies = [
"windows-sys 0.52.0",
]
+[[package]]
+name = "schemars"
+version = "0.8.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92"
+dependencies = [
+ "dyn-clone",
+ "indexmap 1.9.3",
+ "schemars_derive",
+ "serde",
+ "serde_json",
+ "url",
+]
+
+[[package]]
+name = "schemars_derive"
+version = "0.8.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "serde_derive_internals",
+ "syn 2.0.72",
+]
+
[[package]]
name = "scoped-tls"
version = "1.0.1"
@@ -4304,6 +4288,17 @@ dependencies = [
"serde_derive",
]
+[[package]]
+name = "serde-untagged"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2676ba99bd82f75cae5cbd2c8eda6fa0b8760f18978ea840e980dd5567b5c5b6"
+dependencies = [
+ "erased-serde",
+ "serde",
+ "typeid",
+]
+
[[package]]
name = "serde_derive"
version = "1.0.204"
@@ -4315,13 +4310,23 @@ dependencies = [
"syn 2.0.72",
]
+[[package]]
+name = "serde_derive_internals"
+version = "0.29.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]
+
[[package]]
name = "serde_json"
version = "1.0.121"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ab380d7d9f22ef3f21ad3e6c1ebe8e4fc7a2000ccba2e4d71fc96f15b2cb609"
dependencies = [
- "indexmap 2.3.0",
"itoa 1.0.11",
"memchr",
"ryu",
@@ -4529,62 +4534,82 @@ dependencies = [
]
[[package]]
-name = "soup2"
-version = "0.2.1"
+name = "softbuffer"
+version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2b4d76501d8ba387cf0fefbe055c3e0a59891d09f0f995ae4e4b16f6b60f3c0"
+checksum = "d623bff5d06f60d738990980d782c8c866997d9194cfe79ecad00aa2f76826dd"
dependencies = [
- "bitflags 1.3.2",
+ "bytemuck",
+ "cfg_aliases 0.2.1",
+ "core-graphics",
+ "foreign-types 0.5.0",
+ "js-sys",
+ "log",
+ "objc2 0.5.2",
+ "objc2-app-kit",
+ "objc2-foundation",
+ "objc2-quartz-core",
+ "raw-window-handle 0.6.2",
+ "redox_syscall 0.5.3",
+ "wasm-bindgen",
+ "web-sys",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "soup3"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "471f924a40f31251afc77450e781cb26d55c0b650842efafc9c6cbd2f7cc4f9f"
+dependencies = [
+ "futures-channel",
"gio",
"glib",
"libc",
- "once_cell",
- "soup2-sys",
+ "soup3-sys",
]
[[package]]
-name = "soup2-sys"
-version = "0.2.0"
+name = "soup3-sys"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "009ef427103fcb17f802871647a7fa6c60cbb654b4c4e4c0ac60a31c5f6dc9cf"
+checksum = "7ebe8950a680a12f24f15ebe1bf70db7af98ad242d9db43596ad3108aab86c27"
dependencies = [
- "bitflags 1.3.2",
"gio-sys",
"glib-sys",
"gobject-sys",
"libc",
- "system-deps 5.0.0",
+ "system-deps",
]
[[package]]
name = "specta"
-version = "1.0.5"
+version = "2.0.0-rc.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2240c3aa020aa61d2c569087d213baafbb212f4ceb9de9dd162376ea6aa0fe3"
+checksum = "c55a15e1cd11cd8b7bb846d2770ac2870f661a3cfe0b9744acf9da4d902ad931"
dependencies = [
- "document-features",
- "indoc 1.0.9",
- "once_cell",
- "paste",
- "serde",
- "serde_json",
- "specta-macros",
- "tauri",
"thiserror",
]
[[package]]
-name = "specta-macros"
-version = "1.0.5"
+name = "specta-serde"
+version = "0.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4605306321c356e03873b8ee71d7592a5e7c508add325c3ed0677c16fdf1bcfb"
+checksum = "22c118b7369eac59b0b6e84e72b0dcc443efee3f6390f78fc5e9b2f388130b7e"
dependencies = [
- "Inflector",
- "itertools 0.10.5",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
- "termcolor",
+ "specta",
+ "thiserror",
+]
+
+[[package]]
+name = "specta-typescript"
+version = "0.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f681a64d09d0f9a898af8b443d2d1b866b1adb350d09da6ada186e10321c4f6"
+dependencies = [
+ "specta",
+ "specta-serde",
+ "thiserror",
]
[[package]]
@@ -4604,9 +4629,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "state"
-version = "0.5.3"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbe866e1e51e8260c9eed836a042a5e7f6726bb2b411dffeaa712e19c388f23b"
+checksum = "2b8c4a4445d81357df8b1a650d0d0d6fbbbfe99d064aa5e02f3e4022061476d8"
dependencies = [
"loom",
]
@@ -4658,6 +4683,17 @@ version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+[[package]]
+name = "swift-rs"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1bbdb58577b6301f8d17ae2561f32002a5bae056d444e0f69e611e504a276204"
+dependencies = [
+ "base64 0.21.7",
+ "serde",
+ "serde_json",
+]
+
[[package]]
name = "syn"
version = "1.0.109"
@@ -4692,19 +4728,6 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394"
-[[package]]
-name = "sys-locale"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8a11bd9c338fdba09f7881ab41551932ad42e405f61d01e8406baea71c07aee"
-dependencies = [
- "js-sys",
- "libc",
- "wasm-bindgen",
- "web-sys",
- "windows-sys 0.45.0",
-]
-
[[package]]
name = "sysinfo"
version = "0.30.13"
@@ -4743,76 +4766,53 @@ dependencies = [
[[package]]
name = "system-deps"
-version = "5.0.0"
+version = "6.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18db855554db7bd0e73e06cf7ba3df39f97812cb11d3f75e71c39bf45171797e"
+checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349"
dependencies = [
- "cfg-expr 0.9.1",
- "heck 0.3.3",
+ "cfg-expr",
+ "heck 0.5.0",
"pkg-config",
- "toml 0.5.11",
- "version-compare 0.0.11",
+ "toml 0.8.2",
+ "version-compare",
]
[[package]]
-name = "system-deps"
-version = "6.2.2"
+name = "tao"
+version = "0.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349"
+checksum = "ea538df05fbc2dcbbd740ba0cfe8607688535f4798d213cbbfa13ce494f3451f"
dependencies = [
- "cfg-expr 0.15.8",
- "heck 0.5.0",
- "pkg-config",
- "toml 0.8.19",
- "version-compare 0.2.0",
-]
-
-[[package]]
-name = "tao"
-version = "0.16.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "575c856fc21e551074869dcfaad8f706412bd5b803dfa0fbf6881c4ff4bfafab"
-dependencies = [
- "bitflags 1.3.2",
- "cairo-rs",
- "cc",
- "cocoa 0.24.1",
+ "bitflags 2.6.0",
+ "cocoa",
"core-foundation",
- "core-graphics 0.22.3",
+ "core-graphics",
"crossbeam-channel",
- "dirs-next",
"dispatch",
- "gdk",
- "gdk-pixbuf",
- "gdk-sys",
+ "dlopen2",
+ "dpi",
"gdkwayland-sys",
"gdkx11-sys",
- "gio",
- "glib",
- "glib-sys",
"gtk",
- "image",
"instant",
- "jni 0.20.0",
+ "jni",
"lazy_static",
- "libappindicator",
"libc",
"log",
- "ndk 0.6.0",
+ "ndk 0.7.0",
"ndk-context",
- "ndk-sys 0.3.0",
+ "ndk-sys 0.4.1+23.1.7779620",
"objc",
"once_cell",
"parking_lot",
- "png",
- "raw-window-handle 0.5.2",
+ "raw-window-handle 0.6.2",
"scopeguard",
- "serde",
"tao-macros",
"unicode-segmentation",
- "uuid",
- "windows 0.39.0",
- "windows-implement 0.39.0",
+ "url",
+ "windows 0.57.0",
+ "windows-core 0.57.0",
+ "windows-version",
"x11-dl",
]
@@ -4839,17 +4839,6 @@ dependencies = [
"syn 1.0.109",
]
-[[package]]
-name = "tar"
-version = "0.4.41"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909"
-dependencies = [
- "filetime",
- "libc",
- "xattr",
-]
-
[[package]]
name = "target-lexicon"
version = "0.12.16"
@@ -4858,91 +4847,82 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "tauri"
-version = "1.7.1"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "336bc661a3f3250853fa83c6e5245449ed1c26dce5dcb28bdee7efedf6278806"
+checksum = "255e746089a370802ec4eb896dccc6f27c1dd2a203c1dc484fd996db954e2300"
dependencies = [
"anyhow",
- "base64 0.21.7",
"bytes",
- "cocoa 0.24.1",
- "dirs-next",
+ "cocoa",
+ "dirs",
"dunce",
"embed_plist",
- "encoding_rs",
- "flate2",
"futures-util",
"getrandom 0.2.15",
- "glib",
"glob",
"gtk",
"heck 0.5.0",
- "http 0.2.12",
- "ignore",
- "indexmap 1.9.3",
- "infer 0.9.0",
- "minisign-verify",
+ "http 1.1.0",
+ "jni",
+ "libc",
+ "log",
+ "mime",
+ "muda",
"objc",
- "once_cell",
- "open",
- "os_info",
"percent-encoding",
- "png",
- "rand 0.8.5",
- "raw-window-handle 0.5.2",
- "regex",
- "reqwest 0.11.27",
- "rfd",
- "semver",
+ "raw-window-handle 0.6.2",
+ "reqwest 0.12.5",
"serde",
"serde_json",
"serde_repr",
"serialize-to-javascript",
"state",
- "sys-locale",
- "tar",
+ "swift-rs",
+ "tauri-build",
"tauri-macros",
"tauri-runtime",
"tauri-runtime-wry",
"tauri-utils",
- "tempfile",
"thiserror",
- "time",
"tokio",
+ "tray-icon",
"url",
- "uuid",
+ "urlpattern",
"webkit2gtk",
"webview2-com",
- "windows 0.39.0",
- "zip",
+ "window-vibrancy",
+ "windows 0.57.0",
]
[[package]]
name = "tauri-build"
-version = "1.5.3"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0c6ec7a5c3296330c7818478948b422967ce4649094696c985f61d50076d29c"
+checksum = "85ceb8d082c3b17b4b2eb134a39363a22c696ddba473d6e5c0ab1caadad4cfca"
dependencies = [
"anyhow",
"cargo_toml",
- "dirs-next",
+ "dirs",
+ "glob",
"heck 0.5.0",
"json-patch",
+ "schemars",
"semver",
"serde",
"serde_json",
"tauri-utils",
"tauri-winres",
+ "toml 0.8.2",
"walkdir",
]
[[package]]
name = "tauri-codegen"
-version = "1.4.4"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1aed706708ff1200ec12de9cfbf2582b5d8ec05f6a7293911091effbd22036b"
+checksum = "2407c7d37a491b16e530445c9611d91091cae198eea2ed424913b740215605f2"
dependencies = [
- "base64 0.21.7",
+ "base64 0.22.1",
"brotli",
"ico",
"json-patch",
@@ -4950,175 +4930,121 @@ dependencies = [
"png",
"proc-macro2",
"quote",
- "regex",
"semver",
"serde",
"serde_json",
"sha2",
+ "syn 2.0.72",
"tauri-utils",
"thiserror",
"time",
+ "url",
"uuid",
"walkdir",
]
[[package]]
name = "tauri-macros"
-version = "1.4.5"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b88f831d2973ae4f81a706a0004e67dac87f2e4439973bbe98efbd73825d8ede"
+checksum = "d210893b693be00f569b4f54456803debe104b7675f368205f2b6e94bac09b34"
dependencies = [
"heck 0.5.0",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.72",
"tauri-codegen",
"tauri-utils",
]
[[package]]
-name = "tauri-plugin-context-menu"
-version = "0.7.1"
+name = "tauri-plugin"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b8afd632ae9da2f48cc172890de2fa0b9a3dbeed514d04d5e42df839d81835a"
+checksum = "b352e4478af27bd7c76724bb426ebb32fc51baafb2186afabed4e706dc9e39d4"
dependencies = [
- "cocoa 0.24.1",
- "dispatch",
- "gdk",
- "glib",
- "gtk",
- "image",
- "lazy_static",
- "libc",
- "objc",
+ "anyhow",
+ "glob",
+ "plist",
+ "schemars",
"serde",
- "tauri",
- "time",
- "winapi",
-]
-
-[[package]]
-name = "tauri-plugin-deep-link"
-version = "0.1.2"
-source = "git+https://github.com/FabianLars/tauri-plugin-deep-link?branch=main#1aa5c3d01dfadfe6495673bb8767a913198da279"
-dependencies = [
- "dirs",
- "interprocess",
- "log",
- "objc2",
- "once_cell",
+ "serde_json",
"tauri-utils",
- "windows-sys 0.52.0",
- "winreg 0.52.0",
+ "toml 0.8.2",
+ "walkdir",
]
[[package]]
name = "tauri-plugin-global-shortcut"
-version = "1.0.0"
-dependencies = [
- "global-hotkey",
- "log",
- "serde",
- "serde_json",
- "tauri",
- "thiserror",
-]
-
-[[package]]
-name = "tauri-plugin-oauth"
-version = "0.0.0-alpha.0"
-source = "git+https://github.com/FabianLars/tauri-plugin-oauth?branch=main#8ddbe2b740c02cfc1d5749c2bfc50ede298da10a"
-dependencies = [
- "httparse",
- "log",
- "serde",
- "tauri",
- "url",
-]
-
-[[package]]
-name = "tauri-plugin-positioner"
-version = "1.0.5"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1c491af3aaa053d6e85d95b516bdaa20ae7c6ebb36cbdae2988dea68f57f27e"
+checksum = "a596240a2ee580534e5d348b80b34ce4aa9c0219eaa63b393571d29201e9ea80"
dependencies = [
+ "global-hotkey",
"log",
"serde",
"serde_json",
- "serde_repr",
"tauri",
+ "tauri-plugin",
"thiserror",
]
[[package]]
name = "tauri-runtime"
-version = "0.14.4"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3068ed62b63dedc705558f4248c7ecbd5561f0f8050949859ea0db2326f26012"
+checksum = "6624fdf383ccafc9e8ad9205fe6e5c976b318efcd6b3662dde658c74e4254792"
dependencies = [
+ "dpi",
"gtk",
- "http 0.2.12",
- "http-range",
- "rand 0.8.5",
- "raw-window-handle 0.5.2",
+ "http 1.1.0",
+ "jni",
+ "raw-window-handle 0.6.2",
"serde",
"serde_json",
"tauri-utils",
"thiserror",
"url",
- "uuid",
- "webview2-com",
- "windows 0.39.0",
+ "windows 0.57.0",
]
[[package]]
name = "tauri-runtime-wry"
-version = "0.14.9"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4c3db170233096aa30330feadcd895bf9317be97e624458560a20e814db7955"
+checksum = "9fd1a785c4281f8231b091593393b40cb3a800810c407b1ffed52de27ff1640a"
dependencies = [
- "cocoa 0.24.1",
+ "cocoa",
"gtk",
+ "http 1.1.0",
+ "jni",
+ "log",
"percent-encoding",
- "rand 0.8.5",
- "raw-window-handle 0.5.2",
+ "raw-window-handle 0.6.2",
+ "softbuffer",
+ "tao",
"tauri-runtime",
"tauri-utils",
- "uuid",
+ "url",
"webkit2gtk",
"webview2-com",
- "windows 0.39.0",
+ "windows 0.57.0",
"wry",
]
-[[package]]
-name = "tauri-specta"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa034c38b7bdfeccc606eca0b030a1e67a20b78e7642edef09816b7e1ff9a9de"
-dependencies = [
- "heck 0.4.1",
- "indoc 2.0.5",
- "serde",
- "serde_json",
- "specta",
- "tauri",
- "thiserror",
-]
-
[[package]]
name = "tauri-utils"
-version = "1.6.0"
+version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2826db448309d382dac14d520f0c0a40839b87b57b977e59cf5f296b3ace6a93"
+checksum = "6f435eeaae1e69cf93cf19da0f727989eed2e5eb6fc63a8d21432f59dd3ac4ac"
dependencies = [
"brotli",
+ "cargo_metadata",
"ctor",
"dunce",
"glob",
- "heck 0.5.0",
"html5ever",
- "infer 0.13.0",
+ "infer",
"json-patch",
"kuchikiki",
"log",
@@ -5126,14 +5052,19 @@ dependencies = [
"phf 0.11.2",
"proc-macro2",
"quote",
+ "regex",
+ "schemars",
"semver",
"serde",
+ "serde-untagged",
"serde_json",
"serde_with",
+ "swift-rs",
"thiserror",
+ "toml 0.8.2",
"url",
+ "urlpattern",
"walkdir",
- "windows-version",
]
[[package]]
@@ -5169,15 +5100,6 @@ dependencies = [
"utf-8",
]
-[[package]]
-name = "termcolor"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
-dependencies = [
- "winapi-util",
-]
-
[[package]]
name = "thin-slice"
version = "0.1.1"
@@ -5296,12 +5218,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
-[[package]]
-name = "to_method"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7c4ceeeca15c8384bbc3e011dbd8fccb7f068a440b752b7d9b32ceb0ca0e2e8"
-
[[package]]
name = "tokio"
version = "1.39.2"
@@ -5354,15 +5270,6 @@ dependencies = [
"tokio",
]
-[[package]]
-name = "toml"
-version = "0.5.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
-dependencies = [
- "serde",
-]
-
[[package]]
name = "toml"
version = "0.6.0"
@@ -5383,20 +5290,20 @@ checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257"
dependencies = [
"serde",
"serde_spanned",
- "toml_datetime 0.6.8",
+ "toml_datetime 0.6.3",
"toml_edit 0.19.15",
]
[[package]]
name = "toml"
-version = "0.8.19"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
+checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d"
dependencies = [
"serde",
"serde_spanned",
- "toml_datetime 0.6.8",
- "toml_edit 0.22.20",
+ "toml_datetime 0.6.3",
+ "toml_edit 0.20.2",
]
[[package]]
@@ -5410,9 +5317,9 @@ dependencies = [
[[package]]
name = "toml_datetime"
-version = "0.6.8"
+version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
+checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"
dependencies = [
"serde",
]
@@ -5439,32 +5346,21 @@ dependencies = [
"indexmap 2.3.0",
"serde",
"serde_spanned",
- "toml_datetime 0.6.8",
- "winnow 0.5.40",
+ "toml_datetime 0.6.3",
+ "winnow",
]
[[package]]
name = "toml_edit"
-version = "0.21.1"
+version = "0.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
-dependencies = [
- "indexmap 2.3.0",
- "toml_datetime 0.6.8",
- "winnow 0.5.40",
-]
-
-[[package]]
-name = "toml_edit"
-version = "0.22.20"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
+checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"
dependencies = [
"indexmap 2.3.0",
"serde",
"serde_spanned",
- "toml_datetime 0.6.8",
- "winnow 0.6.18",
+ "toml_datetime 0.6.3",
+ "winnow",
]
[[package]]
@@ -5567,6 +5463,26 @@ dependencies = [
"tracing-log",
]
+[[package]]
+name = "tray-icon"
+version = "0.14.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ad8319cca93189ea9ab1b290de0595960529750b6b8b501a399ed1ec3775d60"
+dependencies = [
+ "cocoa",
+ "core-graphics",
+ "crossbeam-channel",
+ "dirs",
+ "libappindicator",
+ "muda",
+ "objc",
+ "once_cell",
+ "png",
+ "serde",
+ "thiserror",
+ "windows-sys 0.52.0",
+]
+
[[package]]
name = "try-lock"
version = "0.2.5"
@@ -5579,6 +5495,12 @@ version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8686b91785aff82828ed725225925b33b4fde44c4bb15876e5f7c832724c420a"
+[[package]]
+name = "typeid"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "059d83cc991e7a42fc37bd50941885db0888e34209f8cfd9aab07ddec03bc9cf"
+
[[package]]
name = "typenum"
version = "1.17.0"
@@ -5594,6 +5516,47 @@ dependencies = [
"libc",
]
+[[package]]
+name = "unic-char-property"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221"
+dependencies = [
+ "unic-char-range",
+]
+
+[[package]]
+name = "unic-char-range"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc"
+
+[[package]]
+name = "unic-common"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc"
+
+[[package]]
+name = "unic-ucd-ident"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987"
+dependencies = [
+ "unic-char-property",
+ "unic-char-range",
+ "unic-ucd-version",
+]
+
+[[package]]
+name = "unic-ucd-version"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4"
+dependencies = [
+ "unic-common",
+]
+
[[package]]
name = "unicase"
version = "2.7.0"
@@ -5667,6 +5630,19 @@ version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
+[[package]]
+name = "urlpattern"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9bd5ff03aea02fa45b13a7980151fe45009af1980ba69f651ec367121a31609"
+dependencies = [
+ "derive_more",
+ "regex",
+ "serde",
+ "unic-ucd-ident",
+ "url",
+]
+
[[package]]
name = "utf-8"
version = "0.7.6"
@@ -5701,12 +5677,6 @@ version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
-[[package]]
-name = "version-compare"
-version = "0.0.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c18c859eead79d8b95d09e4678566e8d70105c4e7b251f707a03df32442661b"
-
[[package]]
name = "version-compare"
version = "0.2.0"
@@ -6000,9 +5970,9 @@ dependencies = [
[[package]]
name = "webkit2gtk"
-version = "0.18.2"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8f859735e4a452aeb28c6c56a852967a8a76c8eb1cc32dbf931ad28a13d6370"
+checksum = "76b1bc1e54c581da1e9f179d0b38512ba358fb1af2d634a1affe42e37172361a"
dependencies = [
"bitflags 1.3.2",
"cairo-rs",
@@ -6018,20 +5988,18 @@ dependencies = [
"javascriptcore-rs",
"libc",
"once_cell",
- "soup2",
+ "soup3",
"webkit2gtk-sys",
]
[[package]]
name = "webkit2gtk-sys"
-version = "0.18.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d76ca6ecc47aeba01ec61e480139dda143796abcae6f83bcddf50d6b5b1dcf3"
+checksum = "62daa38afc514d1f8f12b8693d30d5993ff77ced33ce30cd04deebc267a6d57c"
dependencies = [
- "atk-sys",
"bitflags 1.3.2",
"cairo-sys-rs",
- "gdk-pixbuf-sys",
"gdk-sys",
"gio-sys",
"glib-sys",
@@ -6039,48 +6007,45 @@ dependencies = [
"gtk-sys",
"javascriptcore-rs-sys",
"libc",
- "pango-sys",
"pkg-config",
- "soup2-sys",
- "system-deps 6.2.2",
+ "soup3-sys",
+ "system-deps",
]
[[package]]
name = "webview2-com"
-version = "0.19.1"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4a769c9f1a64a8734bde70caafac2b96cada12cd4aefa49196b3a386b8b4178"
+checksum = "6516cfa64c6b3212686080eeec378e662c2af54bb2a5b2a22749673f5cb2226f"
dependencies = [
"webview2-com-macros",
"webview2-com-sys",
- "windows 0.39.0",
- "windows-implement 0.39.0",
+ "windows 0.57.0",
+ "windows-core 0.57.0",
+ "windows-implement 0.57.0",
+ "windows-interface 0.57.0",
]
[[package]]
name = "webview2-com-macros"
-version = "0.6.0"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eaebe196c01691db62e9e4ca52c5ef1e4fd837dcae27dae3ada599b5a8fd05ac"
+checksum = "ac1345798ecd8122468840bcdf1b95e5dc6d2206c5e4b0eafa078d061f59c9bc"
dependencies = [
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.72",
]
[[package]]
name = "webview2-com-sys"
-version = "0.19.0"
+version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aac48ef20ddf657755fdcda8dfed2a7b4fc7e4581acce6fe9b88c3d64f29dee7"
+checksum = "c76d5b77320ff155660be1df3e6588bc85c75f1a9feef938cc4dc4dd60d1d7cf"
dependencies = [
- "regex",
- "serde",
- "serde_json",
"thiserror",
- "windows 0.39.0",
- "windows-bindgen",
- "windows-metadata",
+ "windows 0.57.0",
+ "windows-core 0.57.0",
]
[[package]]
@@ -6132,58 +6097,19 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
-[[package]]
-name = "window-shadows"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67ff424735b1ac21293b0492b069394b0a189c8a463fb015a16dea7c2e221c08"
-dependencies = [
- "cocoa 0.25.0",
- "objc",
- "raw-window-handle 0.5.2",
- "windows-sys 0.48.0",
-]
-
[[package]]
name = "window-vibrancy"
-version = "0.4.3"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af6abc2b9c56bd95887825a1ce56cde49a2a97c07e28db465d541f5098a2656c"
+checksum = "33082acd404763b315866e14a0d5193f3422c81086657583937a750cdd3ec340"
dependencies = [
- "cocoa 0.25.0",
+ "cocoa",
"objc",
- "raw-window-handle 0.5.2",
+ "raw-window-handle 0.6.2",
"windows-sys 0.52.0",
"windows-version",
]
-[[package]]
-name = "windows"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57b543186b344cc61c85b5aab0d2e3adf4e0f99bc076eff9aa5927bcc0b8a647"
-dependencies = [
- "windows_aarch64_msvc 0.37.0",
- "windows_i686_gnu 0.37.0",
- "windows_i686_msvc 0.37.0",
- "windows_x86_64_gnu 0.37.0",
- "windows_x86_64_msvc 0.37.0",
-]
-
-[[package]]
-name = "windows"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1c4bd0a50ac6020f65184721f758dba47bb9fbc2133df715ec74a237b26794a"
-dependencies = [
- "windows-implement 0.39.0",
- "windows_aarch64_msvc 0.39.0",
- "windows_i686_gnu 0.39.0",
- "windows_i686_msvc 0.39.0",
- "windows_x86_64_gnu 0.39.0",
- "windows_x86_64_msvc 0.39.0",
-]
-
[[package]]
name = "windows"
version = "0.48.0"
@@ -6224,13 +6150,13 @@ dependencies = [
]
[[package]]
-name = "windows-bindgen"
-version = "0.39.0"
+name = "windows"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68003dbd0e38abc0fb85b939240f4bce37c43a5981d3df37ccbaaa981b47cb41"
+checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143"
dependencies = [
- "windows-metadata",
- "windows-tokens",
+ "windows-core 0.57.0",
+ "windows-targets 0.52.6",
]
[[package]]
@@ -6271,19 +6197,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6"
dependencies = [
"windows-implement 0.56.0",
- "windows-interface",
+ "windows-interface 0.56.0",
"windows-result",
"windows-targets 0.52.6",
]
[[package]]
-name = "windows-implement"
-version = "0.39.0"
+name = "windows-core"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba01f98f509cb5dc05f4e5fc95e535f78260f15fea8fe1a8abdd08f774f1cee7"
+checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"
dependencies = [
- "syn 1.0.109",
- "windows-tokens",
+ "windows-implement 0.57.0",
+ "windows-interface 0.57.0",
+ "windows-result",
+ "windows-targets 0.52.6",
]
[[package]]
@@ -6297,6 +6225,17 @@ dependencies = [
"syn 2.0.72",
]
+[[package]]
+name = "windows-implement"
+version = "0.57.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]
+
[[package]]
name = "windows-interface"
version = "0.56.0"
@@ -6309,10 +6248,15 @@ dependencies = [
]
[[package]]
-name = "windows-metadata"
-version = "0.39.0"
+name = "windows-interface"
+version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ee5e275231f07c6e240d14f34e1b635bf1faa1c76c57cfd59a5cdb9848e4278"
+checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.72",
+]
[[package]]
name = "windows-result"
@@ -6323,21 +6267,6 @@ dependencies = [
"windows-targets 0.52.6",
]
-[[package]]
-name = "windows-sys"
-version = "0.42.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
-dependencies = [
- "windows_aarch64_gnullvm 0.42.2",
- "windows_aarch64_msvc 0.42.2",
- "windows_i686_gnu 0.42.2",
- "windows_i686_msvc 0.42.2",
- "windows_x86_64_gnu 0.42.2",
- "windows_x86_64_gnullvm 0.42.2",
- "windows_x86_64_msvc 0.42.2",
-]
-
[[package]]
name = "windows-sys"
version = "0.45.0"
@@ -6411,12 +6340,6 @@ dependencies = [
"windows_x86_64_msvc 0.52.6",
]
-[[package]]
-name = "windows-tokens"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f838de2fe15fe6bac988e74b798f26499a8b21a9d97edec321e79b28d1d7f597"
-
[[package]]
name = "windows-version"
version = "0.1.1"
@@ -6444,18 +6367,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2623277cb2d1c216ba3b578c0f3cf9cdebeddb6e66b1b218bb33596ea7769c3a"
-
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec7711666096bd4096ffa835238905bb33fb87267910e154b18b44eaabb340f2"
-
[[package]]
name = "windows_aarch64_msvc"
version = "0.42.2"
@@ -6474,18 +6385,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-[[package]]
-name = "windows_i686_gnu"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3925fd0b0b804730d44d4b6278c50f9699703ec49bcd628020f46f4ba07d9e1"
-
-[[package]]
-name = "windows_i686_gnu"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "763fc57100a5f7042e3057e7e8d9bdd7860d330070251a73d003563a3bb49e1b"
-
[[package]]
name = "windows_i686_gnu"
version = "0.42.2"
@@ -6510,18 +6409,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-[[package]]
-name = "windows_i686_msvc"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce907ac74fe331b524c1298683efbf598bb031bc84d5e274db2083696d07c57c"
-
-[[package]]
-name = "windows_i686_msvc"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7bc7cbfe58828921e10a9f446fcaaf649204dcfe6c1ddd712c5eebae6bda1106"
-
[[package]]
name = "windows_i686_msvc"
version = "0.42.2"
@@ -6540,18 +6427,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2babfba0828f2e6b32457d5341427dcbb577ceef556273229959ac23a10af33d"
-
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6868c165637d653ae1e8dc4d82c25d4f97dd6605eaa8d784b5c6e0ab2a252b65"
-
[[package]]
name = "windows_x86_64_gnu"
version = "0.42.2"
@@ -6588,18 +6463,6 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.37.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4dd6dc7df2d84cf7b33822ed5b86318fb1781948e9663bacd047fc9dd52259d"
-
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.39.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e4d40883ae9cae962787ca76ba76390ffa29214667a111db9e0a1ad8377e809"
-
[[package]]
name = "windows_x86_64_msvc"
version = "0.42.2"
@@ -6630,9 +6493,9 @@ dependencies = [
"bitflags 2.6.0",
"bytemuck",
"calloop",
- "cfg_aliases",
+ "cfg_aliases 0.1.1",
"core-foundation",
- "core-graphics 0.23.2",
+ "core-graphics",
"cursor-icon",
"icrate",
"js-sys",
@@ -6641,7 +6504,7 @@ dependencies = [
"memmap2",
"ndk 0.8.0",
"ndk-sys 0.5.0+25.2.9519653",
- "objc2",
+ "objc2 0.4.1",
"once_cell",
"orbclient",
"percent-encoding",
@@ -6675,15 +6538,6 @@ dependencies = [
"memchr",
]
-[[package]]
-name = "winnow"
-version = "0.6.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
-dependencies = [
- "memchr",
-]
-
[[package]]
name = "winreg"
version = "0.50.0"
@@ -6706,40 +6560,44 @@ dependencies = [
[[package]]
name = "wry"
-version = "0.24.10"
+version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00711278ed357350d44c749c286786ecac644e044e4da410d466212152383b45"
+checksum = "68b00c945786b02d7805d09a969fa36d0eee4e0bd4fb3ec2a79d2bf45a1b44cd"
dependencies = [
- "base64 0.13.1",
+ "base64 0.22.1",
"block",
- "cocoa 0.24.1",
- "core-graphics 0.22.3",
+ "cocoa",
+ "core-graphics",
"crossbeam-channel",
+ "dpi",
"dunce",
- "gdk",
- "gio",
- "glib",
+ "gdkx11",
"gtk",
"html5ever",
- "http 0.2.12",
+ "http 1.1.0",
+ "javascriptcore-rs",
+ "jni",
"kuchikiki",
"libc",
- "log",
+ "ndk 0.7.0",
+ "ndk-context",
+ "ndk-sys 0.4.1+23.1.7779620",
"objc",
"objc_id",
"once_cell",
- "serde",
- "serde_json",
+ "percent-encoding",
+ "raw-window-handle 0.6.2",
"sha2",
- "soup2",
- "tao",
+ "soup3",
+ "tao-macros",
"thiserror",
- "url",
"webkit2gtk",
"webkit2gtk-sys",
"webview2-com",
- "windows 0.39.0",
- "windows-implement 0.39.0",
+ "windows 0.57.0",
+ "windows-core 0.57.0",
+ "windows-version",
+ "x11-dl",
]
[[package]]
@@ -6784,17 +6642,6 @@ version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec107c4503ea0b4a98ef47356329af139c0a4f7750e621cf2973cd3385ebcb3d"
-[[package]]
-name = "xattr"
-version = "1.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
-dependencies = [
- "libc",
- "linux-raw-sys",
- "rustix",
-]
-
[[package]]
name = "xcursor"
version = "0.3.6"
@@ -6870,17 +6717,6 @@ dependencies = [
"syn 2.0.72",
]
-[[package]]
-name = "zip"
-version = "0.6.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
-dependencies = [
- "byteorder",
- "crc32fast",
- "crossbeam-utils",
-]
-
[[package]]
name = "zune-inflate"
version = "0.2.54"
diff --git a/Cargo.toml b/Cargo.toml
index 91e408b4d..91b958b2a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,3 +1,3 @@
[workspace]
resolver = "2"
-members = ["apps/desktop/src-tauri", "crates/*"]
+members = ["apps/desktop/src-tauri"]
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index a07f9e4d7..b3e69fbab 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -14,7 +14,7 @@
"@mux/mux-node": "^8.5.1",
"@sentry/nextjs": "^7.105.0",
"@tauri-apps/api": "^2.0.0-rc.0",
- "@tauri-apps/plugin-global-shortcut": "workspace:*",
+ "@tauri-apps/plugin-global-shortcut": "^2.0.0-rc.0",
"@tensorflow-models/body-pix": "^2.2.1",
"@tensorflow/tfjs": "^4.17.0",
"autoprefixer": "^10.4.16",
@@ -29,9 +29,7 @@
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
"react-router-dom": "^6.18.0",
- "tailwindcss": "^3.3.4",
- "tauri-plugin-context-menu": "^0.5.0",
- "tauri-plugin-positioner-api": "^0.2.7"
+ "tailwindcss": "^3.3.4"
},
"devDependencies": {
"@tauri-apps/cli": "2.0.0-rc.0",
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index e572323d3..82d5d6539 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -17,13 +17,12 @@ ffmpeg-sidecar = { git = "https://github.com/CapSoftware/ffmpeg-sidecar", branch
tauri = { version = "2.0.0-rc", features = [
"macos-private-api",
"devtools",
- "icon-png", "tray-icon",
+ "tray-icon",
] }
+tauri-plugin-global-shortcut = "2.0.0-rc"
+
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
-tauri-plugin-context-menu = "0.7.0"
-tauri-plugin-positioner = { version = "1.0.4", features = ["system-tray"] }
-tauri-plugin-global-shortcut = { path = "../../../crates/tauri-plugin-global-shortcut" }
ffmpeg-sidecar = { git = "https://github.com/CapSoftware/ffmpeg-sidecar", branch = "main" }
cpal = "0.15.2"
which = "4.2.2"
@@ -31,10 +30,6 @@ tokio = { version = "1.35.1", features = ["full"] }
tokio-util = { version = "0.7.10", features = ["io", "codec"] }
futures = "0.3.30"
reqwest = { version = "0.11.23", features = ["json", "multipart", "stream"] }
-tauri-plugin-oauth = { git = "https://github.com/FabianLars/tauri-plugin-oauth", branch = "main" }
-tauri-plugin-deep-link = { git = "https://github.com/FabianLars/tauri-plugin-deep-link", branch = "main" }
-window-vibrancy = "0.4.3"
-window-shadows = "0.2.2"
chrono = "0.4.33"
dotenvy_macro = "0.15.7"
byteorder = "1.4.3"
@@ -51,13 +46,12 @@ jpeg-encoder = "0.6.0"
nix = "0.20.0"
urlencoding = "2.1.2"
bytes = "1.0"
-tauri-specta = { version = "1", features = ["javascript", "typescript"] }
-specta = "1"
tracing = "0.1"
tracing-subscriber = "0.3"
tracing-appender = "0.2"
sentry-tracing = "0.34.0"
keyboard-types = "0.7.0"
+specta-typescript = "0.0.6"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = [
diff --git a/crates/tauri-plugin-global-shortcut/Cargo.toml b/crates/tauri-plugin-global-shortcut/Cargo.toml
deleted file mode 100644
index 3cdd53483..000000000
--- a/crates/tauri-plugin-global-shortcut/Cargo.toml
+++ /dev/null
@@ -1,18 +0,0 @@
-[package]
-name = "tauri-plugin-global-shortcut"
-version = "1.0.0"
-description = "Register global hotkeys listeners on your Tauri application."
-edition = "2021"
-
-[package.metadata.docs.rs]
-rustc-args = ["--cfg", "docsrs"]
-rustdoc-args = ["--cfg", "docsrs"]
-
-[dependencies]
-serde = { version = "1.0", features = ["derive"] }
-serde_json = { version = "1.0" }
-tauri = { version = "1.6.1" }
-log = "0.4.22"
-thiserror = "1.0.63"
-
-global-hotkey = { version = "0.5", features = ["serde"] }
diff --git a/crates/tauri-plugin-global-shortcut/guest-js/index.ts b/crates/tauri-plugin-global-shortcut/guest-js/index.ts
deleted file mode 100644
index 12776a19c..000000000
--- a/crates/tauri-plugin-global-shortcut/guest-js/index.ts
+++ /dev/null
@@ -1,142 +0,0 @@
-// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
-// SPDX-License-Identifier: Apache-2.0
-// SPDX-License-Identifier: MIT
-
-/**
- * Register global shortcuts.
- *
- * @module
- */
-
-import { listen } from "@tauri-apps/api/event";
-import { invoke } from "@tauri-apps/api/tauri";
-
-export interface ShortcutEvent {
- shortcut: string;
- id: number;
- state: "Released" | "Pressed";
- callbackId: number;
-}
-
-export type ShortcutHandler = (event: ShortcutEvent) => void;
-
-let idCounter = 0;
-const listeners = new Map<number, ShortcutHandler>();
-
-/**
- * Register a global shortcut or a list of shortcuts.
- *
- * The handler is called when any of the registered shortcuts are pressed by the user.
- *
- * If the shortcut is already taken by another application, the handler will not be triggered.
- * Make sure the shortcut is as unique as possible while still taking user experience into consideration.
- *
- * @example
- * ```typescript
- * import { register } from '@tauri-apps/plugin-global-shortcut';
- *
- * // register a single hotkey
- * await register('CommandOrControl+Shift+C', (event) => {
- * if (event.state === "Pressed") {
- * console.log('Shortcut triggered');
- * }
- * });
- *
- * // or register multiple hotkeys at once
- * await register(['CommandOrControl+Shift+C', 'Alt+A'], (event) => {
- * console.log(`Shortcut ${event.shortcut} triggered`);
- * });
- * ```
- *
- * @param shortcut Shortcut definition, modifiers and key separated by "+" e.g. CmdOrControl+Q
- * @param handler Shortcut handler callback - takes the triggered shortcut as argument
- *
- * @since 2.0.0
- */
-async function register(
- shortcuts: string | string[],
- handler: ShortcutHandler
-): Promise<void> {
- const id = idCounter++;
-
- // minor memory leak until tauri 2.0
-
- listeners.set(id, handler);
-
- await listen<ShortcutEvent>("shortcut_event", (event) => {
- if (event.payload.callbackId === id) {
- const listener = listeners.get(id);
- if (listener) {
- console.log(event);
- console.log(listeners);
- listener(event.payload);
- }
- }
- });
-
- return await invoke("plugin:global-shortcut|register", {
- shortcuts: Array.isArray(shortcuts) ? shortcuts : [shortcuts],
- callbackId: id,
- });
-}
-
-/**
- * Unregister a global shortcut or a list of shortcuts.
- *
- * @example
- * ```typescript
- * import { unregister } from '@tauri-apps/plugin-global-shortcut';
- *
- * // unregister a single hotkey
- * await unregister('CmdOrControl+Space');
- *
- * // or unregister multiple hotkeys at the same time
- * await unregister(['CmdOrControl+Space', 'Alt+A']);
- * ```
- *
- * @param shortcut shortcut definition (modifiers and key separated by "+" e.g. CmdOrControl+Q), also accepts a list of shortcuts
- *
- * @since 2.0.0
- */
-async function unregister(shortcuts: string | string[]): Promise<void> {
- return await invoke("plugin:global-shortcut|unregister", {
- shortcuts: Array.isArray(shortcuts) ? shortcuts : [shortcuts],
- });
-}
-
-/**
- * Unregister all global shortcuts.
- *
- * @example
- * ```typescript
- * import { unregisterAll } from '@tauri-apps/plugin-global-shortcut';
- * await unregisterAll();
- * ```
- * @since 2.0.0
- */
-async function unregisterAll(): Promise<void> {
- return await invoke("plugin:global-shortcut|unregister_all", {});
-}
-
-/**
- * Determines whether the given shortcut is registered by this application or not.
- *
- * If the shortcut is registered by another application, it will still return `false`.
- *
- * @example
- * ```typescript
- * import { isRegistered } from '@tauri-apps/plugin-global-shortcut';
- * const isRegistered = await isRegistered('CommandOrControl+P');
- * ```
- *
- * @param shortcut shortcut definition, modifiers and key separated by "+" e.g. CmdOrControl+Q
- *
- * @since 2.0.0
- */
-async function isRegistered(shortcut: string): Promise<boolean> {
- return await invoke("plugin:global-shortcut|is_registered", {
- shortcut,
- });
-}
-
-export { register, unregister, unregisterAll, isRegistered };
diff --git a/crates/tauri-plugin-global-shortcut/package.json b/crates/tauri-plugin-global-shortcut/package.json
deleted file mode 100644
index 424406a73..000000000
--- a/crates/tauri-plugin-global-shortcut/package.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "@tauri-apps/plugin-global-shortcut",
- "version": "1.0.0",
- "license": "MIT or APACHE-2.0",
- "authors": [
- "Tauri Programme within The Commons Conservancy"
- ],
- "repository": "https://github.com/tauri-apps/plugins-workspace",
- "type": "module",
- "types": "./dist/index.d.ts",
- "main": "./dist/index.js",
- "scripts": {
- "postinstall": "tsc"
- },
- "devDependencies": {
- "tsconfig": "workspace:*",
- "typescript": "^5.3.2"
- },
- "dependencies": {
- "@tauri-apps/api": "1.6.0"
- }
-}
diff --git a/crates/tauri-plugin-global-shortcut/src/error.rs b/crates/tauri-plugin-global-shortcut/src/error.rs
deleted file mode 100644
index a1e366a79..000000000
--- a/crates/tauri-plugin-global-shortcut/src/error.rs
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
-// SPDX-License-Identifier: Apache-2.0
-// SPDX-License-Identifier: MIT
-
-use serde::{Serialize, Serializer};
-
-#[derive(Debug, thiserror::Error)]
-pub enum Error {
- #[error("{0}")]
- GlobalHotkey(String),
-}
-
-impl Serialize for Error {
- fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
- where
- S: Serializer,
- {
- serializer.serialize_str(self.to_string().as_ref())
- }
-}
-
-impl From<global_hotkey::Error> for Error {
- fn from(value: global_hotkey::Error) -> Self {
- Self::GlobalHotkey(value.to_string())
- }
-}
-
-impl From<global_hotkey::hotkey::HotKeyParseError> for Error {
- fn from(value: global_hotkey::hotkey::HotKeyParseError) -> Self {
- Self::GlobalHotkey(value.to_string())
- }
-}
diff --git a/crates/tauri-plugin-global-shortcut/src/lib.rs b/crates/tauri-plugin-global-shortcut/src/lib.rs
deleted file mode 100644
index 7380f8ab9..000000000
--- a/crates/tauri-plugin-global-shortcut/src/lib.rs
+++ /dev/null
@@ -1,419 +0,0 @@
-// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
-// SPDX-License-Identifier: Apache-2.0
-// SPDX-License-Identifier: MIT
-
-//! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/global-shortcut/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/global-shortcut)
-//!
-//! Register global shortcuts.
-//!
-//! - Supported platforms: Windows, Linux and macOS.
-
-#![doc(
- html_logo_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png",
- html_favicon_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png"
-)]
-#![cfg(not(any(target_os = "android", target_os = "ios")))]
-
-use std::{
- collections::HashMap,
- str::FromStr,
- sync::{Arc, Mutex},
-};
-
-pub use global_hotkey::{
- hotkey::{Code, HotKey as Shortcut, Modifiers},
- GlobalHotKeyEvent as ShortcutEvent, HotKeyState as ShortcutState,
-};
-use global_hotkey::{GlobalHotKeyEvent, GlobalHotKeyManager};
-use serde::Serialize;
-use tauri::{
- plugin::{Builder as PluginBuilder, TauriPlugin},
- AppHandle, Manager, Runtime, State,
-};
-
-mod error;
-
-pub use error::Error;
-type Result<T> = std::result::Result<T, Error>;
-
-type HotKeyId = u32;
-type HandlerFn<R> = Box<dyn Fn(&AppHandle<R>, &Shortcut, ShortcutEvent) + Send + Sync + 'static>;
-
-pub struct ShortcutWrapper(Shortcut);
-
-impl From<Shortcut> for ShortcutWrapper {
- fn from(value: Shortcut) -> Self {
- Self(value)
- }
-}
-
-impl TryFrom<&str> for ShortcutWrapper {
- type Error = global_hotkey::hotkey::HotKeyParseError;
- fn try_from(value: &str) -> std::result::Result<Self, Self::Error> {
- Shortcut::from_str(value).map(ShortcutWrapper)
- }
-}
-
-struct RegisteredShortcut<R: Runtime> {
- shortcut: Shortcut,
- handler: Option<Arc<HandlerFn<R>>>,
-}
-
-pub struct GlobalShortcut<R: Runtime> {
- #[allow(dead_code)]
- app: AppHandle<R>,
- manager: GlobalHotKeyManager,
- shortcuts: Arc<Mutex<HashMap<HotKeyId, RegisteredShortcut<R>>>>,
-}
-
-impl<R: Runtime> GlobalShortcut<R> {
- fn register_internal<F: Fn(&AppHandle<R>, &Shortcut, ShortcutEvent) + Send + Sync + 'static>(
- &self,
- shortcut: Shortcut,
- handler: Option<F>,
- ) -> Result<()> {
- let id = shortcut.id();
- let handler = handler.map(|h| Arc::new(Box::new(h) as HandlerFn<R>));
-
- self.manager.register(shortcut)?;
- self.shortcuts
- .lock()
- .unwrap()
- .insert(id, RegisteredShortcut { shortcut, handler });
- Ok(())
- }
-
- fn register_multiple_internal<S, F>(&self, shortcuts: S, handler: Option<F>) -> Result<()>
- where
- S: IntoIterator<Item = Shortcut>,
- F: Fn(&AppHandle<R>, &Shortcut, ShortcutEvent) + Send + Sync + 'static,
- {
- let handler = handler.map(|h| Arc::new(Box::new(h) as HandlerFn<R>));
-
- let hotkeys = shortcuts.into_iter().collect::<Vec<_>>();
-
- let mut shortcuts = self.shortcuts.lock().unwrap();
- for shortcut in hotkeys {
- self.manager.register(shortcut)?;
- shortcuts.insert(
- shortcut.id(),
- RegisteredShortcut {
- shortcut,
- handler: handler.clone(),
- },
- );
- dbg!(&shortcut);
- }
-
- Ok(())
- }
-}
-
-impl<R: Runtime> GlobalShortcut<R> {
- /// Register a shortcut.
- pub fn register<S>(&self, shortcut: S) -> Result<()>
- where
- S: TryInto<ShortcutWrapper>,
- S::Error: std::error::Error,
- {
- self.register_internal(
- try_into_shortcut(shortcut)?,
- None::<fn(&AppHandle<R>, &Shortcut, ShortcutEvent)>,
- )
- }
-
- /// Register a shortcut with a handler.
- pub fn on_shortcut<S, F>(&self, shortcut: S, handler: F) -> Result<()>
- where
- S: TryInto<ShortcutWrapper>,
- S::Error: std::error::Error,
- F: Fn(&AppHandle<R>, &Shortcut, ShortcutEvent) + Send + Sync + 'static,
- {
- self.register_internal(try_into_shortcut(shortcut)?, Some(handler))
- }
-
- /// Register multiple shortcuts.
- pub fn register_multiple<S, T>(&self, shortcuts: S) -> Result<()>
- where
- S: IntoIterator<Item = T>,
- T: TryInto<ShortcutWrapper>,
- T::Error: std::error::Error,
- {
- let mut s = Vec::new();
- for shortcut in shortcuts {
- s.push(try_into_shortcut(shortcut)?);
- }
- self.register_multiple_internal(s, None::<fn(&AppHandle<R>, &Shortcut, ShortcutEvent)>)
- }
-
- /// Register multiple shortcuts with a handler.
- pub fn on_shortcuts<S, T, F>(&self, shortcuts: S, handler: F) -> Result<()>
- where
- S: IntoIterator<Item = T>,
- T: TryInto<ShortcutWrapper>,
- T::Error: std::error::Error,
- F: Fn(&AppHandle<R>, &Shortcut, ShortcutEvent) + Send + Sync + 'static,
- {
- let mut s = Vec::new();
- for shortcut in shortcuts {
- s.push(try_into_shortcut(shortcut)?);
- }
- self.register_multiple_internal(s, Some(handler))
- }
-
- /// Unregister a shortcut
- pub fn unregister<S: TryInto<ShortcutWrapper>>(&self, shortcut: S) -> Result<()>
- where
- S::Error: std::error::Error,
- {
- let shortcut = try_into_shortcut(shortcut)?;
- self.manager.unregister(shortcut)?;
- self.shortcuts.lock().unwrap().remove(&shortcut.id());
- Ok(())
- }
-
- /// Unregister multiple shortcuts.
- pub fn unregister_multiple<T: TryInto<ShortcutWrapper>, S: IntoIterator<Item = T>>(
- &self,
- shortcuts: S,
- ) -> Result<()>
- where
- T::Error: std::error::Error,
- {
- let mut s = Vec::new();
- for shortcut in shortcuts {
- s.push(try_into_shortcut(shortcut)?);
- }
-
- self.manager.unregister_all(&s)?;
-
- let mut shortcuts = self.shortcuts.lock().unwrap();
- for s in s {
- shortcuts.remove(&s.id());
- }
-
- Ok(())
- }
-
- /// Unregister all registered shortcuts.
- pub fn unregister_all(&self) -> Result<()> {
- let mut shortcuts = self.shortcuts.lock().unwrap();
- let hotkeys = std::mem::take(&mut *shortcuts);
- let hotkeys = hotkeys.values().map(|s| s.shortcut).collect::<Vec<_>>();
- self.manager
- .unregister_all(hotkeys.as_slice())
- .map_err(Into::into)
- }
-
- /// Determines whether the given shortcut is registered by this application or not.
- ///
- /// If the shortcut is registered by another application, it will still return `false`.
- pub fn is_registered<S: TryInto<ShortcutWrapper>>(&self, shortcut: S) -> bool
- where
- S::Error: std::error::Error,
- {
- if let Ok(shortcut) = try_into_shortcut(shortcut) {
- self.shortcuts.lock().unwrap().contains_key(&shortcut.id())
- } else {
- false
- }
- }
-}
-
-pub trait GlobalShortcutExt<R: Runtime> {
- fn global_shortcut(&self) -> &GlobalShortcut<R>;
-}
-
-impl<R: Runtime, T: Manager<R>> GlobalShortcutExt<R> for T {
- fn global_shortcut(&self) -> &GlobalShortcut<R> {
- self.state::<GlobalShortcut<R>>().inner()
- }
-}
-
-fn parse_shortcut<S: AsRef<str>>(shortcut: S) -> Result<Shortcut> {
- shortcut.as_ref().parse().map_err(Into::into)
-}
-
-fn try_into_shortcut<S: TryInto<ShortcutWrapper>>(shortcut: S) -> Result<Shortcut>
-where
- S::Error: std::error::Error,
-{
- shortcut
- .try_into()
- .map(|s| s.0)
- .map_err(|e| Error::GlobalHotkey(e.to_string()))
-}
-
-#[derive(Clone, Serialize)]
-#[serde(rename_all = "camelCase")]
-struct ShortcutJsEvent {
- shortcut: String,
- id: u32,
- state: ShortcutState,
- callback_id: i32,
-}
-
-#[tauri::command]
-fn register<R: Runtime>(
- _app: AppHandle<R>,
- global_shortcut: State<'_, GlobalShortcut<R>>,
- shortcuts: Vec<String>,
- callback_id: i32,
-) -> Result<()> {
- let mut hotkeys = Vec::new();
-
- let mut shortcut_map = HashMap::new();
- for shortcut in shortcuts {
- let hotkey = parse_shortcut(&shortcut)?;
- shortcut_map.insert(hotkey.id(), shortcut);
- hotkeys.push(hotkey);
- }
-
- global_shortcut.register_multiple_internal(
- hotkeys,
- Some(
- move |app: &AppHandle<R>, shortcut: &Shortcut, e: ShortcutEvent| {
- dbg!(&shortcut);
- let js_event = ShortcutJsEvent {
- id: e.id,
- state: e.state,
- shortcut: shortcut.into_string(),
- callback_id,
- };
- app.emit_all("shortcut_event", js_event).ok();
- },
- ),
- )
-}
-
-#[tauri::command]
-fn unregister<R: Runtime>(
- _app: AppHandle<R>,
- global_shortcut: State<'_, GlobalShortcut<R>>,
- shortcuts: Vec<String>,
-) -> Result<()> {
- let mut hotkeys = Vec::new();
- for shortcut in shortcuts {
- hotkeys.push(parse_shortcut(&shortcut)?);
- }
- global_shortcut.unregister_multiple(hotkeys)
-}
-
-#[tauri::command]
-fn unregister_all<R: Runtime>(
- _app: AppHandle<R>,
- global_shortcut: State<'_, GlobalShortcut<R>>,
-) -> Result<()> {
- global_shortcut.unregister_all()
-}
-
-#[tauri::command]
-fn is_registered<R: Runtime>(
- _app: AppHandle<R>,
- global_shortcut: State<'_, GlobalShortcut<R>>,
- shortcut: String,
-) -> Result<bool> {
- Ok(global_shortcut.is_registered(parse_shortcut(shortcut)?))
-}
-
-pub struct Builder<R: Runtime> {
- shortcuts: Vec<Shortcut>,
- handler: Option<HandlerFn<R>>,
-}
-
-impl<R: Runtime> Default for Builder<R> {
- fn default() -> Self {
- Self {
- shortcuts: Vec::new(),
- handler: Default::default(),
- }
- }
-}
-
-impl<R: Runtime> Builder<R> {
- pub fn new() -> Self {
- Self::default()
- }
-
- /// Add a shortcut to be registerd.
- pub fn with_shortcut<T>(mut self, shortcut: T) -> Result<Self>
- where
- T: TryInto<ShortcutWrapper>,
- T::Error: std::error::Error,
- {
- self.shortcuts.push(try_into_shortcut(shortcut)?);
- Ok(self)
- }
-
- /// Add multiple shortcuts to be registerd.
- pub fn with_shortcuts<S, T>(mut self, shortcuts: S) -> Result<Self>
- where
- S: IntoIterator<Item = T>,
- T: TryInto<ShortcutWrapper>,
- T::Error: std::error::Error,
- {
- for shortcut in shortcuts {
- self.shortcuts.push(try_into_shortcut(shortcut)?);
- }
-
- Ok(self)
- }
-
- /// Specify a global shortcut handler that will be triggered for any and all shortcuts.
- pub fn with_handler<F: Fn(&AppHandle<R>, &Shortcut, ShortcutEvent) + Send + Sync + 'static>(
- mut self,
- handler: F,
- ) -> Self {
- self.handler.replace(Box::new(handler));
- self
- }
-
- pub fn build(self) -> TauriPlugin<R> {
- let handler = self.handler;
- let shortcuts = self.shortcuts;
- PluginBuilder::new("global-shortcut")
- .invoke_handler(tauri::generate_handler![
- register,
- unregister,
- unregister_all,
- is_registered,
- ])
- .setup(move |app| {
- let manager = GlobalHotKeyManager::new()?;
- let mut store = HashMap::<HotKeyId, RegisteredShortcut<R>>::new();
- for shortcut in shortcuts {
- manager.register(shortcut)?;
- store.insert(
- shortcut.id(),
- RegisteredShortcut {
- shortcut,
- handler: None,
- },
- );
- }
-
- let shortcuts = Arc::new(Mutex::new(store));
- let shortcuts_ = shortcuts.clone();
-
- let app_handle = app.clone();
- GlobalHotKeyEvent::set_event_handler(Some(move |e: GlobalHotKeyEvent| {
- if let Some(shortcut) = shortcuts_.lock().unwrap().get(&e.id) {
- if let Some(handler) = &shortcut.handler {
- handler(&app_handle, &shortcut.shortcut, e);
- }
- if let Some(handler) = &handler {
- handler(&app_handle, &shortcut.shortcut, e);
- }
- }
- }));
-
- app.manage(GlobalShortcut {
- app: app.clone(),
- manager,
- shortcuts,
- });
- Ok(())
- })
- .build()
- }
-}
diff --git a/crates/tauri-plugin-global-shortcut/tsconfig.json b/crates/tauri-plugin-global-shortcut/tsconfig.json
deleted file mode 100644
index 6f1b7b08a..000000000
--- a/crates/tauri-plugin-global-shortcut/tsconfig.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "compilerOptions": {
- "outDir": "dist",
- "declaration": true,
- "lib": ["DOM", "ES2020"],
- "module": "ESNext",
- "moduleResolution": "node"
- }
-}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d3c028f37..aef87e3e7 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -45,8 +45,8 @@ importers:
specifier: ^2.0.0-rc.0
version: 2.0.0-rc.0
'@tauri-apps/plugin-global-shortcut':
- specifier: workspace:*
- version: link:../../crates/tauri-plugin-global-shortcut
+ specifier: 2.0.0-rc.0
+ version: 2.0.0-rc.0
'@tensorflow-models/body-pix':
specifier: ^2.2.1
version: 2.2.1(@tensorflow/[email protected])(@tensorflow/[email protected])(@tensorflow/[email protected])
@@ -92,12 +92,6 @@ importers:
tailwindcss:
specifier: ^3.3.4
version: 3.4.1
- tauri-plugin-context-menu:
- specifier: ^0.5.0
- version: 0.5.0
- tauri-plugin-positioner-api:
- specifier: ^0.2.7
- version: 0.2.7
devDependencies:
'@tauri-apps/cli':
specifier: 2.0.0-rc.0
@@ -7279,6 +7273,12 @@ packages:
'@tauri-apps/cli-win32-x64-msvc': 2.0.0-rc.0
dev: true
+ /@tauri-apps/[email protected]:
+ resolution: {integrity: sha512-rcefV4AG+vnbTtGc07hDn4Uj8u//NpuqHVg1CShACyiCS0q2sZrDVC3qPN3RGhzQyeIOPq4bY1kQRHODffKXZA==}
+ dependencies:
+ '@tauri-apps/api': 2.0.0-rc.0
+ dev: false
+
/@tensorflow-models/[email protected](@tensorflow/[email protected])(@tensorflow/[email protected])(@tensorflow/[email protected]):
resolution: {integrity: sha512-JeZHcpVMR0mW2znmF0FpZ0f7zpSY7c6+A7FBOmcIyZupTkXmG3MwGGqFPsVjRBwfqaKa4qYCJd7Svqo6rMzJYw==}
peerDependencies:
@@ -16015,11 +16015,13 @@ packages:
resolution: {integrity: sha512-CkAjSyxLx26hTXabG5Unbv+GWeH0XYNQB3zTqRxHpp257mWX8I4oASp8YF5T3zxFQEK++ZHqMZHpLrQ3usShRQ==}
dependencies:
'@tauri-apps/api': 1.6.0
+ dev: true
resolution: {integrity: sha512-jwqRHo59UU3aJbffEFkWVhBorjQg1WNeDa4W4eWVnaTqLals+/fqgHdNwTGzG1+LLdaJSS2FUy4XSwEDAWvERQ==}
dependencies:
'@tauri-apps/api': 1.6.0
+ dev: true
resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}