Split Orbital backend out into winit-orbital (#4243)

This commit is contained in:
Mads Marquart 2025-05-21 13:12:55 +02:00 committed by GitHub
parent e2b883d215
commit 47b938dbe7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 61 additions and 33 deletions

View file

@ -1,5 +1,5 @@
[workspace]
members = ["dpi", "winit-core"]
members = ["dpi", "winit-core", "winit-orbital"]
resolver = "2"
[workspace.package]
@ -13,6 +13,7 @@ rust-version = "1.80"
# `winit` has no version here to allow using it in dev deps for docs.
winit = { path = "." }
winit-core = { version = "0.0.0", path = "winit-core" }
winit-orbital = { version = "0.0.0", path = "winit-orbital" }
# Core dependencies.
bitflags = "2"
@ -397,10 +398,8 @@ x11rb = { workspace = true, optional = true, features = [
] }
xkbcommon-dl.workspace = true
# Orbital
[target.'cfg(target_os = "redox")'.dependencies]
orbclient.workspace = true
redox_syscall.workspace = true
winit-orbital.workspace = true
# Web
[target.'cfg(target_family = "wasm")'.dependencies]