[chore]: tweaking deps for windows build

This commit is contained in:
Chris Cochrun 2026-04-28 15:27:13 -05:00
parent 500d22452a
commit 98d8ede443
2 changed files with 172 additions and 217 deletions

386
Cargo.lock generated
View file

@ -395,9 +395,6 @@ dependencies = [
"serde_repr",
"tokio",
"url",
"wayland-backend",
"wayland-client",
"wayland-protocols",
"zbus",
]
@ -1150,7 +1147,7 @@ dependencies = [
"cocoa-foundation",
"core-foundation 0.9.4",
"core-graphics",
"foreign-types",
"foreign-types 0.5.0",
"libc",
"objc",
]
@ -1258,7 +1255,7 @@ dependencies = [
"bitflags 1.3.2",
"core-foundation 0.9.4",
"core-graphics-types 0.1.3",
"foreign-types",
"foreign-types 0.5.0",
"libc",
]
@ -1292,7 +1289,7 @@ checksum = "c9d2790b5c08465d49f8dc05c8bcae9fea467855947db39b0f8145c091aaced5"
dependencies = [
"core-foundation 0.9.4",
"core-graphics",
"foreign-types",
"foreign-types 0.5.0",
"libc",
]
@ -1328,19 +1325,6 @@ dependencies = [
"objc2-core-foundation",
]
[[package]]
name = "cosmic-client-toolkit"
version = "0.2.0"
source = "git+https://github.com/pop-os/cosmic-protocols?rev=160b086#160b086abe03cd34a8a375d7fbe47b24308d1f38"
dependencies = [
"bitflags 2.11.0",
"cosmic-protocols",
"libc",
"smithay-client-toolkit",
"wayland-client",
"wayland-protocols",
]
[[package]]
name = "cosmic-config"
version = "1.0.0"
@ -1379,39 +1363,12 @@ dependencies = [
"bstr",
"btoi",
"memchr",
"memmap2 0.9.10",
"memmap2",
"thiserror 2.0.18",
"tracing",
"xdg",
]
[[package]]
name = "cosmic-protocols"
version = "0.2.0"
source = "git+https://github.com/pop-os/cosmic-protocols?rev=160b086#160b086abe03cd34a8a375d7fbe47b24308d1f38"
dependencies = [
"bitflags 2.11.0",
"wayland-backend",
"wayland-client",
"wayland-protocols",
"wayland-protocols-wlr",
"wayland-scanner",
"wayland-server",
]
[[package]]
name = "cosmic-settings-config"
version = "0.1.0"
source = "git+https://github.com/pop-os/cosmic-settings-daemon#716da6d6af0b252e2f78aba2ad72ee19ae0241e0"
dependencies = [
"cosmic-config",
"ron 0.11.0",
"serde",
"serde_with",
"tracing",
"xkbcommon 0.9.0",
]
[[package]]
name = "cosmic-settings-daemon"
version = "0.1.0"
@ -2408,12 +2365,21 @@ checksum = "457e789b3d1202543297a350643cf459f836cade38934e7a4cf6a39e7cde2905"
dependencies = [
"fontconfig-parser",
"log",
"memmap2 0.9.10",
"memmap2",
"slotmap",
"tinyvec",
"ttf-parser",
]
[[package]]
name = "foreign-types"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
dependencies = [
"foreign-types-shared 0.1.1",
]
[[package]]
name = "foreign-types"
version = "0.5.0"
@ -2421,7 +2387,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
dependencies = [
"foreign-types-macros",
"foreign-types-shared",
"foreign-types-shared 0.3.1",
]
[[package]]
@ -2435,6 +2401,12 @@ dependencies = [
"syn",
]
[[package]]
name = "foreign-types-shared"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "foreign-types-shared"
version = "0.3.1"
@ -2450,21 +2422,6 @@ dependencies = [
"percent-encoding",
]
[[package]]
name = "freedesktop-desktop-entry"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28273c5c6b97a5f07724f6652f064c0c7f637f9aa5e7c09c83bc3bc4ad4ea245"
dependencies = [
"bstr",
"gettext-rs",
"log",
"memchr",
"thiserror 2.0.18",
"unicase",
"xdg",
]
[[package]]
name = "freetype-sys"
version = "0.20.1"
@ -2683,26 +2640,6 @@ dependencies = [
"wasip3",
]
[[package]]
name = "gettext-rs"
version = "0.7.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d5857dc1b7f0fee86961de833f434e29494d72af102ce5355738c0664222bdf"
dependencies = [
"gettext-sys",
"locale_config",
]
[[package]]
name = "gettext-sys"
version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ea859ab0dd7e70ff823032b3e077d03d39c965d68c6c10775add60e999d8ee9"
dependencies = [
"cc",
"temp-dir",
]
[[package]]
name = "gif"
version = "0.13.3"
@ -3328,6 +3265,22 @@ dependencies = [
"tower-service",
]
[[package]]
name = "hyper-tls"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
dependencies = [
"bytes",
"http-body-util",
"hyper",
"hyper-util",
"native-tls",
"tokio",
"tokio-native-tls",
"tower-service",
]
[[package]]
name = "hyper-util"
version = "0.1.20"
@ -3497,10 +3450,8 @@ source = "git+https://github.com/pop-os/libcosmic#1d7113a2446ef11e57f2782ff3487a
dependencies = [
"bitflags 2.11.0",
"bytes",
"cosmic-client-toolkit",
"dnd",
"glam",
"iced_accessibility",
"lilt",
"log",
"mime 0.1.0",
@ -3599,9 +3550,7 @@ version = "0.14.0"
source = "git+https://github.com/pop-os/libcosmic#1d7113a2446ef11e57f2782ff3487a4975c6da90"
dependencies = [
"bytes",
"cosmic-client-toolkit",
"dnd",
"iced_accessibility",
"iced_core",
"iced_futures",
"raw-window-handle",
@ -3652,7 +3601,6 @@ dependencies = [
"as-raw-xcb-connection",
"bitflags 2.11.0",
"bytemuck",
"cosmic-client-toolkit",
"cryoglyph",
"futures",
"glam",
@ -3680,9 +3628,7 @@ name = "iced_widget"
version = "0.14.2"
source = "git+https://github.com/pop-os/libcosmic#1d7113a2446ef11e57f2782ff3487a4975c6da90"
dependencies = [
"cosmic-client-toolkit",
"dnd",
"iced_accessibility",
"iced_renderer",
"iced_runtime",
"log",
@ -3699,32 +3645,24 @@ name = "iced_winit"
version = "0.14.0"
source = "git+https://github.com/pop-os/libcosmic#1d7113a2446ef11e57f2782ff3487a4975c6da90"
dependencies = [
"cosmic-client-toolkit",
"cursor-icon",
"dnd",
"iced_accessibility",
"iced_debug",
"iced_futures",
"iced_graphics",
"iced_program",
"iced_runtime",
"log",
"raw-window-handle",
"rustc-hash 2.1.2",
"rustix 0.38.44",
"thiserror 2.0.18",
"wasm-bindgen-futures",
"wayland-backend",
"wayland-client",
"wayland-protocols",
"web-sys",
"winapi",
"window_clipboard",
"winit",
"winit-core",
"xkbcommon 0.7.0",
"xkbcommon-dl",
"xkeysym",
]
[[package]]
@ -4288,21 +4226,17 @@ dependencies = [
"apply",
"ashpd 0.12.3",
"auto_enums",
"cosmic-client-toolkit",
"cosmic-config",
"cosmic-freedesktop-icons",
"cosmic-settings-config",
"cosmic-settings-daemon",
"cosmic-theme",
"css-color",
"derive_setters",
"float-cmp 0.10.0",
"freedesktop-desktop-entry",
"futures",
"i18n-embed",
"i18n-embed-fl",
"iced",
"iced_accessibility",
"iced_core",
"iced_futures",
"iced_renderer",
@ -4313,16 +4247,12 @@ dependencies = [
"iced_winit",
"image",
"jiff",
"libc",
"log",
"mime 0.3.17",
"palette",
"phf 0.13.1",
"rfd",
"rust-embed",
"rustix 1.1.4",
"serde",
"shlex",
"slotmap",
"taffy",
"thiserror 2.0.18",
@ -4427,19 +4357,6 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
[[package]]
name = "locale_config"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d2c35b16f4483f6c26f0e4e9550717a2f6575bcd6f12a53ff0c490a94a6934"
dependencies = [
"lazy_static",
"objc",
"objc-foundation",
"regex",
"winapi",
]
[[package]]
name = "lock_api"
version = "0.4.14"
@ -4500,7 +4417,7 @@ dependencies = [
"rapidfuzz",
"rapidhash",
"rayon",
"reqwest",
"reqwest 0.13.2",
"resvg_exposed",
"rodio",
"ron 0.8.1",
@ -4517,6 +4434,7 @@ dependencies = [
"tracing-log",
"tracing-subscriber",
"url",
"youtube_dl",
"zstd",
]
@ -4642,15 +4560,6 @@ version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
[[package]]
name = "memmap2"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43a5a03cefb0d953ec0be133036f14e109412fa594edc2f77227249db66cc3ed"
dependencies = [
"libc",
]
[[package]]
name = "memmap2"
version = "0.9.10"
@ -4678,7 +4587,7 @@ dependencies = [
"bitflags 2.11.0",
"block",
"core-graphics-types 0.2.0",
"foreign-types",
"foreign-types 0.5.0",
"log",
"objc",
"paste",
@ -4829,6 +4738,23 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "native-tls"
version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2"
dependencies = [
"libc",
"log",
"openssl",
"openssl-probe",
"openssl-sys",
"schannel",
"security-framework",
"security-framework-sys",
"tempfile",
]
[[package]]
name = "ndk"
version = "0.9.0"
@ -5366,12 +5292,50 @@ version = "1.70.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
[[package]]
name = "openssl"
version = "0.10.76"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "951c002c75e16ea2c65b8c7e4d3d51d5530d8dfa7d060b4776828c88cfb18ecf"
dependencies = [
"bitflags 2.11.0",
"cfg-if",
"foreign-types 0.3.2",
"libc",
"once_cell",
"openssl-macros",
"openssl-sys",
]
[[package]]
name = "openssl-macros"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "openssl-probe"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
[[package]]
name = "openssl-sys"
version = "0.9.112"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57d55af3b3e226502be1526dfdba67ab0e9c96fc293004e79576b2b9edb0dbdb"
dependencies = [
"cc",
"libc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "option-ext"
version = "0.2.0"
@ -6343,6 +6307,42 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832"
[[package]]
name = "reqwest"
version = "0.12.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147"
dependencies = [
"base64 0.22.1",
"bytes",
"futures-core",
"http",
"http-body",
"http-body-util",
"hyper",
"hyper-tls",
"hyper-util",
"js-sys",
"log",
"native-tls",
"percent-encoding",
"pin-project-lite",
"rustls-pki-types",
"serde",
"serde_json",
"serde_urlencoded",
"sync_wrapper",
"tokio",
"tokio-native-tls",
"tower",
"tower-http",
"tower-service",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
[[package]]
name = "reqwest"
version = "0.13.2"
@ -6491,19 +6491,6 @@ dependencies = [
"serde_derive",
]
[[package]]
name = "ron"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db09040cc89e461f1a265139777a2bde7f8d8c67c4936f700c63ce3e2904d468"
dependencies = [
"base64 0.22.1",
"bitflags 2.11.0",
"serde",
"serde_derive",
"unicode-ident",
]
[[package]]
name = "ron"
version = "0.12.1"
@ -6850,7 +6837,7 @@ checksum = "1dd3accc0f3f4bbaf2c9e1957a030dc582028130c67660d44c0a0345a22ca69b"
dependencies = [
"ab_glyph",
"log",
"memmap2 0.9.10",
"memmap2",
"smithay-client-toolkit",
"tiny-skia 0.11.4",
]
@ -7173,14 +7160,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0"
dependencies = [
"bitflags 2.11.0",
"bytemuck",
"calloop",
"calloop-wayland-source",
"cursor-icon",
"libc",
"log",
"memmap2 0.9.10",
"pkg-config",
"memmap2",
"rustix 1.1.4",
"thiserror 2.0.18",
"wayland-backend",
@ -7192,7 +7177,6 @@ dependencies = [
"wayland-protocols-misc",
"wayland-protocols-wlr",
"wayland-scanner",
"xkbcommon 0.8.0",
"xkeysym",
]
@ -7239,10 +7223,10 @@ dependencies = [
"core-graphics",
"drm",
"fastrand",
"foreign-types",
"foreign-types 0.5.0",
"js-sys",
"log",
"memmap2 0.9.10",
"memmap2",
"objc",
"raw-window-handle",
"redox_syscall 0.5.18",
@ -7927,12 +7911,6 @@ version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
[[package]]
name = "temp-dir"
version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83176759e9416cf81ee66cb6508dbfe9c96f20b8b56265a39917551c23c70964"
[[package]]
name = "tempfile"
version = "3.27.0"
@ -8201,6 +8179,16 @@ dependencies = [
"syn",
]
[[package]]
name = "tokio-native-tls"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
dependencies = [
"native-tls",
"tokio",
]
[[package]]
name = "tokio-rustls"
version = "0.26.4"
@ -8508,12 +8496,6 @@ dependencies = [
"tinystr",
]
[[package]]
name = "unicase"
version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
[[package]]
name = "unicode-bidi"
version = "0.3.18"
@ -8745,6 +8727,15 @@ version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "wait-timeout"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11"
dependencies = [
"libc",
]
[[package]]
name = "walkdir"
version = "2.5.0"
@ -8955,7 +8946,6 @@ dependencies = [
"wayland-backend",
"wayland-client",
"wayland-scanner",
"wayland-server",
]
[[package]]
@ -9008,7 +8998,6 @@ dependencies = [
"wayland-client",
"wayland-protocols",
"wayland-scanner",
"wayland-server",
]
[[package]]
@ -9022,19 +9011,6 @@ dependencies = [
"quote",
]
[[package]]
name = "wayland-server"
version = "0.31.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc1846eb04c49182e04f4a099e2a830a2b745610bbc1d61246e206f29c7000a0"
dependencies = [
"bitflags 2.11.0",
"downcast-rs",
"rustix 1.1.4",
"wayland-backend",
"wayland-scanner",
]
[[package]]
name = "wayland-sys"
version = "0.31.11"
@ -9889,7 +9865,7 @@ name = "winit-common"
version = "0.31.0-beta.2"
source = "git+https://github.com/pop-os/winit.git?tag=cosmic-0.14#a610ac9c7a72b39ff102ed4d946291618dc725b6"
dependencies = [
"memmap2 0.9.10",
"memmap2",
"objc2 0.6.4",
"objc2-core-foundation",
"smol_str",
@ -9960,7 +9936,7 @@ dependencies = [
"cursor-icon",
"dpi",
"libc",
"memmap2 0.9.10",
"memmap2",
"raw-window-handle",
"rustix 1.1.4",
"sctk-adwaita",
@ -10212,39 +10188,6 @@ version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2fb433233f2df9344722454bc7e96465c9d03bff9d77c248f9e7523fe79585b5"
[[package]]
name = "xkbcommon"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13867d259930edc7091a6c41b4ce6eee464328c6ff9659b7e4c668ca20d4c91e"
dependencies = [
"libc",
"memmap2 0.8.0",
"xkeysym",
]
[[package]]
name = "xkbcommon"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d66ca9352cbd4eecbbc40871d8a11b4ac8107cfc528a6e14d7c19c69d0e1ac9"
dependencies = [
"libc",
"memmap2 0.9.10",
"xkeysym",
]
[[package]]
name = "xkbcommon"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7a974f48060a14e95705c01f24ad9c3345022f4d97441b8a36beb7ed5c4a02d"
dependencies = [
"libc",
"memmap2 0.9.10",
"xkeysym",
]
[[package]]
name = "xkbcommon-dl"
version = "0.4.2"
@ -10263,9 +10206,6 @@ name = "xkeysym"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56"
dependencies = [
"bytemuck",
]
[[package]]
name = "xml-rs"
@ -10331,6 +10271,20 @@ dependencies = [
"synstructure",
]
[[package]]
name = "youtube_dl"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9689a10ae6a391064930de26cf8a11cf8e844bbfccf2d1f39cd02b10679c14ad"
dependencies = [
"log",
"reqwest 0.12.28",
"serde",
"serde_json",
"tokio",
"wait-timeout",
]
[[package]]
name = "zbus"
version = "5.14.0"

View file

@ -50,6 +50,7 @@ serde_json = "1.0.149"
nom = "8.0.0"
tokio-stream = "0.1.18"
fontdb = "0.23.0"
youtube_dl = { version = "0.10.0", features = ["downloader-native-tls", "tokio"] }
# rfd = { version = "0.15.4", default-features = false, features = ["xdg-portal"] }
@ -60,7 +61,7 @@ features = ["symphonia-all", "tracing", "playback", "symphonia", "symphonia-libo
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic"
default-features = false
features = ["debug", "winit", "desktop", "wayland", "tokio", "rfd", "dbus-config", "a11y", "wgpu", "multi-window", "process"]
features = ["debug", "winit", "tokio", "rfd", "wgpu", "multi-window",]
[dependencies.iced_video_player]
git = "https://github.com/wash2/iced_video_player.git"