| 1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | # |
| 3 | # When uploading crates to the registry Cargo will automatically |
| 4 | # "normalize" Cargo.toml files for maximal compatibility |
| 5 | # with all versions of Cargo and also rewrite `path` dependencies |
| 6 | # to registry (e.g., crates.io) dependencies. |
| 7 | # |
| 8 | # If you are reading this file be aware that the original Cargo.toml |
| 9 | # will likely look very different (and much more reasonable). |
| 10 | # See Cargo.toml.orig for the original contents. |
| 11 | |
| 12 | [package] |
| 13 | edition = "2024" |
| 14 | name = "gpui-pre-wgpu" |
| 15 | version = "0.3.8" |
| 16 | build = false |
| 17 | publish = true |
| 18 | autolib = false |
| 19 | autobins = false |
| 20 | autoexamples = false |
| 21 | autotests = false |
| 22 | autobenches = false |
| 23 | description = "Zed's `gpui_wgpu` crate (gpui-pre snapshot of zed@279fe07)" |
| 24 | readme = false |
| 25 | license = "Apache-2.0" |
| 26 | repository = "https://github.com/zed-industries/zed" |
| 27 | resolver = "2" |
| 28 | |
| 29 | [package.metadata.gpui-pre] |
| 30 | zed-crate = "gpui_wgpu" |
| 31 | zed-version = "0.1.0" |
| 32 | zed-rev = "279fe070bb389b79652e52065b2f001edcc0b11b" |
| 33 | |
| 34 | [features] |
| 35 | bench-support = [ |
| 36 | "gpui/bench-support", |
| 37 | "dep:image", |
| 38 | ] |
| 39 | default = [] |
| 40 | font-kit = ["dep:font-kit"] |
| 41 | test-support = [ |
| 42 | "gpui/test-support", |
| 43 | "dep:image", |
| 44 | ] |
| 45 | |
| 46 | [lib] |
| 47 | name = "gpui_wgpu" |
| 48 | path = "src/gpui_wgpu.rs" |
| 49 | doctest = false |
| 50 | |
| 51 | [[bench]] |
| 52 | name = "layout_line" |
| 53 | path = "benches/layout_line.rs" |
| 54 | harness = false |
| 55 | |
| 56 | [dependencies.anyhow] |
| 57 | version = "1.0.86" |
| 58 | |
| 59 | [dependencies.bytemuck] |
| 60 | version = "1" |
| 61 | |
| 62 | [dependencies.collections] |
| 63 | version = "=0.3.8" |
| 64 | package = "gpui-pre-collections" |
| 65 | |
| 66 | [dependencies.cosmic-text] |
| 67 | version = "0.19.0" |
| 68 | |
| 69 | [dependencies.etagere] |
| 70 | version = "0.2" |
| 71 | |
| 72 | [dependencies.font-kit] |
| 73 | version = "0.14.1-zed" |
| 74 | optional = true |
| 75 | package = "zed-font-kit" |
| 76 | |
| 77 | [dependencies.gpui] |
| 78 | version = "=0.3.8" |
| 79 | default-features = false |
| 80 | package = "gpui-pre" |
| 81 | |
| 82 | [dependencies.gpui_util] |
| 83 | version = "=0.3.8" |
| 84 | package = "gpui-pre-util" |
| 85 | |
| 86 | [dependencies.image] |
| 87 | version = "0.25.1" |
| 88 | features = [ |
| 89 | "bmp", |
| 90 | "dds", |
| 91 | "exr", |
| 92 | "ff", |
| 93 | "gif", |
| 94 | "hdr", |
| 95 | "ico", |
| 96 | "jpeg", |
| 97 | "png", |
| 98 | "pnm", |
| 99 | "qoi", |
| 100 | "rayon", |
| 101 | "tga", |
| 102 | "tiff", |
| 103 | "webp", |
| 104 | ] |
| 105 | optional = true |
| 106 | default-features = false |
| 107 | |
| 108 | [dependencies.itertools] |
| 109 | version = "0.14.0" |
| 110 | |
| 111 | [dependencies.log] |
| 112 | version = "0.4.16" |
| 113 | features = [ |
| 114 | "kv_unstable_serde", |
| 115 | "serde", |
| 116 | ] |
| 117 | |
| 118 | [dependencies.parking_lot] |
| 119 | version = "0.12.1" |
| 120 | |
| 121 | [dependencies.profiling] |
| 122 | version = "1" |
| 123 | |
| 124 | [dependencies.raw-window-handle] |
| 125 | version = "0.6" |
| 126 | |
| 127 | [dependencies.smallvec] |
| 128 | version = "1.6" |
| 129 | features = [ |
| 130 | "union", |
| 131 | "const_new", |
| 132 | ] |
| 133 | |
| 134 | [dependencies.swash] |
| 135 | version = "0.2.6" |
| 136 | |
| 137 | [dependencies.unicode-bidi] |
| 138 | version = "0.3.18" |
| 139 | features = ["hardcoded-data"] |
| 140 | default-features = false |
| 141 | |
| 142 | [dependencies.unicode-segmentation] |
| 143 | version = "1.10" |
| 144 | |
| 145 | [dependencies.wgpu] |
| 146 | version = "29.0.4" |
| 147 | |
| 148 | [target.'cfg(target_family = "wasm")'.dependencies.web-sys] |
| 149 | version = "0.3" |
| 150 | features = ["HtmlCanvasElement"] |
| 151 | |
| 152 | [target.'cfg(target_family = "wasm")'.dependencies.wgpu] |
| 153 | version = "29.0.4" |
| 154 | features = ["webgl"] |
| 155 | |
| 156 | [lints.clippy] |
| 157 | dbg_macro = "deny" |
| 158 | declare_interior_mutable_const = "deny" |
| 159 | disallowed_methods = "deny" |
| 160 | large_enum_variant = "allow" |
| 161 | let_underscore_future = "allow" |
| 162 | nonminimal_bool = "allow" |
| 163 | redundant_clone = "deny" |
| 164 | single_range_in_vec_init = "allow" |
| 165 | todo = "deny" |
| 166 | too_many_arguments = "allow" |
| 167 | type_complexity = "allow" |
| 168 | |
| 169 | [lints.clippy.style] |
| 170 | level = "allow" |
| 171 | priority = -1 |
| 172 | |
| 173 | [lints.rust.unexpected_cfgs] |
| 174 | level = "allow" |
| 175 | priority = 0 |