From 6d23f172e8a7571a9a2d0d3f66346620529fa5de Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 12 Mar 2024 09:29:09 +0800 Subject: [PATCH] Revert cargo.toml style --- plugins/updater/Cargo.toml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index f6b9ee22a..73cd09922 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -9,11 +9,11 @@ rust-version = { workspace = true } links = "tauri-plugin-updater" [package.metadata.docs.rs] -rustc-args = ["--cfg", "docsrs"] -rustdoc-args = ["--cfg", "docsrs"] +rustc-args = [ "--cfg", "docsrs" ] +rustdoc-args = [ "--cfg", "docsrs" ] [build-dependencies] -tauri-plugin = { workspace = true, features = ["build"] } +tauri-plugin = { workspace = true, features = [ "build" ] } [dependencies] tauri = { workspace = true } @@ -21,18 +21,15 @@ serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } tokio = "1" -reqwest = { version = "0.11", default-features = false, features = [ - "json", - "stream", -] } +reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] } url = { workspace = true } http = "0.2" dirs-next = "2" minisign-verify = "0.2" -time = { version = "0.3", features = ["parsing", "formatting"] } +time = { version = "0.3", features = [ "parsing", "formatting" ] } base64 = "0.21" percent-encoding = "2" -semver = { version = "1", features = ["serde"] } +semver = { version = "1", features = [ "serde" ] } futures-util = "0.3" tempfile = "3" zip = "0.6" @@ -53,6 +50,6 @@ flate2 = "1.0.27" mockito = "0.31" [features] -native-tls = ["reqwest/native-tls"] -native-tls-vendored = ["reqwest/native-tls-vendored"] -rustls-tls = ["reqwest/rustls-tls"] +native-tls = [ "reqwest/native-tls" ] +native-tls-vendored = [ "reqwest/native-tls-vendored" ] +rustls-tls = [ "reqwest/rustls-tls" ]