gpui-pre-wgpu 0.3.3

Zed's `gpui_wgpu` crate (gpui-pre snapshot of zed@5b055fa)
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 = "gpui-pre-wgpu"
version = "0.3.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zed's `gpui_wgpu` crate (gpui-pre snapshot of zed@5b055fa)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/zed-industries/zed"
resolver = "2"

[package.metadata.gpui-pre]
zed-crate = "gpui_wgpu"
zed-version = "0.1.0"
zed-rev = "5b055fa789a8b8d38ac951a6e0cde272f66b4495"

[features]
default = []
font-kit = ["dep:font-kit"]

[lib]
name = "gpui_wgpu"
path = "src/gpui_wgpu.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 = "=0.3.3"
package = "gpui-pre-collections"

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

[dependencies.etagere]
version = "0.2"

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

[dependencies.gpui]
version = "=0.3.3"
default-features = false
package = "gpui-pre"

[dependencies.gpui_util]
version = "=0.3.3"
package = "gpui-pre-util"

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.16"
features = [
    "kv_unstable_serde",
    "serde",
]

[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"

[dependencies.wgpu]
version = "29.0.4"

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

[target.'cfg(target_family = "wasm")'.dependencies.wgpu]
version = "29.0.4"
features = ["webgl"]

[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