diff options
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | installer-downloader/Cargo.toml | 16 | ||||
| -rw-r--r-- | installer-downloader/build.rs | 2 | ||||
| -rw-r--r-- | mullvad-update/Cargo.toml | 2 |
4 files changed, 12 insertions, 9 deletions
diff --git a/Cargo.lock b/Cargo.lock index 645c02fac4..c8d0716510 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2024,6 +2024,7 @@ dependencies = [ "cacao", "chrono", "fern", + "hex", "insta", "log", "mullvad-paths", diff --git a/installer-downloader/Cargo.toml b/installer-downloader/Cargo.toml index a468abb8cb..4dd336050c 100644 --- a/installer-downloader/Cargo.toml +++ b/installer-downloader/Cargo.toml @@ -17,23 +17,23 @@ windows-sys = { workspace = true, features = ["Win32_System", "Win32_System_Libr [target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies] anyhow = { workspace = true } -tokio = { workspace = true, features = ["rt-multi-thread", "fs"] } async-trait = "0.1" -rand = { version = "0.8.5" } -reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls"] } -serde = { workspace = true, features = ["derive"] } - - chrono = { workspace = true, features = ["clock"] } fern = { version = "0.6", default-features = false } +hex = "0.4" log = { workspace = true } +rand = { version = "0.8.5" } +reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls"] } +serde = { workspace = true, features = ["derive"] } +tokio = { workspace = true, features = ["rt-multi-thread", "fs"] } talpid-platform-metadata = { path = "../talpid-platform-metadata" } mullvad-update = { path = "../mullvad-update", features = ["client"] } [target.'cfg(target_os = "windows")'.dependencies] -windows-sys = { workspace = true, features = ["Win32_UI", "Win32_UI_WindowsAndMessaging", "Win32_Graphics", "Win32_Graphics_Gdi"] } native-windows-gui = { version = "1.0.12", features = ["frame", "image-decoder", "progress-bar"], default-features = false } +windows-sys = { workspace = true, features = ["Win32_UI", "Win32_UI_WindowsAndMessaging", "Win32_Graphics", "Win32_Graphics_Gdi"] } + mullvad-paths = { path = "../mullvad-paths" } [target.'cfg(target_os = "macos")'.dependencies] @@ -41,9 +41,9 @@ cacao = "0.3.2" objc_id = "0.1" [target.'cfg(any(target_os = "windows", target_os = "macos"))'.dev-dependencies] +insta = { workspace = true, features = ["yaml"] } serde = { workspace = true, features = ["derive"] } tokio = { workspace = true, features = ["test-util", "macros"] } -insta = { workspace = true, features = ["yaml"] } [package.metadata.winres] LegalCopyright = "(c) 2025 Mullvad VPN AB" diff --git a/installer-downloader/build.rs b/installer-downloader/build.rs index 475a864999..9bb62b77ee 100644 --- a/installer-downloader/build.rs +++ b/installer-downloader/build.rs @@ -11,6 +11,8 @@ fn main() -> anyhow::Result<()> { } fn win_main() -> anyhow::Result<()> { + use anyhow::Context; + let mut res = winres::WindowsResource::new(); res.set_language(make_lang_id( diff --git a/mullvad-update/Cargo.toml b/mullvad-update/Cargo.toml index 12434e3545..cf2a396796 100644 --- a/mullvad-update/Cargo.toml +++ b/mullvad-update/Cargo.toml @@ -27,7 +27,7 @@ serde_json = { workspace = true } async-trait = { version = "0.1", optional = true } reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls"], optional = true } sha2 = { version = "0.10", optional = true } -tokio = { workspace = true, features = ["rt-multi-thread", "fs", "process"], optional = true } +tokio = { workspace = true, features = ["rt-multi-thread", "fs", "process", "macros"], optional = true } thiserror = { workspace = true, optional = true } mullvad-version = { path = "../mullvad-version", features = ["serde"] } |
