xgpui-wgpu 1.0.2

wgpu rendering backend, texture atlas, and text support for xgpui
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "xgpui-wgpu"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "wgpu rendering backend, texture atlas, and text support for xgpui"
homepage = "https://xgpui.dev/"
documentation = "https://xgpui.dev/#crate=gpui-wgpu"
readme = "README.md"
keywords = [
    "xgpui",
    "gpui",
    "gui",
    "wgpu",
    "graphics",
]
categories = [
    "gui",
    "graphics",
]
license = "Apache-2.0"
repository = "https://github.com/gpui-luma-dev/xgpui"

[features]
bench-support = [
    "gpui/bench-support",
    "dep:image",
]
default = []
dma-buf = ["dep:ash"]
font-kit = ["dep:font-kit"]
test-support = [
    "gpui/test-support",
    "dep:image",
]

[lib]
name = "gpui_wgpu"
path = "src/gpui_wgpu.rs"
doctest = false

[[bench]]
name = "layout_line"
path = "benches/layout_line.rs"
harness = false

[dependencies.anyhow]
version = "1.0.86"

[dependencies.bytemuck]
version = "1"

[dependencies.collections]
version = "=1.25.3"
package = "collections-gpui-unofficial"

[dependencies.cosmic-text]
version = "0.19.0"

[dependencies.etagere]
version = "0.2"

[dependencies.font-kit]
version = "0.14.1-zed"
optional = true
default-features = false
package = "zed-font-kit"

[dependencies.gpui]
version = "=1.2.0"
package = "xgpui"

[dependencies.gpui_util]
version = "=1.25.3"
package = "gpui-util-gpui-unofficial"

[dependencies.image]
version = "0.25.1"
features = [
    "bmp",
    "dds",
    "exr",
    "ff",
    "gif",
    "hdr",
    "ico",
    "jpeg",
    "png",
    "pnm",
    "qoi",
    "rayon",
    "tga",
    "tiff",
    "webp",
]
optional = true
default-features = false

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.profiling]
version = "1"

[dependencies.raw-window-handle]
version = "0.6"

[dependencies.smallvec]
version = "1.6"
features = [
    "union",
    "const_new",
]

[dependencies.swash]
version = "0.2.6"

[dependencies.unicode-bidi]
version = "0.3.18"
features = ["hardcoded-data"]
default-features = false

[dependencies.unicode-segmentation]
version = "1.10"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.gpui]
version = "=1.2.0"
features = ["test-support"]
package = "xgpui"

[dev-dependencies.image]
version = "0.25.1"
features = [
    "bmp",
    "dds",
    "exr",
    "ff",
    "gif",
    "hdr",
    "ico",
    "jpeg",
    "png",
    "pnm",
    "qoi",
    "rayon",
    "tga",
    "tiff",
    "webp",
]
default-features = false

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.wgpu]
version = "30.0.1"
features = [
    "std",
    "metal",
    "gles",
    "vulkan",
    "wgsl",
    "webgpu",
]
default-features = false

[target.'cfg(not(any(target_os = "linux", target_os = "freebsd")))'.dependencies.wgpu]
version = "30.0.1"
default-features = true

[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3"
features = ["HtmlCanvasElement"]

[target.'cfg(target_family = "wasm")'.dependencies.wgpu]
version = "30.0.1"
features = ["webgl"]
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.ash]
version = "0.38"
optional = true
default-features = false