BlueGit

ict rusty-teams

Files

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

Cargo.toml.orig

Cargo.toml.orig 6.2 KiB Download Raw
1[package]
2name = "gpui-pre"
3version = "0.3.8"
4edition = { workspace = true }
5authors = ["Nathan Sobo <nathan@zed.dev>"]
6description = "Zed's GPU-accelerated UI framework (gpui-pre snapshot of zed@279fe07)"
7repository = "https://github.com/zed-industries/zed"
8publish = true
9license = "Apache-2.0"
10homepage = "https://gpui.rs"
11readme = "README.md"
12keywords = ["desktop", "gui", "immediate"]
13categories = ["gui"]
14
15[package.metadata.cargo-shear]
16ignored = ["bindgen", "font-kit", "getrandom", "objc2", "objc2-metal"]
17ignored-paths = ["src/_ownership_and_data_flow.rs"]
18
19[package.metadata.gpui-pre]
20zed-crate = "gpui"
21zed-version = "0.2.2"
22zed-rev = "279fe070bb389b79652e52065b2f001edcc0b11b"
23
24[lib]
25path = "src/gpui.rs"
26name = "gpui"
27
28[features]
29default = ["font-kit", "wayland", "x11", "windows-manifest"]
30test-support = [
31 "collections/test-support",
32 "http_client/test-support",
33 "wayland",
34 "x11",
35 "proptest",
36]
37bench-support = ["profiler", "dep:criterion", "dep:bench_metrics"]
38bench = ["bench-support"]
39inspector = ["gpui_macros/inspector"]
40leak-detection = []
41wayland = []
42x11 = ["scap?/x11"]
43screen-capture = ["scap"]
44windows-manifest = ["dep:embed-resource"]
45profiler = ["dep:hdrhistogram"]
46stacker = ["dep:stacksafe"]
47
48[dependencies]
49accesskit = { workspace = true }
50anyhow = { workspace = true }
51async-task = { workspace = true }
52backtrace = { workspace = true }
53bitflags = { workspace = true }
54collections = { workspace = true }
55bench_metrics = { workspace = true, optional = true }
56criterion = { workspace = true, optional = true }
57ctor = { workspace = true }
58derive_more = { workspace = true }
59etagere = { workspace = true }
60futures = { workspace = true }
61futures-concurrency = { workspace = true }
62gpui_macros = { workspace = true }
63gpui_shared_string = { workspace = true }
64http_client = { workspace = true }
65image = { workspace = true }
66inventory = { workspace = true }
67itertools = { workspace = true }
68log = { workspace = true }
69num_cpus = "1.13"
70parking = "2.0.0"
71parking_lot = { workspace = true }
72postage = { workspace = true }
73proptest = { workspace = true, optional = true }
74chrono = { workspace = true }
75profiling = { workspace = true }
76rand = { workspace = true }
77raw-window-handle = { workspace = true }
78regex = { workspace = true }
79refineable = { workspace = true }
80scheduler = { workspace = true }
81resvg = { workspace = true }
82usvg = { workspace = true }
83ttf-parser = "0.25"
84util_macros = { workspace = true }
85schemars = { workspace = true }
86seahash = "4.1"
87serde = { workspace = true }
88serde_json = { workspace = true }
89slotmap = { workspace = true }
90smallvec = { workspace = true }
91stacksafe = { workspace = true, optional = true }
92strum = { workspace = true }
93sum_tree = { workspace = true }
94taffy = "0.13.0"
95thiserror = { workspace = true }
96gpui_util = { workspace = true }
97hdrhistogram = { workspace = true, optional = true }
98waker-fn = "1.2.0"
99lyon = "1.0"
100pin-project = "1.1.10"
101spin = "0.10.0"
102pollster = { workspace = true }
103url = { workspace = true }
104uuid = { workspace = true }
105web-time = { workspace = true }
106heapless = { workspace = true }
107
108[build-dependencies]
109embed-resource = { version = "3.0", optional = true }
110
111[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
112async-channel = { version = "2.5.0", default-features = false }
113
114[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies]
115async-channel = { workspace = true }
116
117[target.'cfg(target_family = "wasm")'.dependencies]
118getrandom = { version = "0.3.4", features = ["wasm_js"] }
119uuid = { workspace = true, features = ["js"] }
120
121[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
122core-video = { workspace = true }
123
124[target.'cfg(target_os = "macos")'.dependencies]
125objc2-core-foundation = { workspace = true }
126objc2-core-video = { workspace = true }
127font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true }
128log = { workspace = true }
129objc2 = { workspace = true, optional = true }
130objc2-metal = { version = "0.3", optional = true }
131
132[target.'cfg(target_os = "macos")'.build-dependencies]
133bindgen = "0.72"
134
135[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "windows"))'.dependencies]
136scap = { workspace = true, optional = true }
137
138[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
139libc = { workspace = true }
140
141[target.'cfg(target_os = "windows")'.dependencies]
142windows = { workspace = true, features = [
143 "Win32_Foundation",
144 "Win32_System_Power",
145 "Win32_System_RemoteDesktop",
146 "Win32_System_Threading",
147 "Win32_System_WindowsProgramming",
148] }
149
150[lints]
151workspace = true
152
153[[example]]
154name = "hello_world"
155path = "examples/hello_world.rs"
156
157[[example]]
158name = "move_entity_between_windows"
159path = "examples/move_entity_between_windows.rs"
160
161[[example]]
162name = "image"
163path = "examples/image/image.rs"
164
165[[example]]
166name = "input"
167path = "examples/input.rs"
168
169[[example]]
170name = "on_window_close_quit"
171path = "examples/on_window_close_quit.rs"
172
173[[example]]
174name = "window_movable"
175path = "examples/window_movable.rs"
176
177[[example]]
178name = "opacity"
179path = "examples/opacity.rs"
180
181[[example]]
182name = "pattern"
183path = "examples/pattern.rs"
184
185[[example]]
186name = "set_menus"
187path = "examples/set_menus.rs"
188
189[[example]]
190name = "system_notifications"
191path = "examples/system_notifications.rs"
192
193[[example]]
194name = "shadow"
195path = "examples/shadow.rs"
196
197[[example]]
198name = "svg"
199path = "examples/svg/svg.rs"
200
201[[example]]
202name = "tab_stop"
203path = "examples/tab_stop.rs"
204
205[[example]]
206name = "text"
207path = "examples/text.rs"
208
209[[example]]
210name = "text_wrapper"
211path = "examples/text_wrapper.rs"
212
213[[example]]
214name = "tree"
215path = "examples/tree.rs"
216
217[[example]]
218name = "uniform_list"
219path = "examples/uniform_list.rs"
220
221[[example]]
222name = "window_shadow"
223path = "examples/window_shadow.rs"
224
225[[example]]
226name = "grid_layout"
227path = "examples/grid_layout.rs"
228
229[[example]]
230name = "list_example"
231path = "examples/list_example.rs"
232
233[[example]]
234name = "mouse_pressure"
235path = "examples/mouse_pressure.rs"
236
237[[example]]
238name = "a11y"
239path = "examples/a11y.rs"
240
241[[example]]
242name = "view_example"
243path = "examples/view_example/view_example_main.rs"
244
245[[example]]
246name = "toggle_headless"
247path = "examples/toggle_headless.rs"