[package]
edition = "2024"
name = "xgpui-linux"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux and FreeBSD windowing and input backend for xgpui"
homepage = "https://xgpui.dev/"
documentation = "https://xgpui.dev/#crate=gpui-linux"
readme = "README.md"
keywords = [
"xgpui",
"gpui",
"gui",
"linux",
"wayland",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/gpui-luma-dev/xgpui"
[package.metadata.cargo-shear]
ignored = ["scap"]
[features]
default = [
"wayland",
"x11",
]
screen-capture = [
"gpui/screen-capture",
"scap",
]
test-support = ["gpui/test-support"]
wayland = [
"dep:accesskit_unix",
"gpui_wgpu",
"ashpd/wayland",
"calloop-wayland-source",
"wayland-backend",
"wayland-client",
"wayland-cursor",
"wayland-protocols",
"wayland-protocols-plasma",
"wayland-protocols-wlr",
"filedescriptor",
"xkbcommon/wayland",
"open",
"gpui/wayland",
"uuid/v5",
]
x11 = [
"dep:accesskit_unix",
"gpui_wgpu",
"ashpd",
"as-raw-xcb-connection",
"x11rb",
"xkbcommon/x11",
"xim",
"filedescriptor",
"open",
"scap?/x11",
]
[lib]
name = "gpui_linux"
path = "src/gpui_linux.rs"
doctest = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.accesskit]
version = "0.24.0"
features = ["enumn"]
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.accesskit_unix]
version = "0.22"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.anyhow]
version = "1.0.86"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.as-raw-xcb-connection]
version = "1"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.ashpd]
version = "0.13"
features = [
"async-io",
"inhibit",
"open_uri",
"file_chooser",
"settings",
]
optional = true
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.bytemuck]
version = "1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop]
version = "0.14.3"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.calloop-wayland-source]
version = "0.4.1"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.collections]
version = "=1.25.3"
package = "collections-gpui-unofficial"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.filedescriptor]
version = "0.8.2"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.futures]
version = "0.3.34"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui]
version = "=1.2.0"
package = "xgpui"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_util]
version = "=1.25.3"
package = "gpui-util-gpui-unofficial"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_wgpu]
version = "=1.0.2"
features = ["font-kit"]
optional = true
package = "xgpui-wgpu"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.http_client]
version = "=1.25.3"
package = "http-client-gpui-unofficial"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.libc]
version = "0.2"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.log]
version = "0.4"
features = ["std"]
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.notify-rust]
version = "4"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.oo7]
version = "0.6"
features = [
"async-std",
"native_crypto",
]
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.open]
version = "5.2.0"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.parking_lot]
version = "0.12.1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.raw-window-handle]
version = "0.6"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.scap]
version = "0.0.8-zed"
optional = true
default-features = false
package = "zed-scap"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.smallvec]
version = "1.6"
features = [
"union",
"const_new",
]
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.smol]
version = "2.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.strum]
version = "0.28"
features = ["derive"]
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.url]
version = "2.2"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.uuid]
version = "1.1"
features = ["serde"]
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-backend]
version = "0.3.15"
features = [
"client_system",
"dlopen",
"log",
]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-client]
version = "0.31.11"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-cursor]
version = "0.31.11"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols]
version = "0.32.9"
features = [
"client",
"staging",
"unstable",
]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-plasma]
version = "0.3.9"
features = ["client"]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-protocols-wlr]
version = "0.3.9"
features = ["client"]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.x11rb]
version = "0.13.1"
features = [
"allow-unsafe-code",
"xkb",
"randr",
"xinput",
"cursor",
"resource_manager",
"sync",
"dri3",
]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xim]
version = "0.4.0-zed"
features = [
"x11rb-xcb",
"x11rb-client",
]
optional = true
package = "zed-xim"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.xkbcommon]
version = "0.8"
optional = true
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dev-dependencies.gpui]
version = "=1.2.0"
features = ["test-support"]
package = "xgpui"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("nightly_coverage"))']