mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-03 07:10:05 -04:00
Move X11 backend to winit-x11 (#4253)
This commit is contained in:
48
winit-x11/Cargo.toml
Normal file
48
winit-x11/Cargo.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
[package]
|
||||
description = "Winit's X11 backend"
|
||||
documentation = "https://docs.rs/winit-x11"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
name = "winit-x11"
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
version = "0.0.0"
|
||||
|
||||
[features]
|
||||
serde = ["dep:serde", "bitflags/serde", "smol_str/serde", "dpi/serde"]
|
||||
|
||||
[dependencies]
|
||||
bitflags.workspace = true
|
||||
cursor-icon.workspace = true
|
||||
dpi.workspace = true
|
||||
rwh_06.workspace = true
|
||||
serde = { workspace = true, optional = true }
|
||||
smol_str.workspace = true
|
||||
tracing.workspace = true
|
||||
winit-core.workspace = true
|
||||
|
||||
# Platform-specific
|
||||
bytemuck.workspace = true
|
||||
calloop.workspace = true
|
||||
libc.workspace = true
|
||||
percent-encoding.workspace = true
|
||||
rustix = { workspace = true, features = ["std", "system", "thread", "process"] }
|
||||
winit-common = { workspace = true, features = ["xkb", "x11"] }
|
||||
x11-dl.workspace = true
|
||||
x11rb = { workspace = true, features = [
|
||||
"allow-unsafe-code",
|
||||
"cursor",
|
||||
"dl-libxcb",
|
||||
"randr",
|
||||
"resource_manager",
|
||||
"sync",
|
||||
"xinput",
|
||||
"xkb",
|
||||
] }
|
||||
xkbcommon-dl = { workspace = true, features = ["x11"] }
|
||||
|
||||
[dev-dependencies]
|
||||
winit.workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
Reference in New Issue
Block a user