Skip to repository content270 lines · 6.4 KB · toml
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T01:53:13.365Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
Cargo.toml
1[package]
2name = "gpui"
3version = "0.2.2"
4edition.workspace = true
5authors = ["Nathan Sobo <nathan@zed.dev>"]
6description = "Zed's GPU-accelerated UI framework"
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
16[lints]
17workspace = true
18
19[features]
20default = ["font-kit", "wayland", "x11", "windows-manifest"]
21test-support = [
22 "leak-detection",
23 "collections/test-support",
24 "http_client/test-support",
25 "wayland",
26 "x11",
27 "proptest",
28]
29bench = ["test-support", "dep:criterion", "dep:hdrhistogram"]
30inspector = ["gpui_macros/inspector"]
31leak-detection = ["backtrace"]
32wayland = []
33x11 = [
34 "scap?/x11",
35]
36screen-capture = [
37 "scap",
38]
39windows-manifest = ["dep:embed-resource"]
40input-latency-histogram = ["dep:hdrhistogram"]
41profiler = []
42
43[lib]
44path = "src/gpui.rs"
45doctest = false
46
47[dependencies]
48accesskit.workspace = true
49anyhow.workspace = true
50async-task.workspace = true
51backtrace = { workspace = true, optional = true }
52bitflags.workspace = true
53
54collections.workspace = true
55criterion = { workspace = true, optional = true }
56ctor.workspace = true
57derive_more.workspace = true
58etagere.workspace = true
59futures.workspace = true
60futures-concurrency.workspace = true
61gpui_macros.workspace = true
62gpui_shared_string.workspace = true
63http_client.workspace = true
64image.workspace = true
65inventory.workspace = true
66itertools.workspace = true
67log.workspace = true
68num_cpus = "1.13"
69parking = "2.0.0"
70parking_lot.workspace = true
71postage.workspace = true
72proptest = { workspace = true, optional = true }
73chrono.workspace = true
74profiling.workspace = true
75rand.workspace = true
76raw-window-handle.workspace = true
77regex.workspace = true
78refineable.workspace = true
79scheduler.workspace = true
80resvg.workspace = true
81usvg.workspace = true
82ttf-parser = "0.25"
83util_macros.workspace = true
84schemars.workspace = true
85seahash = "4.1"
86serde.workspace = true
87serde_json.workspace = true
88slotmap.workspace = true
89smallvec.workspace = true
90async-channel.workspace = true
91stacksafe.workspace = true
92strum.workspace = true
93sum_tree.workspace = true
94taffy = "=0.12.2"
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[target.'cfg(target_family = "wasm")'.dependencies]
109getrandom = { version = "0.3.4", features = ["wasm_js"] }
110uuid = { workspace = true, features = ["js"] }
111
112
113[target.'cfg(target_os = "macos")'.dependencies]
114block.workspace = true
115cocoa.workspace = true
116cocoa-foundation.workspace = true
117core-foundation.workspace = true
118core-foundation-sys.workspace = true
119core-graphics.workspace = true
120core-video.workspace = true
121core-text.workspace = true
122# WARNING: If you change this, you must also publish a new version of zed-font-kit to crates.io
123font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true }
124foreign-types.workspace = true
125log.workspace = true
126media.workspace = true
127objc.workspace = true
128objc2 = { workspace = true, optional = true }
129objc2-metal = { version = "0.3", optional = true }
130mach2.workspace = true
131#TODO: replace with "objc2"
132metal.workspace = true
133
134[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))'.dependencies]
135pathfinder_geometry.workspace = true
136
137[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "windows"))'.dependencies]
138scap = { workspace = true, optional = true }
139
140
141
142[target.'cfg(target_os = "windows")'.dependencies]
143windows = { workspace = true, features = ["Win32_Foundation", "Win32_System_Power"] }
144
145
146[dev-dependencies]
147backtrace.workspace = true
148collections = { workspace = true, features = ["test-support"] }
149env_logger.workspace = true
150gpui_platform = { workspace = true, features = ["font-kit", "wayland", "x11"] }
151gpui_util = { workspace = true }
152lyon = { version = "1.0", features = ["extra"] }
153rand.workspace = true
154scheduler = { workspace = true, features = ["test-support"] }
155unicode-segmentation = { workspace = true }
156
157[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
158http_client = { workspace = true, features = ["test-support"] }
159proptest = { workspace = true }
160reqwest_client = { workspace = true, features = ["test-support"] }
161
162[target.'cfg(target_family = "wasm")'.dev-dependencies]
163wasm-bindgen = { workspace = true }
164gpui_web.workspace = true
165
166[build-dependencies]
167embed-resource = { version = "3.0", optional = true }
168
169[target.'cfg(target_os = "macos")'.build-dependencies]
170bindgen = "0.71"
171cbindgen.workspace = true
172
173
174
175
176
177
178[[example]]
179name = "hello_world"
180path = "examples/hello_world.rs"
181
182[[example]]
183name = "move_entity_between_windows"
184path = "examples/move_entity_between_windows.rs"
185
186[[example]]
187name = "image"
188path = "examples/image/image.rs"
189
190[[example]]
191name = "input"
192path = "examples/input.rs"
193
194[[example]]
195name = "on_window_close_quit"
196path = "examples/on_window_close_quit.rs"
197
198[[example]]
199name = "window_movable"
200path = "examples/window_movable.rs"
201
202[[example]]
203name = "opacity"
204path = "examples/opacity.rs"
205
206[[example]]
207name = "pattern"
208path = "examples/pattern.rs"
209
210[[example]]
211name = "set_menus"
212path = "examples/set_menus.rs"
213
214[[example]]
215name = "system_notifications"
216path = "examples/system_notifications.rs"
217
218
219[[example]]
220name = "shadow"
221path = "examples/shadow.rs"
222
223[[example]]
224name = "svg"
225path = "examples/svg/svg.rs"
226
227[[example]]
228name = "tab_stop"
229path = "examples/tab_stop.rs"
230
231[[example]]
232name = "text"
233path = "examples/text.rs"
234
235[[example]]
236name = "text_wrapper"
237path = "examples/text_wrapper.rs"
238
239[[example]]
240name = "tree"
241path = "examples/tree.rs"
242
243[[example]]
244name = "uniform_list"
245path = "examples/uniform_list.rs"
246
247[[example]]
248name = "window_shadow"
249path = "examples/window_shadow.rs"
250
251[[example]]
252name = "grid_layout"
253path = "examples/grid_layout.rs"
254
255[[example]]
256name = "list_example"
257path = "examples/list_example.rs"
258
259[[example]]
260name = "mouse_pressure"
261path = "examples/mouse_pressure.rs"
262
263[[example]]
264name = "a11y"
265path = "examples/a11y.rs"
266
267[[example]]
268name = "view_example"
269path = "examples/view_example/view_example_main.rs"
270