Simplify windowing server features a bit

This commit is contained in:
Héctor Ramón Jiménez 2025-11-25 08:38:59 +01:00
parent 5c7bf112c8
commit b5de29ca1f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 7 additions and 14 deletions

5
Cargo.lock generated
View file

@ -208,6 +208,8 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6cbdf310d77fd3aaee6ea2093db7011dc2d35d2eb3481e5607f1f8d942ed99df"
dependencies = [
"async-fs",
"async-net",
"enumflags2",
"futures-channel",
"futures-util",
@ -215,7 +217,6 @@ dependencies = [
"raw-window-handle",
"serde",
"serde_repr",
"tokio",
"url",
"wayland-backend",
"wayland-client",
@ -5927,7 +5928,6 @@ dependencies = [
"signal-hook-registry",
"socket2 0.6.1",
"tokio-macros",
"tracing",
"windows-sys 0.61.2",
]
@ -7651,7 +7651,6 @@ dependencies = [
"ordered-stream",
"serde",
"serde_repr",
"tokio",
"tracing",
"uds_windows",
"uuid",

View file

@ -88,7 +88,7 @@ linux-theme-detection = ["iced_winit/linux-theme-detection"]
# Enables the Unix X11 backend
x11 = ["iced_renderer/x11", "iced_winit/x11"]
# Enables the Unix Wayland backend
wayland = ["iced_renderer/wayland", "iced_winit/wayland", "iced_winit/wayland-csd-adwaita", "iced_tester?/wayland"]
wayland = ["iced_renderer/wayland", "iced_winit/wayland"]
[dependencies]
iced_debug.workspace = true
@ -212,7 +212,7 @@ pulldown-cmark = "0.12"
qrcode = { version = "0.13", default-features = false }
raw-window-handle = "0.6"
resvg = "0.45"
rfd = { version = "0.16", default-features = false }
rfd = "0.16"
rustc-hash = "2.0"
semver = "1.0"
serde = "1.0"

View file

@ -13,4 +13,3 @@ tokio.workspace = true
tokio.features = ["fs"]
rfd.workspace = true
rfd.features = ["xdg-portal", "wayland", "tokio"]

View file

@ -10,9 +10,6 @@ categories.workspace = true
keywords.workspace = true
rust-version.workspace = true
[features]
wayland = ["rfd/wayland"]
[dependencies]
iced_test.workspace = true
iced_widget.workspace = true

View file

@ -14,15 +14,13 @@ keywords.workspace = true
workspace = true
[features]
default = ["x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita"]
default = ["x11", "wayland"]
debug = ["iced_debug/enable"]
sysinfo = ["dep:sysinfo"]
x11 = ["winit/x11", "window_clipboard/x11"]
wayland = ["winit/wayland", "window_clipboard/wayland"]
wayland-dlopen = ["winit/wayland-dlopen"]
wayland-csd-adwaita = ["winit/wayland-csd-adwaita"]
unconditional-rendering = []
linux-theme-detection = ["dep:mundy", "mundy/async-io", "mundy/color-scheme"]
x11 = ["winit/x11", "window_clipboard/x11"]
wayland = ["winit/wayland", "winit/wayland-dlopen", "winit/wayland-csd-adwaita", "window_clipboard/wayland"]
[dependencies]
iced_debug.workspace = true