From af990f848b78fa07fe2aa8f4cc32599557af9bf7 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:06:55 -0300 Subject: [PATCH] chore(updater): relax url requirement (#281) --- .changes/relax-url-req.md | 5 +++++ crates/updater/Cargo.toml | 27 +++++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 .changes/relax-url-req.md diff --git a/.changes/relax-url-req.md b/.changes/relax-url-req.md new file mode 100644 index 00000000..dda7ae14 --- /dev/null +++ b/.changes/relax-url-req.md @@ -0,0 +1,5 @@ +--- +"cargo-packager-updater": patch +--- + +Relax `url` dependency version requirement from `2.5` to `2`. diff --git a/crates/updater/Cargo.toml b/crates/updater/Cargo.toml index db401c36..85ebcb80 100644 --- a/crates/updater/Cargo.toml +++ b/crates/updater/Cargo.toml @@ -2,24 +2,27 @@ name = "cargo-packager-updater" version = "0.2.1" description = "Rust executable updater." -authors = [ - "CrabNebula Ltd.", - "Tauri Programme within The Commons Conservancy" -] +authors = ["CrabNebula Ltd.", "Tauri Programme within The Commons Conservancy"] edition = { workspace = true } license = { workspace = true } repository = { workspace = true } [features] -default = [ "rustls-tls" ] -process-relaunch-dangerous-allow-symlink-macos = [ "cargo-packager-utils/process-relaunch-dangerous-allow-symlink-macos" ] -native-tls = [ "reqwest/native-tls" ] -native-tls-vendored = [ "reqwest/native-tls-vendored" ] -rustls-tls = [ "reqwest/rustls-tls-native-roots" ] +default = ["rustls-tls"] +process-relaunch-dangerous-allow-symlink-macos = [ + "cargo-packager-utils/process-relaunch-dangerous-allow-symlink-macos", +] +native-tls = ["reqwest/native-tls"] +native-tls-vendored = ["reqwest/native-tls-vendored"] +rustls-tls = ["reqwest/rustls-tls-native-roots"] [dependencies] cargo-packager-utils = { version = "0.1.1", path = "../utils" } -reqwest = { version = "0.12", default-features = false, features = [ "json", "stream", "blocking" ] } +reqwest = { version = "0.12", default-features = false, features = [ + "json", + "stream", + "blocking", +] } thiserror = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } @@ -27,9 +30,9 @@ dunce = { workspace = true } dirs = { workspace = true } semver = { workspace = true } base64 = { workspace = true } -time = { workspace = true, features = [ "parsing", "formatting" ] } +time = { workspace = true, features = ["parsing", "formatting"] } http = "1" -url = { version = "2.5", features = [ "serde" ] } +url = { version = "2", features = ["serde"] } minisign-verify = "0.2" ctor = "0.2" tempfile = "3.12"