rgpui-wgpu 0.2.2

wgpu 渲染后端
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 = "rgpui-wgpu"
version = "0.2.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "wgpu 渲染后端"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/launcher-rs/rgpui"

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

[lib]
name = "rgpui_wgpu"
path = "src/rgpui_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.1-zed"
optional = true
package = "zed-font-kit"

[dependencies.itertools]
version = "0.14.0"

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

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.profiling]
version = "1"

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

[dependencies.rgpui]
version = "0.2.0"
default-features = false

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

[dependencies.swash]
version = "0.2.6"

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

[dependencies.wgpu]
version = "29.0"

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

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

[target.'cfg(target_family = "wasm")'.dependencies.indexmap]
version = "2.14.0"
features = ["serde"]

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

[target.'cfg(target_family = "wasm")'.dependencies.rustc-hash]
version = "2.1.0"

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