| 1 | [package] |
| 2 | name = "gpui-pre-wgpu" |
| 3 | version = "0.3.8" |
| 4 | edition = { workspace = true } |
| 5 | publish = true |
| 6 | license = "Apache-2.0" |
| 7 | description = "Zed's `gpui_wgpu` crate (gpui-pre snapshot of zed@279fe07)" |
| 8 | repository = "https://github.com/zed-industries/zed" |
| 9 | |
| 10 | [package.metadata.gpui-pre] |
| 11 | zed-crate = "gpui_wgpu" |
| 12 | zed-version = "0.1.0" |
| 13 | zed-rev = "279fe070bb389b79652e52065b2f001edcc0b11b" |
| 14 | |
| 15 | [lib] |
| 16 | path = "src/gpui_wgpu.rs" |
| 17 | doctest = false |
| 18 | name = "gpui_wgpu" |
| 19 | |
| 20 | [features] |
| 21 | default = [] |
| 22 | bench-support = ["gpui/bench-support", "dep:image"] |
| 23 | font-kit = ["dep:font-kit"] |
| 24 | test-support = ["gpui/test-support", "dep:image"] |
| 25 | |
| 26 | [dependencies] |
| 27 | gpui = { workspace = true } |
| 28 | anyhow = { workspace = true } |
| 29 | bytemuck = "1" |
| 30 | collections = { workspace = true } |
| 31 | cosmic-text = "0.19.0" |
| 32 | etagere = { workspace = true } |
| 33 | itertools = { workspace = true } |
| 34 | image = { workspace = true, optional = true } |
| 35 | log = { workspace = true } |
| 36 | parking_lot = { workspace = true } |
| 37 | profiling = { workspace = true } |
| 38 | raw-window-handle = { workspace = true } |
| 39 | smallvec = { workspace = true } |
| 40 | swash = { workspace = true } |
| 41 | unicode-bidi = { workspace = true } |
| 42 | unicode-segmentation = { workspace = true } |
| 43 | gpui_util = { workspace = true } |
| 44 | wgpu = { workspace = true } |
| 45 | font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true } |
| 46 | |
| 47 | [target.'cfg(target_family = "wasm")'.dependencies] |
| 48 | web-sys = { version = "0.3", features = ["HtmlCanvasElement"] } |
| 49 | wgpu = { workspace = true, features = ["webgl"] } |
| 50 | |
| 51 | [lints] |
| 52 | workspace = true |
| 53 | |
| 54 | [[bench]] |
| 55 | name = "layout_line" |
| 56 | harness = false |