55 lines · 1.4 KB · TOML
RawDownload
[package]name = "gpui_wgpu"version = "0.1.0"edition.workspace = truepublish.workspace = truelicense = "Apache-2.0" [lints]workspace = true [lib]path = "src/gpui_wgpu.rs" [features]default = []font-kit = ["dep:font-kit"] [dependencies]gpui.workspace = trueanyhow.workspace = truebytemuck = "1"collections.workspace = truecosmic-text = "0.19.0"etagere.workspace = trueitertools.workspace = truelog.workspace = trueparking_lot.workspace = trueprofiling.workspace = trueraw-window-handle.workspace = truesmallvec.workspace = trueswash.workspace = trueunicode-bidi.workspace = trueunicode-segmentation.workspace = truegpui_util.workspace = truewgpu.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.iofont-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true } [target.'cfg(not(target_family = "wasm"))'.dependencies]pollster.workspace = true [target.'cfg(target_family = "wasm")'.dependencies]wasm-bindgen.workspace = truewasm-bindgen-futures.workspace = trueweb-sys = { version = "0.3", features = ["HtmlCanvasElement"] }js-sys.workspace = true [dev-dependencies]criterion.workspace = true [[bench]]name = "layout_line"harness = false