chore: Move parts of window.rs to winit-core

As winit no longer owns some of the types this requires some adjustments
in the Wayland backend.

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley
2024-02-04 10:42:05 -08:00
parent 2f197315d9
commit 114e6999d3
9 changed files with 175 additions and 188 deletions

View File

@@ -16,9 +16,10 @@ rust-version = "1.70.0"
default = ["std"]
std = ["alloc"]
alloc = []
serde = ["dep:serde", "smol_str/serde"]
serde = ["dep:serde", "cursor-icon/serde", "smol_str/serde"]
[dependencies]
bitflags.workspace = true
cursor-icon.workspace = true
serde = { workspace = true, optional = true }
smol_str.workspace = true