summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-02-22 20:55:44 +0100
committerDavid Lönnhager <david.l@mullvad.net>2025-03-05 23:32:16 +0100
commitc0ca7e20c6271fa5d4206623c0b2d5155f8c5bbd (patch)
treecd232815631ed94444b24606470f8569d22c06a1
parente07bbc0cfb3036310e2e297abb908041c5def540 (diff)
downloadmullvadvpn-c0ca7e20c6271fa5d4206623c0b2d5155f8c5bbd.tar.xz
mullvadvpn-c0ca7e20c6271fa5d4206623c0b2d5155f8c5bbd.zip
Remove unused features from native-windows-gui
-rw-r--r--Cargo.lock55
-rw-r--r--installer-downloader/Cargo.toml2
2 files changed, 2 insertions, 55 deletions
diff --git a/Cargo.lock b/Cargo.lock
index b7fac4207b..06256333f4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2294,12 +2294,6 @@ dependencies = [
[[package]]
name = "libm"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
-
-[[package]]
-name = "libm"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
@@ -2944,10 +2938,6 @@ checksum = "4f7003a669f68deb6b7c57d74fff4f8e533c44a3f0b297492440ef4ff5a28454"
dependencies = [
"bitflags 1.3.2",
"lazy_static",
- "newline-converter",
- "plotters",
- "plotters-backend",
- "stretch",
"winapi",
"winapi-build",
]
@@ -3051,15 +3041,6 @@ dependencies = [
]
[[package]]
-name = "newline-converter"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f71d09d5c87634207f894c6b31b6a2b2c64ea3bdcf71bd5599fdbbe1600c00f"
-dependencies = [
- "unicode-segmentation",
-]
-
-[[package]]
name = "nftnl"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3178,7 +3159,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
dependencies = [
"autocfg",
- "libm 0.2.8",
+ "libm",
]
[[package]]
@@ -3656,24 +3637,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
[[package]]
-name = "plotters"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
-dependencies = [
- "num-traits",
- "plotters-backend",
- "wasm-bindgen",
- "web-sys",
-]
-
-[[package]]
-name = "plotters-backend"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
-
-[[package]]
name = "pnet_base"
version = "0.34.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4801,16 +4764,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
-name = "stretch"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b0dc6d20ce137f302edf90f9cd3d278866fd7fb139efca6f246161222ad6d87"
-dependencies = [
- "lazy_static",
- "libm 0.1.4",
-]
-
-[[package]]
name = "strsim"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5701,12 +5654,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
-name = "unicode-segmentation"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
-
-[[package]]
name = "universal-hash"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/installer-downloader/Cargo.toml b/installer-downloader/Cargo.toml
index d15008254d..d4895e3b9f 100644
--- a/installer-downloader/Cargo.toml
+++ b/installer-downloader/Cargo.toml
@@ -26,7 +26,7 @@ mullvad-update = { path = "../mullvad-update", features = ["client", "native-tls
[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 = ["image-decoder"] }
+native-windows-gui = { version = "1.0.12", features = ["frame", "image-decoder", "progress-bar"], default-features = false }
[target.'cfg(target_os = "macos")'.dependencies]
cacao = "0.3.2"