bite-gp-wgpu 1.24.401

gpui_wgpu — part of the bite-gpui rearchitecture of zed's gpui
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 = "bite-gp-wgpu"
version = "1.24.401"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gpui_wgpu — part of the bite-gpui rearchitecture of zed's gpui"
homepage = "https://bite-gpui.github.io/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/bite-gpui/bite-gpui"
resolver = "2"

[package.metadata.bite]
source = "https://github.com/bite-gpui/bite-gpui.git"
branch = "bite_v1.24.x"
commit = "0f6e8747ac26f60b61cd1229f8ed6e2f7e4d3e68"
upstream = "1.24.4"
amendment = 1
original = "gpui_wgpu"

[features]
bench-support = ["dep:image"]
default = []
font-kit = ["dep:font-kit"]
headless = ["dep:image"]
test-support = ["dep:image"]

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

[[test]]
name = "surface_dmabuf"
path = "tests/surface_dmabuf.rs"

[[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.24.401"
package = "bite-gp-collections"

[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_engine]
version = "1.24.401"
package = "bite-gp-engine"

[dependencies.gpui_platform]
version = "1.24.401"
package = "bite-gp-platform"

[dependencies.gpui_util]
version = "1.24.401"
package = "bite-gp-gpui-util"

[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.pollster]
version = "0.4.0"

[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.image]
version = "0.25.1"
features = [
    "bmp",
    "dds",
    "exr",
    "ff",
    "gif",
    "hdr",
    "ico",
    "jpeg",
    "png",
    "pnm",
    "qoi",
    "rayon",
    "tga",
    "tiff",
    "webp",
]
default-features = false

[dev-dependencies.naga]
version = "29.0.4"
features = ["wgsl-in"]

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

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

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

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

[target.'cfg(target_os = "linux")'.dependencies.ash]
version = "0.38"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[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