From 57d01bf82eab80fba74a92153755ef02dd1e78b6 Mon Sep 17 00:00:00 2001 From: Tony <68118705+Legend-Master@users.noreply.github.com> Date: Thu, 28 Mar 2024 10:41:34 +0800 Subject: [PATCH] chore(updater): clean up dependencies (#1084) * Clean up updater dependencies * Zip is in the dependencies already --- Cargo.lock | 1 - plugins/updater/Cargo.toml | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf627b57..698e3672 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6789,7 +6789,6 @@ dependencies = [ "http 0.2.12", "minisign-verify", "mockito", - "percent-encoding", "reqwest", "semver", "serde", diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index 7f4416b6..b9a033f7 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -28,18 +28,16 @@ dirs-next = "2" minisign-verify = "0.2" time = { version = "0.3", features = [ "parsing", "formatting" ] } base64 = "0.21" -percent-encoding = "2" semver = { version = "1", features = [ "serde" ] } futures-util = "0.3" tempfile = "3" zip = "0.6" -tar = "0.4" [target."cfg(target_os = \"windows\")".dependencies] -zip = { version = "0.6", default-features = false } -windows-sys = { version = "0.52.0", features = [ "Win32_Foundation", "Win32_UI_WindowsAndMessaging" ] } +windows-sys = { version = "0.52.0", features = ["Win32_Foundation", "Win32_UI_WindowsAndMessaging"] } [target."cfg(any(target_os = \"macos\", target_os = \"linux\"))".dependencies] +tar = "0.4" flate2 = "1.0.27" [dev-dependencies]