Also updates CI to always run this - that way we ensure that disabling or enabling tests does not become stale at some point and thus can safely add this. Release Notes: - N/A - [GPUI] N/A
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[package]
|
|
name = "gpui_wgpu"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "Apache-2.0"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/gpui_wgpu.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
default = []
|
|
font-kit = ["dep:font-kit"]
|
|
|
|
[dependencies]
|
|
gpui.workspace = true
|
|
anyhow.workspace = true
|
|
bytemuck = "1"
|
|
collections.workspace = true
|
|
cosmic-text = "0.19.0"
|
|
etagere.workspace = true
|
|
itertools.workspace = true
|
|
log.workspace = true
|
|
parking_lot.workspace = true
|
|
profiling.workspace = true
|
|
raw-window-handle.workspace = true
|
|
smallvec.workspace = true
|
|
swash.workspace = true
|
|
unicode-bidi.workspace = true
|
|
unicode-segmentation.workspace = true
|
|
gpui_util.workspace = true
|
|
wgpu.workspace = true
|
|
|
|
# Optional: only needed on platforms with multiple font sources (e.g. Linux)
|
|
# WARNING: If you change this, you must also publish a new version of zed-font-kit to crates.io
|
|
font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true }
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
web-sys = { version = "0.3", features = ["HtmlCanvasElement"] }
|
|
wgpu = { workspace = true, features = ["webgl"] }
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
naga = { version = "29.0.4", features = ["wgsl-in"] }
|
|
|
|
[[bench]]
|
|
name = "layout_line"
|
|
harness = false
|