Skip to content

Commit

Permalink
chore(updater): relax url requirement (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog-crabnebula authored Oct 7, 2024
1 parent e08f426 commit af990f8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changes/relax-url-req.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cargo-packager-updater": patch
---

Relax `url` dependency version requirement from `2.5` to `2`.
27 changes: 15 additions & 12 deletions crates/updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,37 @@
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 }
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"
Expand Down

0 comments on commit af990f8

Please sign in to comment.