Merge pull request #1777 from AirhartAero/linux-window-features

Re-expose winit features for window servers in Linux
This commit is contained in:
Héctor Ramón 2023-04-12 20:57:36 +02:00 committed by GitHub
commit adb70d232a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,11 +11,16 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"] categories = ["gui"]
[features] [features]
default = ["x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita"]
trace = ["tracing", "tracing-core", "tracing-subscriber"] trace = ["tracing", "tracing-core", "tracing-subscriber"]
chrome-trace = ["trace", "tracing-chrome"] chrome-trace = ["trace", "tracing-chrome"]
debug = ["iced_native/debug"] debug = ["iced_native/debug"]
system = ["sysinfo"] system = ["sysinfo"]
application = [] application = []
x11 = ["winit/x11"]
wayland = ["winit/wayland"]
wayland-dlopen = ["winit/wayland-dlopen"]
wayland-csd-adwaita = ["winit/wayland-csd-adwaita"]
[dependencies] [dependencies]
window_clipboard = "0.2" window_clipboard = "0.2"
@ -26,6 +31,7 @@ thiserror = "1.0"
version = "0.27" version = "0.27"
git = "https://github.com/iced-rs/winit.git" git = "https://github.com/iced-rs/winit.git"
rev = "940457522e9fb9f5dac228b0ecfafe0138b4048c" rev = "940457522e9fb9f5dac228b0ecfafe0138b4048c"
default-features = false
[dependencies.iced_native] [dependencies.iced_native]
version = "0.9" version = "0.9"