BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-pre-wgpu / Cargo.toml

Cargo.toml

Cargo.toml 3.2 KiB Download Raw
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]
13edition = "2024"
14name = "gpui-pre-wgpu"
15version = "0.3.8"
16build = false
17publish = true
18autolib = false
19autobins = false
20autoexamples = false
21autotests = false
22autobenches = false
23description = "Zed's `gpui_wgpu` crate (gpui-pre snapshot of zed@279fe07)"
24readme = false
25license = "Apache-2.0"
26repository = "https://github.com/zed-industries/zed"
27resolver = "2"
28
29[package.metadata.gpui-pre]
30zed-crate = "gpui_wgpu"
31zed-version = "0.1.0"
32zed-rev = "279fe070bb389b79652e52065b2f001edcc0b11b"
33
34[features]
35bench-support = [
36 "gpui/bench-support",
37 "dep:image",
38]
39default = []
40font-kit = ["dep:font-kit"]
41test-support = [
42 "gpui/test-support",
43 "dep:image",
44]
45
46[lib]
47name = "gpui_wgpu"
48path = "src/gpui_wgpu.rs"
49doctest = false
50
51[[bench]]
52name = "layout_line"
53path = "benches/layout_line.rs"
54harness = false
55
56[dependencies.anyhow]
57version = "1.0.86"
58
59[dependencies.bytemuck]
60version = "1"
61
62[dependencies.collections]
63version = "=0.3.8"
64package = "gpui-pre-collections"
65
66[dependencies.cosmic-text]
67version = "0.19.0"
68
69[dependencies.etagere]
70version = "0.2"
71
72[dependencies.font-kit]
73version = "0.14.1-zed"
74optional = true
75package = "zed-font-kit"
76
77[dependencies.gpui]
78version = "=0.3.8"
79default-features = false
80package = "gpui-pre"
81
82[dependencies.gpui_util]
83version = "=0.3.8"
84package = "gpui-pre-util"
85
86[dependencies.image]
87version = "0.25.1"
88features = [
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]
105optional = true
106default-features = false
107
108[dependencies.itertools]
109version = "0.14.0"
110
111[dependencies.log]
112version = "0.4.16"
113features = [
114 "kv_unstable_serde",
115 "serde",
116]
117
118[dependencies.parking_lot]
119version = "0.12.1"
120
121[dependencies.profiling]
122version = "1"
123
124[dependencies.raw-window-handle]
125version = "0.6"
126
127[dependencies.smallvec]
128version = "1.6"
129features = [
130 "union",
131 "const_new",
132]
133
134[dependencies.swash]
135version = "0.2.6"
136
137[dependencies.unicode-bidi]
138version = "0.3.18"
139features = ["hardcoded-data"]
140default-features = false
141
142[dependencies.unicode-segmentation]
143version = "1.10"
144
145[dependencies.wgpu]
146version = "29.0.4"
147
148[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
149version = "0.3"
150features = ["HtmlCanvasElement"]
151
152[target.'cfg(target_family = "wasm")'.dependencies.wgpu]
153version = "29.0.4"
154features = ["webgl"]
155
156[lints.clippy]
157dbg_macro = "deny"
158declare_interior_mutable_const = "deny"
159disallowed_methods = "deny"
160large_enum_variant = "allow"
161let_underscore_future = "allow"
162nonminimal_bool = "allow"
163redundant_clone = "deny"
164single_range_in_vec_init = "allow"
165todo = "deny"
166too_many_arguments = "allow"
167type_complexity = "allow"
168
169[lints.clippy.style]
170level = "allow"
171priority = -1
172
173[lints.rust.unexpected_cfgs]
174level = "allow"
175priority = 0