diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index f8d66f2f..2eb9babf 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -591,7 +591,6 @@ dependencies = [ "warp", "which 5.0.0", "window-shadows", - "window-vibrancy", "windows-sys 0.52.0", "winreg 0.52.0", ] @@ -2917,15 +2916,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" -[[package]] -name = "openssl-src" -version = "300.1.6+3.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439fac53e092cd7442a3660c85dde4643ab3b5bd39040912388dcdabf6b88085" -dependencies = [ - "cc", -] - [[package]] name = "openssl-sys" version = "0.9.96" @@ -2934,7 +2924,6 @@ checksum = "3812c071ba60da8b5677cc12bcb1d42989a65553772897a7e0355545a819838f" dependencies = [ "cc", "libc", - "openssl-src", "pkg-config", "vcpkg", ] @@ -5653,19 +5642,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "window-vibrancy" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af6abc2b9c56bd95887825a1ce56cde49a2a97c07e28db465d541f5098a2656c" -dependencies = [ - "cocoa 0.25.0", - "objc", - "raw-window-handle", - "windows-sys 0.52.0", - "windows-version", -] - [[package]] name = "windows" version = "0.37.0" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 51b3f090..baad6f21 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -25,7 +25,6 @@ log4rs = "1" nanoid = "0.4" chrono = "0.4" sysinfo = "0.29" -sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" } rquickjs = "0.3" serde_json = "1.0" serde_yaml = "0.9" @@ -34,14 +33,13 @@ once_cell = "1.18" port_scanner = "0.1.5" delay_timer = "0.11" parking_lot = "0.12" +percent-encoding = "2.3.1" +window-shadows = { version = "0.2" } tokio = { version = "1", features = ["full"] } serde = { version = "1.0", features = ["derive"] } reqwest = { version = "0.11", features = ["json", "rustls-tls"] } -tauri = { version = "1.5", features = ["clipboard-all", "global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] } -window-vibrancy = { version = "0.4.3" } -window-shadows = { version = "0.2" } -percent-encoding = "2.3.1" - +sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" } +tauri = { version = "1.5", features = ["icon-png", "clipboard-all", "global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] } [target.'cfg(windows)'.dependencies] runas = "=1.0.0" @@ -49,12 +47,8 @@ deelevate = "0.2.0" winreg = { version = "0.52", features = ["transactions"] } windows-sys = { version = "0.52", features = ["Win32_System_LibraryLoader", "Win32_System_SystemInformation"] } -[target.'cfg(windows)'.dependencies.tauri] -features = ["global-shortcut-all", "icon-png", "process-all", "shell-all", "system-tray", "updater", "window-all"] - -[target.'cfg(linux)'.dependencies.tauri] -features = ["global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all", "native-tls-vendored", "reqwest-native-tls-vendored"] - +[target.'cfg(target_os = "linux")'.dependencies] +#openssl [features] default = ["custom-protocol"]