[package]
edition = "2024"
name = "boltz-gpui-linux"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux GPUI backend: wgpu rendering with Wayland/X11 windowing and freedesktop integration."
readme = false
license = "Apache-2.0"
repository = "https://github.com/boltz-one/rust-dex"
resolver = "2"
[features]
default = [
"wayland",
"x11",
]
test-support = ["gpui/test-support"]
wayland = [
"bitflags",
"gpui_wgpu",
"ashpd/wayland",
"calloop-wayland-source",
"wayland-backend",
"wayland-client",
"wayland-cursor",
"wayland-protocols",
"wayland-protocols-plasma",
"wayland-protocols-wlr",
"filedescriptor",
"xkbcommon",
"open",
"gpui/wayland",
]
x11 = [
"gpui_wgpu",
"ashpd",
"as-raw-xcb-connection",
"x11rb",
"xkbcommon",
"x11-clipboard",
"filedescriptor",
"open",
]
[lib]
name = "boltz_gpui_linux"
path = "src/gpui_linux.rs"
[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",
"notification",
"open_uri",
"file_chooser",
"settings",
"trash",
]
optional = true
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.bitflags]
version = "2.6.0"
optional = true
[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 = "0.1.0"
package = "boltz-collections"
[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.32"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui]
version = "0.2.2"
default-features = false
package = "boltz-gpui"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_wgpu]
version = "0.1.0"
optional = true
package = "boltz-gpui-wgpu"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.http_client]
version = "0.1.0"
package = "boltz-http-client"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.image]
version = "0.25.1"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.itertools]
version = "0.14.0"
[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.16"
features = [
"kv_unstable_serde",
"serde",
]
[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.pathfinder_geometry]
version = "0.5"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.pollster]
version = "0.4.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.profiling]
version = "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.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.27.2"
features = ["derive"]
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.swash]
version = "0.2.6"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.url]
version = "2.2"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.util]
version = "0.1.0"
package = "boltz-util"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.uuid]
version = "1.1.2"
features = [
"v4",
"v5",
"v7",
"serde",
]
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wayland-backend]
version = "0.3.3"
features = [
"client_system",
"dlopen",
]
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.x11-clipboard]
version = "0.9.3"
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.xkbcommon]
version = "0.8.0"
features = [
"wayland",
"x11",
]
optional = true
[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.clippy.style]
level = "allow"
priority = -1
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0