BlueGit

ict rusty-teams

Files

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

Cargo.toml

Cargo.toml 9.7 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"
15version = "0.3.8"
16authors = ["Nathan Sobo <nathan@zed.dev>"]
17build = "build.rs"
18publish = true
19autolib = false
20autobins = false
21autoexamples = false
22autotests = false
23autobenches = false
24description = "Zed's GPU-accelerated UI framework (gpui-pre snapshot of zed@279fe07)"
25homepage = "https://gpui.rs"
26readme = "README.md"
27keywords = [
28 "desktop",
29 "gui",
30 "immediate",
31]
32categories = ["gui"]
33license = "Apache-2.0"
34repository = "https://github.com/zed-industries/zed"
35resolver = "2"
36
37[package.metadata.cargo-shear]
38ignored = [
39 "bindgen",
40 "font-kit",
41 "getrandom",
42 "objc2",
43 "objc2-metal",
44]
45ignored-paths = ["src/_ownership_and_data_flow.rs"]
46
47[package.metadata.gpui-pre]
48zed-crate = "gpui"
49zed-version = "0.2.2"
50zed-rev = "279fe070bb389b79652e52065b2f001edcc0b11b"
51
52[features]
53bench = ["bench-support"]
54bench-support = [
55 "profiler",
56 "dep:criterion",
57 "dep:bench_metrics",
58]
59default = [
60 "font-kit",
61 "wayland",
62 "x11",
63 "windows-manifest",
64]
65inspector = ["gpui_macros/inspector"]
66leak-detection = []
67profiler = ["dep:hdrhistogram"]
68screen-capture = ["scap"]
69stacker = ["dep:stacksafe"]
70test-support = [
71 "collections/test-support",
72 "http_client/test-support",
73 "wayland",
74 "x11",
75 "proptest",
76]
77wayland = []
78windows-manifest = ["dep:embed-resource"]
79x11 = ["scap?/x11"]
80
81[lib]
82name = "gpui"
83path = "src/gpui.rs"
84
85[dependencies.accesskit]
86version = "0.24.0"
87features = ["enumn"]
88
89[dependencies.anyhow]
90version = "1.0.86"
91
92[dependencies.async-task]
93version = "4.7"
94
95[dependencies.backtrace]
96version = "0.3"
97
98[dependencies.bench_metrics]
99version = "=0.3.8"
100optional = true
101package = "gpui-pre-bench-metrics"
102
103[dependencies.bitflags]
104version = "2.6.0"
105
106[dependencies.chrono]
107version = "0.4"
108features = ["serde"]
109
110[dependencies.collections]
111version = "=0.3.8"
112package = "gpui-pre-collections"
113
114[dependencies.criterion]
115version = "0.8.2"
116features = ["html_reports"]
117optional = true
118
119[dependencies.ctor]
120version = "1.0.12"
121
122[dependencies.derive_more]
123version = "2.1.1"
124features = [
125 "add",
126 "add_assign",
127 "deref",
128 "deref_mut",
129 "display",
130 "from",
131 "from_str",
132 "mul",
133 "mul_assign",
134 "not",
135]
136
137[dependencies.etagere]
138version = "0.2"
139
140[dependencies.futures]
141version = "0.3.34"
142
143[dependencies.futures-concurrency]
144version = "7.7.1"
145
146[dependencies.gpui_macros]
147version = "=0.3.8"
148package = "gpui-pre-macros"
149
150[dependencies.gpui_shared_string]
151version = "=0.3.8"
152package = "gpui-pre-shared-string"
153
154[dependencies.gpui_util]
155version = "=0.3.8"
156package = "gpui-pre-util"
157
158[dependencies.hdrhistogram]
159version = "7"
160optional = true
161default-features = false
162
163[dependencies.heapless]
164version = "0.9.2"
165
166[dependencies.http_client]
167version = "=0.3.8"
168package = "gpui-pre-http-client"
169
170[dependencies.image]
171version = "0.25.1"
172features = [
173 "bmp",
174 "dds",
175 "exr",
176 "ff",
177 "gif",
178 "hdr",
179 "ico",
180 "jpeg",
181 "png",
182 "pnm",
183 "qoi",
184 "rayon",
185 "tga",
186 "tiff",
187 "webp",
188]
189default-features = false
190
191[dependencies.inventory]
192version = "0.3.19"
193
194[dependencies.itertools]
195version = "0.14.0"
196
197[dependencies.log]
198version = "0.4.16"
199features = [
200 "kv_unstable_serde",
201 "serde",
202]
203
204[dependencies.lyon]
205version = "1.0"
206
207[dependencies.num_cpus]
208version = "1.13"
209
210[dependencies.parking]
211version = "2.0.0"
212
213[dependencies.parking_lot]
214version = "0.12.1"
215
216[dependencies.pin-project]
217version = "1.1.10"
218
219[dependencies.pollster]
220version = "0.4.0"
221
222[dependencies.postage]
223version = "0.5"
224features = ["futures-traits"]
225
226[dependencies.profiling]
227version = "1"
228
229[dependencies.proptest]
230version = "1"
231features = ["attr-macro"]
232optional = true
233package = "proptest"
234
235[dependencies.rand]
236version = "0.9"
237
238[dependencies.raw-window-handle]
239version = "0.6"
240
241[dependencies.refineable]
242version = "=0.3.8"
243package = "gpui-pre-refineable"
244
245[dependencies.regex]
246version = "1.5"
247
248[dependencies.resvg]
249version = "0.46.0"
250features = [
251 "text",
252 "system-fonts",
253 "memmap-fonts",
254 "raster-images",
255]
256default-features = false
257
258[dependencies.scheduler]
259version = "=0.3.8"
260package = "gpui-pre-scheduler"
261
262[dependencies.schemars]
263version = "1.0"
264features = ["indexmap2"]
265
266[dependencies.seahash]
267version = "4.1"
268
269[dependencies.serde]
270version = "1.0.221"
271features = [
272 "derive",
273 "rc",
274]
275
276[dependencies.serde_json]
277version = "1.0.144"
278features = [
279 "preserve_order",
280 "raw_value",
281]
282
283[dependencies.slotmap]
284version = "1.0.6"
285
286[dependencies.smallvec]
287version = "1.6"
288features = [
289 "union",
290 "const_new",
291]
292
293[dependencies.spin]
294version = "0.10.0"
295
296[dependencies.stacksafe]
297version = "1.0"
298optional = true
299
300[dependencies.strum]
301version = "0.28"
302features = ["derive"]
303
304[dependencies.sum_tree]
305version = "=0.3.8"
306package = "gpui-pre-sum-tree"
307
308[dependencies.taffy]
309version = "0.13.0"
310
311[dependencies.thiserror]
312version = "2.0.12"
313
314[dependencies.ttf-parser]
315version = "0.25"
316
317[dependencies.url]
318version = "2.2"
319
320[dependencies.usvg]
321version = "0.46.0"
322default-features = false
323
324[dependencies.util_macros]
325version = "=0.3.8"
326package = "gpui-pre-util-macros"
327
328[dependencies.uuid]
329version = "1.1.2"
330features = [
331 "v4",
332 "v5",
333 "v7",
334 "serde",
335]
336
337[dependencies.waker-fn]
338version = "1.2.0"
339
340[dependencies.web-time]
341version = "1.1.0"
342
343[build-dependencies.embed-resource]
344version = "3.0"
345optional = true
346
347[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.async-channel]
348version = "2.5.0"
349default-features = false
350
351[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.libc]
352version = "0.2"
353
354[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "windows"))'.dependencies.scap]
355version = "0.0.8-zed"
356optional = true
357default-features = false
358package = "zed-scap"
359
360[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-video]
361version = "0.5.2"
362features = ["metal"]
363
364[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies.async-channel]
365version = "2.5.0"
366
367[target.'cfg(target_family = "wasm")'.dependencies.getrandom]
368version = "0.3.4"
369features = ["wasm_js"]
370
371[target.'cfg(target_family = "wasm")'.dependencies.uuid]
372version = "1.1.2"
373features = [
374 "v4",
375 "v5",
376 "v7",
377 "serde",
378 "js",
379]
380
381[target.'cfg(target_os = "macos")'.dependencies.font-kit]
382version = "0.14.1-zed"
383optional = true
384package = "zed-font-kit"
385
386[target.'cfg(target_os = "macos")'.dependencies.log]
387version = "0.4.16"
388features = [
389 "kv_unstable_serde",
390 "serde",
391]
392
393[target.'cfg(target_os = "macos")'.dependencies.objc2]
394version = "0.6"
395optional = true
396
397[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
398version = "0.3.2"
399default-features = false
400
401[target.'cfg(target_os = "macos")'.dependencies.objc2-core-video]
402version = "0.3.2"
403features = [
404 "CVBuffer",
405 "CVImageBuffer",
406]
407default-features = false
408
409[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
410version = "0.3"
411optional = true
412
413[target.'cfg(target_os = "macos")'.build-dependencies.bindgen]
414version = "0.72"
415
416[target.'cfg(target_os = "windows")'.dependencies.windows]
417version = "0.62"
418features = [
419 "Data_Xml_Dom",
420 "Foundation_Numerics",
421 "Globalization_DateTimeFormatting",
422 "Storage_Search",
423 "Storage_Streams",
424 "System_Threading",
425 "UI_Notifications",
426 "UI_ViewManagement",
427 "Wdk_System_SystemServices",
428 "Win32_Foundation",
429 "Win32_Globalization",
430 "Win32_Graphics_Direct3D",
431 "Win32_Graphics_Direct3D11",
432 "Win32_Graphics_Direct3D_Fxc",
433 "Win32_Graphics_DirectComposition",
434 "Win32_Graphics_DirectWrite",
435 "Win32_Graphics_DirectManipulation",
436 "Win32_Graphics_Dwm",
437 "Win32_Graphics_Dxgi",
438 "Win32_Graphics_Dxgi_Common",
439 "Win32_Graphics_Gdi",
440 "Win32_Graphics_Imaging",
441 "Win32_Graphics_Hlsl",
442 "Win32_Networking_WinSock",
443 "Win32_Security",
444 "Win32_Security_Credentials",
445 "Win32_Security_Cryptography",
446 "Win32_Storage_FileSystem",
447 "Win32_Storage_Packaging_Appx",
448 "Win32_System_Com",
449 "Win32_System_Com_StructuredStorage",
450 "Win32_System_Console",
451 "Win32_System_Diagnostics_Debug",
452 "Win32_System_DataExchange",
453 "Win32_System_IO",
454 "Win32_System_JobObjects",
455 "Win32_System_LibraryLoader",
456 "Win32_System_Memory",
457 "Win32_System_Ole",
458 "Win32_System_Performance",
459 "Win32_System_Pipes",
460 "Win32_System_Power",
461 "Win32_System_RestartManager",
462 "Win32_System_SystemInformation",
463 "Win32_System_SystemServices",
464 "Win32_System_Threading",
465 "Win32_System_Variant",
466 "Win32_System_WinRT",
467 "Win32_UI_Controls",
468 "Win32_UI_HiDpi",
469 "Win32_UI_Input_Ime",
470 "Win32_UI_Input_KeyboardAndMouse",
471 "Win32_UI_Input_Pointer",
472 "Win32_UI_Shell",
473 "Win32_UI_Shell_Common",
474 "Win32_UI_Shell_PropertiesSystem",
475 "Win32_UI_WindowsAndMessaging",
476 "Win32_Media",
477 "Win32_Foundation",
478 "Win32_System_Power",
479 "Win32_System_RemoteDesktop",
480 "Win32_System_Threading",
481 "Win32_System_WindowsProgramming",
482]
483
484[lints.clippy]
485dbg_macro = "deny"
486declare_interior_mutable_const = "deny"
487disallowed_methods = "deny"
488large_enum_variant = "allow"
489let_underscore_future = "allow"
490nonminimal_bool = "allow"
491redundant_clone = "deny"
492single_range_in_vec_init = "allow"
493todo = "deny"
494too_many_arguments = "allow"
495type_complexity = "allow"
496
497[lints.clippy.style]
498level = "allow"
499priority = -1
500
501[lints.rust.unexpected_cfgs]
502level = "allow"
503priority = 0