open-gpui-wgpu 0.1.0

wgpu renderer backend for Open 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 = "open-gpui-wgpu"
version = "0.1.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "wgpu renderer backend for Open GPUI."
homepage = "https://github.com/Latias94/open-gpui"
documentation = "https://docs.rs/open-gpui"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Latias94/open-gpui"
resolver = "2"

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

[lib]
name = "open_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.cosmic-text]
version = "0.19.0"

[dependencies.etagere]
version = "0.2"

[dependencies.font-kit]
version = "0.14.3"
optional = true
package = "open-gpui-font-kit"

[dependencies.itertools]
version = "0.14.0"

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

[dependencies.open_gpui]
version = "0.1.0"
default-features = false
package = "open-gpui"

[dependencies.open_gpui_collections]
version = "0.1.0"
package = "open-gpui-collections"

[dependencies.open_gpui_core_util]
version = "0.1.0"
package = "open-gpui-core-util"

[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-segmentation]
version = "1.10"

[dependencies.wgpu]
version = "=29.0.3"

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

[target.'cfg(not(target_family = "wasm"))'.dependencies.pollster]
version = "0.4.0"

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

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2.120"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4"

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

[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unwrap_used = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]