diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 9052593c..197a53cb 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -3835,6 +3835,7 @@ dependencies = [ "serde_json", "serde_yaml", "sha-1", + "tao 0.16.7", "tauri", "tauri-build", "tauri-plugin-deep-link", @@ -5289,6 +5290,50 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417" +[[package]] +name = "tao" +version = "0.16.7" +dependencies = [ + "bitflags 1.3.2", + "cairo-rs", + "cc", + "cocoa 0.24.1", + "core-foundation", + "core-graphics 0.22.3", + "crossbeam-channel", + "dispatch", + "gdk", + "gdk-pixbuf", + "gdk-sys", + "gdkwayland-sys", + "gdkx11-sys", + "gio", + "glib", + "glib-sys", + "gtk", + "image 0.24.9", + "instant", + "jni", + "lazy_static", + "libc", + "log", + "ndk", + "ndk-context", + "ndk-sys", + "objc", + "once_cell", + "parking_lot", + "png", + "raw-window-handle", + "scopeguard", + "tao-macros 0.1.0", + "unicode-segmentation", + "uuid", + "windows 0.39.0", + "windows-implement 0.39.0", + "x11-dl", +] + [[package]] name = "tao" version = "0.16.9" @@ -5330,7 +5375,7 @@ dependencies = [ "raw-window-handle", "scopeguard", "serde", - "tao-macros", + "tao-macros 0.1.2", "unicode-segmentation", "uuid", "windows 0.39.0", @@ -5338,6 +5383,15 @@ dependencies = [ "x11-dl", ] +[[package]] +name = "tao-macros" +version = "0.1.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "tao-macros" version = "0.1.2" @@ -7069,7 +7123,7 @@ dependencies = [ "serde_json", "sha2", "soup2", - "tao", + "tao 0.16.9", "thiserror", "url", "webkit2gtk", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index e05ee9b2..c27a7d8d 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -73,7 +73,7 @@ regex = "1.9.3" lang_detect = { path = "libs/lang_detect" } auto-launch = { path = "libs/auto-launch" } -# tao = { path = "libs/tao-0.16.7" } +tao = { path = "libs/tao-0.16.7" } mid = { path = "libs/mid-hardware-id" } linkify = "0.10.0" @@ -99,8 +99,8 @@ default = ["custom-protocol"] system-tray = ["tauri/system-tray"] custom-protocol = ["tauri/custom-protocol"] -# [patch.crates-io] -# tao = { path = "libs/tao-0.16.7" } +[patch.crates-io] +tao = { path = "libs/tao-0.16.7" } [profile.release] # panic = "abort" # Strip expensive panic clean-up logic