[package]
readme = "README.md"
homepage = "https://bite-gpui.github.io/"
repository = "https://github.com/bite-gpui/bite-gpui"
description = "gpui_wgpu \u2014 part of the bite-gpui rearchitecture of zed's gpui"
name = "bite-gp-wgpu"
version = "1.25.202"
edition.workspace = true
license = "Apache-2.0"
[lints]
workspace = true
[lib]
name = "gpui_wgpu"
path = "src/gpui_wgpu.rs"
doctest = false
[features]
default = []
bench-support = ["gpui/bench-support", "dep:image"]
headless = ["dep:image"]
font-kit = ["dep:font-kit"]
test-support = ["gpui/test-support", "dep:image"]
[dependencies]
gpui_platform.workspace = true
gpui_engine.workspace = true
anyhow.workspace = true
bytemuck.workspace = true
collections.workspace = true
cosmic-text = "0.19.0"
etagere.workspace = true
itertools.workspace = true
image = { workspace = true, optional = true }
log.workspace = true
parking_lot.workspace = true
pollster.workspace = true
profiling.workspace = true
raw-window-handle.workspace = true
smallvec.workspace = true
swash.workspace = true
unicode-bidi.workspace = true
unicode-segmentation.workspace = true
gpui_util.workspace = true
font-kit = { workspace = true, optional = true }
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
wgpu = { workspace = true, features = ["std", "metal", "gles", "vulkan", "wgsl", "webgpu"] }
[target.'cfg(not(any(target_os = "linux", target_os = "freebsd")))'.dependencies]
wgpu = { workspace = true, default-features = true }
[target.'cfg(target_family = "wasm")'.dependencies]
web-sys = { workspace = true, features = ["HtmlCanvasElement"] }
wgpu = { workspace = true, features = ["webgl"] }
[target.'cfg(target_os = "linux")'.dependencies]
ash = "0.38"
libc.workspace = true
[dev-dependencies]
criterion.workspace = true
gpui = { features = ["bench-support", "platform"], package = "bite-gpui", path = "../gpui" }
image.workspace = true
naga = { git = "https://github.com/gfx-rs/wgpu", rev = "3b3506ea31154edc04de64debda0e780cba2639c", features = ["wgsl-in"] }
[[bench]]
name = "layout_line"
harness = false
[package.metadata.bite]
source = "https://github.com/bite-gpui/bite-gpui.git"
branch = "bite_v1.25.x"
commit = "19271206c7e12504f1a0b3879a85c90df5d9b4c4"
upstream = "1.25.2"
amendment = 2
original = "gpui_wgpu"