1[workspace]
2resolver = "2"
3members = [
4 "crates/acp_thread",
5 "crates/acp_tools",
6 "crates/action_log",
7 "crates/activity_indicator",
8 "crates/agent",
9 "crates/agent_servers",
10 "crates/agent_settings",
11 "crates/agent_ui",
12 "crates/ai_onboarding",
13 "crates/anthropic",
14 "crates/askpass",
15 "crates/assets",
16 "crates/audio",
17 "crates/auto_update",
18 "crates/auto_update_helper",
19 "crates/auto_update_ui",
20 "crates/aws_http_client",
21 "crates/bedrock",
22 "crates/breadcrumbs",
23 "crates/buffer_diff",
24 "crates/call",
25 "crates/channel",
26 "crates/cli",
27 "crates/client",
28 "crates/clock",
29 "crates/cloud_api_client",
30 "crates/cloud_api_types",
31 "crates/cloud_llm_client",
32 "crates/codestral",
33 "crates/collab",
34 "crates/collab_ui",
35 "crates/collections",
36 "crates/command_palette",
37 "crates/command_palette_hooks",
38 "crates/component",
39 "crates/component_preview",
40 "crates/context_server",
41 "crates/copilot",
42 "crates/copilot_chat",
43 "crates/crashes",
44 "crates/credentials_provider",
45 "crates/csv_preview",
46 "crates/dap",
47 "crates/dap_adapters",
48 "crates/db",
49 "crates/debug_adapter_extension",
50 "crates/debugger_tools",
51 "crates/debugger_ui",
52 "crates/deepseek",
53 "crates/denoise",
54 "crates/dev_container",
55 "crates/diagnostics",
56 "crates/docs_preprocessor",
57 "crates/edit_prediction",
58 "crates/edit_prediction_cli",
59 "crates/edit_prediction_context",
60 "crates/edit_prediction_types",
61 "crates/edit_prediction_ui",
62 "crates/editor",
63 "crates/encoding_selector",
64 "crates/env_var",
65 "crates/etw_tracing",
66 "crates/eval_cli",
67 "crates/eval_utils",
68 "crates/explorer_command_injector",
69 "crates/extension",
70 "crates/extension_api",
71 "crates/extension_cli",
72 "crates/extension_host",
73 "crates/extensions_ui",
74 "crates/feature_flags",
75 "crates/feedback",
76 "crates/file_finder",
77 "crates/file_icons",
78 "crates/fs",
79 "crates/fs_benchmarks",
80 "crates/fuzzy",
81 "crates/fuzzy_nucleo",
82 "crates/git",
83 "crates/git_graph",
84 "crates/git_hosting_providers",
85 "crates/git_ui",
86 "crates/go_to_line",
87 "crates/google_ai",
88 "crates/grammars",
89 "crates/gpui",
90 "crates/gpui_shared_string",
91 "crates/gpui_linux",
92 "crates/gpui_macos",
93 "crates/gpui_macros",
94 "crates/gpui_platform",
95 "crates/gpui_tokio",
96 "crates/gpui_util",
97 "crates/gpui_web",
98 "crates/gpui_wgpu",
99 "crates/gpui_windows",
100 "crates/html_to_markdown",
101 "crates/http_client",
102 "crates/http_client_tls",
103 "crates/icons",
104 "crates/image_viewer",
105 "crates/inspector_ui",
106 "crates/install_cli",
107 "crates/journal",
108 "crates/json_schema_store",
109 "crates/keymap_editor",
110 "crates/language",
111 "crates/language_core",
112 "crates/language_extension",
113 "crates/language_model",
114 "crates/language_model_core",
115 "crates/language_models",
116 "crates/language_models_cloud",
117 "crates/language_onboarding",
118 "crates/language_selector",
119 "crates/language_tools",
120 "crates/languages",
121 "crates/line_ending_selector",
122 "crates/livekit_api",
123 "crates/livekit_client",
124 "crates/lmstudio",
125 "crates/lsp",
126 "crates/markdown",
127 "crates/markdown_preview",
128 "crates/media",
129 "crates/menu",
130 "crates/migrator",
131 "crates/miniprofiler_ui",
132 "crates/mistral",
133 "crates/multi_buffer",
134 "crates/nc",
135 "crates/net",
136 "crates/node_runtime",
137 "crates/notifications",
138 "crates/ollama",
139 "crates/onboarding",
140 "crates/opencode",
141 "crates/open_ai",
142 "crates/open_path_prompt",
143 "crates/open_router",
144 "crates/outline",
145 "crates/outline_panel",
146 "crates/panel",
147 "crates/paths",
148 "crates/picker",
149 "crates/platform_title_bar",
150 "crates/prettier",
151 "crates/project",
152 "crates/project_benchmarks",
153 "crates/project_panel",
154 "crates/project_symbols",
155 "crates/prompt_store",
156 "crates/proto",
157 "crates/recent_projects",
158 "crates/refineable",
159 "crates/refineable/derive_refineable",
160 "crates/release_channel",
161 "crates/remote",
162 "crates/remote_connection",
163 "crates/remote_server",
164 "crates/repl",
165 "crates/reqwest_client",
166 "crates/rope",
167 "crates/rpc",
168 "crates/rules_library",
169 "crates/scheduler",
170 "crates/schema_generator",
171 "crates/search",
172 "crates/session",
173 "crates/settings",
174 "crates/settings_content",
175 "crates/settings_json",
176 "crates/settings_macros",
177 "crates/settings_profile_selector",
178 "crates/settings_ui",
179 "crates/shell_command_parser",
180 "crates/sidebar",
181 "crates/snippet",
182 "crates/snippet_provider",
183 "crates/snippets_ui",
184 "crates/sqlez",
185 "crates/sqlez_macros",
186 "crates/streaming_diff",
187 "crates/sum_tree",
188 "crates/svg_preview",
189 "crates/system_specs",
190 "crates/syntax_theme",
191 "crates/tab_switcher",
192 "crates/task",
193 "crates/tasks_ui",
194 "crates/telemetry",
195 "crates/telemetry_events",
196 "crates/terminal",
197 "crates/terminal_view",
198 "crates/text",
199 "crates/theme",
200 "crates/theme_extension",
201 "crates/theme_settings",
202 "crates/theme_importer",
203 "crates/theme_selector",
204 "crates/time_format",
205 "crates/title_bar",
206 "crates/toolchain_selector",
207 "crates/ui",
208 "crates/ui_input",
209 "crates/ui_macros",
210 "crates/ui_prompt",
211 "crates/util",
212 "crates/util_macros",
213 "crates/vercel",
214 "crates/vim",
215 "crates/vim_mode_setting",
216 "crates/watch",
217 "crates/web_search",
218 "crates/web_search_providers",
219 "crates/which_key",
220 "crates/workspace",
221 "crates/worktree",
222 "crates/worktree_benchmarks",
223 "crates/x_ai",
224 "crates/zed",
225 "crates/zed_actions",
226 "crates/zed_credentials_provider",
227 "crates/zed_env_vars",
228 "crates/zeta_prompt",
229 "crates/zlog",
230 "crates/zlog_settings",
231 "crates/ztracing",
232 "crates/ztracing_macro",
233
234 #
235 # Extensions
236 #
237
238 "extensions/glsl",
239 "extensions/html",
240 "extensions/proto",
241 "extensions/test-extension",
242
243 #
244 # Tooling
245 #
246
247 "tooling/compliance",
248 "tooling/perf",
249 "tooling/xtask",
250]
251default-members = ["crates/zed"]
252
253[workspace.package]
254publish = false
255edition = "2024"
256
257[workspace.dependencies]
258
259#
260# Workspace member crates
261#
262
263acp_tools = { path = "crates/acp_tools" }
264acp_thread = { path = "crates/acp_thread" }
265action_log = { path = "crates/action_log" }
266agent = { path = "crates/agent" }
267activity_indicator = { path = "crates/activity_indicator" }
268agent_ui = { path = "crates/agent_ui" }
269agent_settings = { path = "crates/agent_settings" }
270agent_servers = { path = "crates/agent_servers" }
271ai_onboarding = { path = "crates/ai_onboarding" }
272anthropic = { path = "crates/anthropic" }
273askpass = { path = "crates/askpass" }
274assets = { path = "crates/assets" }
275audio = { path = "crates/audio" }
276auto_update = { path = "crates/auto_update" }
277auto_update_ui = { path = "crates/auto_update_ui" }
278aws_http_client = { path = "crates/aws_http_client" }
279bedrock = { path = "crates/bedrock" }
280breadcrumbs = { path = "crates/breadcrumbs" }
281buffer_diff = { path = "crates/buffer_diff" }
282call = { path = "crates/call" }
283channel = { path = "crates/channel" }
284cli = { path = "crates/cli" }
285client = { path = "crates/client" }
286clock = { path = "crates/clock" }
287cloud_api_client = { path = "crates/cloud_api_client" }
288cloud_api_types = { path = "crates/cloud_api_types" }
289cloud_llm_client = { path = "crates/cloud_llm_client" }
290collab = { path = "crates/collab" }
291collab_ui = { path = "crates/collab_ui" }
292collections = { path = "crates/collections", version = "0.1.0" }
293command_palette = { path = "crates/command_palette" }
294command_palette_hooks = { path = "crates/command_palette_hooks" }
295compliance = { path = "tooling/compliance" }
296component = { path = "crates/component" }
297component_preview = { path = "crates/component_preview" }
298console = "0.16"
299context_server = { path = "crates/context_server" }
300copilot = { path = "crates/copilot" }
301copilot_chat = { path = "crates/copilot_chat" }
302copilot_ui = { path = "crates/copilot_ui" }
303crashes = { path = "crates/crashes" }
304credentials_provider = { path = "crates/credentials_provider" }
305crossbeam = "0.8.4"
306csv_preview = { path = "crates/csv_preview"}
307dap = { path = "crates/dap" }
308dap_adapters = { path = "crates/dap_adapters" }
309db = { path = "crates/db" }
310debug_adapter_extension = { path = "crates/debug_adapter_extension" }
311debugger_tools = { path = "crates/debugger_tools" }
312debugger_ui = { path = "crates/debugger_ui" }
313deepseek = { path = "crates/deepseek" }
314derive_refineable = { path = "crates/refineable/derive_refineable" }
315dev_container = { path = "crates/dev_container" }
316diagnostics = { path = "crates/diagnostics" }
317dialoguer = { version = "0.12", default-features = false }
318editor = { path = "crates/editor" }
319encoding_selector = { path = "crates/encoding_selector" }
320env_var = { path = "crates/env_var" }
321etw_tracing = { path = "crates/etw_tracing" }
322eval_utils = { path = "crates/eval_utils" }
323extension = { path = "crates/extension" }
324extension_host = { path = "crates/extension_host" }
325extensions_ui = { path = "crates/extensions_ui" }
326feature_flags = { path = "crates/feature_flags" }
327feedback = { path = "crates/feedback" }
328file_finder = { path = "crates/file_finder" }
329file_icons = { path = "crates/file_icons" }
330fs = { path = "crates/fs" }
331fuzzy = { path = "crates/fuzzy" }
332fuzzy_nucleo = { path = "crates/fuzzy_nucleo" }
333git = { path = "crates/git" }
334git_graph = { path = "crates/git_graph" }
335git_hosting_providers = { path = "crates/git_hosting_providers" }
336git_ui = { path = "crates/git_ui" }
337go_to_line = { path = "crates/go_to_line" }
338google_ai = { path = "crates/google_ai" }
339grammars = { path = "crates/grammars" }
340gpui = { path = "crates/gpui", default-features = false }
341gpui_shared_string = { path = "crates/gpui_shared_string" }
342gpui_linux = { path = "crates/gpui_linux", default-features = false }
343gpui_macos = { path = "crates/gpui_macos", default-features = false }
344gpui_macros = { path = "crates/gpui_macros" }
345gpui_platform = { path = "crates/gpui_platform", default-features = false }
346gpui_web = { path = "crates/gpui_web" }
347gpui_wgpu = { path = "crates/gpui_wgpu" }
348gpui_windows = { path = "crates/gpui_windows", default-features = false }
349gpui_tokio = { path = "crates/gpui_tokio" }
350gpui_util = { path = "crates/gpui_util" }
351html_to_markdown = { path = "crates/html_to_markdown" }
352http_client = { path = "crates/http_client" }
353http_client_tls = { path = "crates/http_client_tls" }
354icons = { path = "crates/icons" }
355image_viewer = { path = "crates/image_viewer" }
356edit_prediction_types = { path = "crates/edit_prediction_types" }
357edit_prediction_ui = { path = "crates/edit_prediction_ui" }
358edit_prediction_context = { path = "crates/edit_prediction_context" }
359inspector_ui = { path = "crates/inspector_ui" }
360install_cli = { path = "crates/install_cli" }
361journal = { path = "crates/journal" }
362json_schema_store = { path = "crates/json_schema_store" }
363keymap_editor = { path = "crates/keymap_editor" }
364language = { path = "crates/language" }
365language_core = { path = "crates/language_core" }
366language_extension = { path = "crates/language_extension" }
367language_model = { path = "crates/language_model" }
368language_model_core = { path = "crates/language_model_core" }
369language_models = { path = "crates/language_models" }
370language_models_cloud = { path = "crates/language_models_cloud" }
371language_onboarding = { path = "crates/language_onboarding" }
372language_selector = { path = "crates/language_selector" }
373language_tools = { path = "crates/language_tools" }
374languages = { path = "crates/languages" }
375line_ending_selector = { path = "crates/line_ending_selector" }
376livekit_api = { path = "crates/livekit_api" }
377livekit_client = { path = "crates/livekit_client" }
378lmstudio = { path = "crates/lmstudio" }
379lsp = { path = "crates/lsp" }
380markdown = { path = "crates/markdown" }
381markdown_preview = { path = "crates/markdown_preview" }
382svg_preview = { path = "crates/svg_preview" }
383media = { path = "crates/media" }
384menu = { path = "crates/menu" }
385mermaid-rs-renderer = { git = "https://github.com/zed-industries/mermaid-rs-renderer", rev = "374db9ead5426697c6c2111151d9f246899bc638", default-features = false }
386migrator = { path = "crates/migrator" }
387mistral = { path = "crates/mistral" }
388multi_buffer = { path = "crates/multi_buffer" }
389miniprofiler_ui = { path = "crates/miniprofiler_ui" }
390nc = { path = "crates/nc" }
391net = { path = "crates/net" }
392node_runtime = { path = "crates/node_runtime" }
393notifications = { path = "crates/notifications" }
394ollama = { path = "crates/ollama" }
395onboarding = { path = "crates/onboarding" }
396opencode = { path = "crates/opencode" }
397open_ai = { path = "crates/open_ai" }
398open_path_prompt = { path = "crates/open_path_prompt" }
399open_router = { path = "crates/open_router", features = ["schemars"] }
400outline = { path = "crates/outline" }
401outline_panel = { path = "crates/outline_panel" }
402panel = { path = "crates/panel" }
403paths = { path = "crates/paths" }
404perf = { path = "tooling/perf" }
405picker = { path = "crates/picker" }
406prettier = { path = "crates/prettier" }
407settings_profile_selector = { path = "crates/settings_profile_selector" }
408project = { path = "crates/project" }
409project_panel = { path = "crates/project_panel" }
410project_symbols = { path = "crates/project_symbols" }
411prompt_store = { path = "crates/prompt_store" }
412proto = { path = "crates/proto" }
413recent_projects = { path = "crates/recent_projects" }
414refineable = { path = "crates/refineable" }
415release_channel = { path = "crates/release_channel" }
416remote = { path = "crates/remote" }
417remote_connection = { path = "crates/remote_connection" }
418remote_server = { path = "crates/remote_server" }
419repl = { path = "crates/repl" }
420reqwest_client = { path = "crates/reqwest_client" }
421rodio = { git = "https://github.com/RustAudio/rodio", rev = "e50e726ddd0292f6ef9de0dda6b90af4ed1fb66a", features = ["wav", "playback", "wav_output", "recording"] }
422rope = { path = "crates/rope" }
423rpc = { path = "crates/rpc" }
424rules_library = { path = "crates/rules_library" }
425scheduler = { path = "crates/scheduler" }
426search = { path = "crates/search" }
427session = { path = "crates/session" }
428sidebar = { path = "crates/sidebar" }
429settings = { path = "crates/settings" }
430settings_content = { path = "crates/settings_content" }
431settings_json = { path = "crates/settings_json" }
432settings_macros = { path = "crates/settings_macros" }
433settings_ui = { path = "crates/settings_ui" }
434shell_command_parser = { path = "crates/shell_command_parser" }
435snippet = { path = "crates/snippet" }
436snippet_provider = { path = "crates/snippet_provider" }
437snippets_ui = { path = "crates/snippets_ui" }
438sqlez = { path = "crates/sqlez" }
439sqlez_macros = { path = "crates/sqlez_macros" }
440streaming_diff = { path = "crates/streaming_diff" }
441sum_tree = { path = "crates/sum_tree" }
442codestral = { path = "crates/codestral" }
443system_specs = { path = "crates/system_specs" }
444syntax_theme = { path = "crates/syntax_theme" }
445tab_switcher = { path = "crates/tab_switcher" }
446task = { path = "crates/task" }
447tasks_ui = { path = "crates/tasks_ui" }
448telemetry = { path = "crates/telemetry" }
449telemetry_events = { path = "crates/telemetry_events" }
450terminal = { path = "crates/terminal" }
451terminal_view = { path = "crates/terminal_view" }
452text = { path = "crates/text" }
453theme = { path = "crates/theme" }
454theme_extension = { path = "crates/theme_extension" }
455theme_settings = { path = "crates/theme_settings" }
456theme_selector = { path = "crates/theme_selector" }
457time_format = { path = "crates/time_format" }
458platform_title_bar = { path = "crates/platform_title_bar" }
459title_bar = { path = "crates/title_bar" }
460toolchain_selector = { path = "crates/toolchain_selector" }
461ui = { path = "crates/ui" }
462ui_input = { path = "crates/ui_input" }
463ui_macros = { path = "crates/ui_macros" }
464ui_prompt = { path = "crates/ui_prompt" }
465util = { path = "crates/util" }
466util_macros = { path = "crates/util_macros" }
467vercel = { path = "crates/vercel" }
468vim = { path = "crates/vim" }
469vim_mode_setting = { path = "crates/vim_mode_setting" }
470which_key = { path = "crates/which_key" }
471
472watch = { path = "crates/watch" }
473web_search = { path = "crates/web_search" }
474web_search_providers = { path = "crates/web_search_providers" }
475workspace = { path = "crates/workspace" }
476worktree = { path = "crates/worktree" }
477x_ai = { path = "crates/x_ai" }
478zed = { path = "crates/zed" }
479zed_actions = { path = "crates/zed_actions" }
480zed_credentials_provider = { path = "crates/zed_credentials_provider" }
481zed_env_vars = { path = "crates/zed_env_vars" }
482edit_prediction = { path = "crates/edit_prediction" }
483zeta_prompt = { path = "crates/zeta_prompt" }
484zlog = { path = "crates/zlog" }
485zlog_settings = { path = "crates/zlog_settings" }
486ztracing = { path = "crates/ztracing" }
487ztracing_macro = { path = "crates/ztracing_macro" }
488
489#
490# External crates
491#
492
493agent-client-protocol = { version = "=0.10.2", features = ["unstable"] }
494aho-corasick = "1.1"
495alacritty_terminal = { git = "https://github.com/zed-industries/alacritty", rev = "9d9640d4" }
496any_vec = "0.14"
497anyhow = "1.0.86"
498ashpd = { version = "0.13", default-features = false, features = [
499 "async-io",
500 "notification",
501 "open_uri",
502 "file_chooser",
503 "settings",
504 "trash"
505] }
506async-channel = "2.5.0"
507async-compat = "0.2.1"
508async-compression = { version = "0.4", features = ["bzip2", "gzip", "futures-io"] }
509async-dispatcher = "0.1"
510async-fs = "2.1"
511async-lock = "2.1"
512async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
513async-recursion = "1.0.0"
514async-tar = "0.5.1"
515async-task = "4.7"
516async-trait = "0.1"
517async-tungstenite = "0.31.0"
518async_zip = { version = "0.0.18", features = ["deflate", "deflate64"] }
519aws-config = { version = "1.8.10", features = ["behavior-version-latest"] }
520aws-credential-types = { version = "1.2.8", features = [
521 "hardcoded-credentials",
522] }
523aws-sdk-bedrockruntime = { version = "1.112.0", features = [
524 "behavior-version-latest",
525] }
526aws-smithy-runtime-api = { version = "1.9.2", features = ["http-1x", "client"] }
527aws-smithy-types = { version = "1.3.4", features = ["http-body-1-x"] }
528backtrace = "0.3"
529base64 = "0.22"
530bitflags = "2.6.0"
531brotli = "8.0.2"
532bytes = "1.0"
533cargo_metadata = "0.19"
534cargo_toml = "0.21"
535brush-parser = "0.3"
536cfg-if = "1.0.3"
537chardetng = "0.1"
538chrono = { version = "0.4", features = ["serde"] }
539ciborium = "0.2"
540circular-buffer = "1.0"
541clap = { version = "4.4", features = ["derive", "wrap_help"] }
542cocoa = "=0.26.0"
543cocoa-foundation = "=0.2.0"
544convert_case = "0.8.0"
545core-foundation = "=0.10.0"
546core-foundation-sys = "0.8.6"
547core-video = { version = "0.5.2", features = ["metal"] }
548cpal = "0.17"
549crash-handler = "0.6"
550criterion = { version = "0.5", features = ["html_reports"] }
551ctor = "0.4.0"
552dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
553dashmap = "6.0"
554derive_more = { version = "2.1.1", features = [
555 "add",
556 "add_assign",
557 "deref",
558 "deref_mut",
559 "display",
560 "from_str",
561 "mul",
562 "mul_assign",
563 "not",
564] }
565dirs = "4.0"
566documented = "0.9.1"
567dotenvy = "0.15.0"
568dunce = "1.0"
569ec4rs = "1.1"
570emojis = "0.6.1"
571env_logger = "0.11"
572encoding_rs = "0.8"
573exec = "0.3.1"
574fancy-regex = "0.17.0"
575fork = "0.4.0"
576futures = "0.3.32"
577futures-concurrency = "7.7.1"
578futures-lite = "1.13"
579gh-workflow = { git = "https://github.com/zed-industries/gh-workflow", rev = "37f3c0575d379c218a9c455ee67585184e40d43f" }
580git2 = { version = "0.20.1", default-features = false, features = ["vendored-libgit2"] }
581globset = "0.4"
582heapless = "0.9.2"
583handlebars = "4.3"
584heck = "0.5"
585heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
586hex = "0.4.3"
587human_bytes = "0.4.1"
588html5ever = "0.27.0"
589http = "1.1"
590http-body = "1.0"
591ignore = "0.4.22"
592image = "0.25.1"
593imara-diff = "0.1.8"
594indexmap = { version = "2.7.0", features = ["serde"] }
595indoc = "2"
596inventory = "0.3.19"
597itertools = "0.14.0"
598json_dotpath = "1.1"
599jsonschema = "0.37.0"
600jsonwebtoken = "10.0"
601jupyter-protocol = "1.4.0"
602jupyter-websocket-client = "1.0.0"
603libc = "0.2"
604libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
605linkify = "0.10.0"
606libwebrtc = "0.3.26"
607livekit = { version = "0.7.32", features = ["tokio", "rustls-tls-native-roots"] }
608log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
609lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "c7396459fefc7886b4adfa3b596832405ae1e880" }
610mach2 = "0.5"
611markup5ever_rcdom = "0.3.0"
612metal = "0.33"
613minidumper = "0.9"
614moka = { version = "0.12.10", features = ["sync"] }
615naga = { version = "29.0", features = ["wgsl-in"] }
616nanoid = "0.4"
617nbformat = "1.2.0"
618nix = "0.29"
619nucleo = "0.5"
620num-format = "0.4.4"
621objc = "0.2"
622objc2-app-kit = { version = "0.3", default-features = false, features = [ "NSGraphics" ] }
623objc2-foundation = { version = "=0.3.2", default-features = false, features = [
624 "NSArray",
625 "NSAttributedString",
626 "NSBundle",
627 "NSCoder",
628 "NSData",
629 "NSDate",
630 "NSDictionary",
631 "NSEnumerator",
632 "NSError",
633 "NSGeometry",
634 "NSNotification",
635 "NSNull",
636 "NSObjCRuntime",
637 "NSObject",
638 "NSProcessInfo",
639 "NSRange",
640 "NSRunLoop",
641 "NSString",
642 "NSURL",
643 "NSUndoManager",
644 "NSValue",
645 "objc2-core-foundation",
646 "std",
647] }
648open = "5.0.0"
649ordered-float = "2.1.1"
650palette = { version = "0.7.5", default-features = false, features = ["std"] }
651parking_lot = "0.12.1"
652partial-json-fixer = "0.5.3"
653parse_int = "0.9"
654pciid-parser = "0.8.0"
655pathdiff = "0.2"
656percent-encoding = "2.3.2"
657pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
658pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
659pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
660pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
661pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
662pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
663pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
664portable-pty = "0.9.0"
665postage = { version = "0.5", features = ["futures-traits"] }
666pretty_assertions = { version = "1.3.0", features = ["unstable"] }
667proc-macro2 = "1.0.93"
668profiling = "1"
669# replace this with main when #635 is merged
670proptest = { git = "https://github.com/proptest-rs/proptest", rev = "3dca198a8fef1b32e3a66f1e1897c955b4dc5b5b", features = ["attr-macro"] }
671proptest-derive = "0.8.0"
672prost = "0.9"
673prost-build = "0.9"
674prost-types = "0.9"
675pollster = "0.4.0"
676pulldown-cmark = { version = "0.13.0", default-features = false }
677quote = "1.0.9"
678rand = "0.9"
679rayon = "1.8"
680regex = "1.5"
681# WARNING: If you change this, you must also publish a new version of zed-reqwest to crates.io
682reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
683 "charset",
684 "http2",
685 "macos-system-configuration",
686 "multipart",
687 "rustls-tls-native-roots",
688 "socks",
689 "stream",
690], package = "zed-reqwest", version = "0.12.15-zed" }
691rsa = "0.9.6"
692runtimelib = { version = "1.4.0", default-features = false, features = [
693 "async-dispatcher-runtime", "aws-lc-rs"
694] }
695rust-embed = { version = "8.11", features = ["include-exclude"] }
696rustc-hash = "2.1.0"
697rustls = { version = "0.23.26" }
698rustls-platform-verifier = "0.5.0"
699# WARNING: If you change this, you must also publish a new version of zed-scap to crates.io
700scap = { git = "https://github.com/zed-industries/scap", rev = "4afea48c3b002197176fb19cd0f9b180dd36eaac", default-features = false, package = "zed-scap", version = "0.0.8-zed" }
701schemars = { version = "1.0", features = ["indexmap2"] }
702semver = { version = "1.0", features = ["serde"] }
703serde = { version = "1.0.221", features = ["derive", "rc"] }
704serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
705serde_json_lenient = { version = "0.2", features = [
706 "preserve_order",
707 "raw_value",
708] }
709serde_path_to_error = "0.1.17"
710serde_urlencoded = "0.7"
711sha2 = "0.10"
712shellexpand = "2.1.0"
713shlex = "1.3.0"
714simplelog = "0.12.2"
715slotmap = "1.0.6"
716smallvec = { version = "1.6", features = ["union", "const_new"] }
717smol = "2.0"
718sqlformat = "0.2"
719stacksafe = "0.1"
720streaming-iterator = "0.1"
721strsim = "0.11"
722strum = { version = "0.27.2", features = ["derive"] }
723syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
724sys-locale = "0.3.1"
725sysinfo = "0.37.0"
726take-until = "0.2.0"
727tempfile = "3.20.0"
728thiserror = "2.0.12"
729tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "2570c4387a8505fb8f1d3f3557454b474f1e8271" }
730time = { version = "0.3", features = [
731 "macros",
732 "parsing",
733 "serde",
734 "serde-well-known",
735 "formatting",
736 "local-offset",
737] }
738tiny_http = "0.12"
739tokio = { version = "1" }
740tokio-socks = { version = "0.5.2", default-features = false, features = [
741 "futures-io",
742 "tokio",
743] }
744toml = "0.8"
745toml_edit = { version = "0.22", default-features = false, features = [
746 "display",
747 "parse",
748 "serde",
749] }
750tower-http = "0.4.4"
751tree-sitter = { version = "0.26.8", features = ["wasm"] }
752tree-sitter-bash = "0.25.1"
753tree-sitter-c = "0.24.1"
754tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
755tree-sitter-css = "0.23"
756tree-sitter-diff = "0.1.0"
757tree-sitter-elixir = "0.3"
758tree-sitter-embedded-template = "0.23.0"
759tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
760tree-sitter-go = "0.25"
761tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "2e886870578eeba1927a2dc4bd2e2b3f598c5f9a", package = "tree-sitter-gomod" }
762tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
763tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
764tree-sitter-html = "0.23"
765tree-sitter-jsdoc = "0.23"
766tree-sitter-json = "0.24"
767tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
768tree-sitter-python = "0.25"
769tree-sitter-regex = "0.24"
770tree-sitter-ruby = "0.23"
771tree-sitter-rust = "0.24.2"
772tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
773tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
774tracing = "0.1.40"
775unicase = "2.6"
776unicode-script = "0.5.7"
777unicode-segmentation = "1.10"
778unicode-width = "0.2"
779unindent = "0.2.0"
780url = "2.2"
781urlencoding = "2.1.2"
782uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
783walkdir = "2.5"
784wasm-encoder = "0.221"
785wasmparser = "0.221"
786wasmtime = { version = "36", default-features = false, features = [
787 "async",
788 "demangle",
789 "runtime",
790 "cranelift",
791 "component-model",
792 "incremental-cache",
793 "parallel-compilation",
794] }
795wasmtime-wasi = "36"
796wax = "0.7"
797which = "6.0.0"
798wasm-bindgen = "0.2.113"
799web-time = "1.1.0"
800webrtc-sys = "0.3.23"
801wgpu = { git = "https://github.com/zed-industries/wgpu.git", branch = "v29" }
802windows-core = "0.61"
803yawc = "0.2.5"
804zeroize = "1.8"
805zstd = "0.11"
806
807
808[workspace.dependencies.windows]
809version = "0.61"
810features = [
811 "Foundation_Numerics",
812 "Globalization_DateTimeFormatting",
813 "Storage_Search",
814 "Storage_Streams",
815 "System_Threading",
816 "UI_ViewManagement",
817 "Wdk_System_SystemServices",
818 "Win32_Foundation",
819 "Win32_Globalization",
820 "Win32_Graphics_Direct3D",
821 "Win32_Graphics_Direct3D11",
822 "Win32_Graphics_Direct3D_Fxc",
823 "Win32_Graphics_DirectComposition",
824 "Win32_Graphics_DirectWrite",
825 "Win32_Graphics_DirectManipulation",
826 "Win32_Graphics_Dwm",
827 "Win32_Graphics_Dxgi",
828 "Win32_Graphics_Dxgi_Common",
829 "Win32_Graphics_Gdi",
830 "Win32_Graphics_Imaging",
831 "Win32_Graphics_Hlsl",
832 "Win32_Networking_WinSock",
833 "Win32_Security",
834 "Win32_Security_Credentials",
835 "Win32_Security_Cryptography",
836 "Win32_Storage_FileSystem",
837 "Win32_System_Com",
838 "Win32_System_Com_StructuredStorage",
839 "Win32_System_Console",
840 "Win32_System_Diagnostics_Debug",
841 "Win32_System_DataExchange",
842 "Win32_System_IO",
843 "Win32_System_LibraryLoader",
844 "Win32_System_Memory",
845 "Win32_System_Ole",
846 "Win32_System_Performance",
847 "Win32_System_Pipes",
848 "Win32_System_RestartManager",
849 "Win32_System_SystemInformation",
850 "Win32_System_SystemServices",
851 "Win32_System_Threading",
852 "Win32_System_Variant",
853 "Win32_System_WinRT",
854 "Win32_UI_Controls",
855 "Win32_UI_HiDpi",
856 "Win32_UI_Input_Ime",
857 "Win32_UI_Input_KeyboardAndMouse",
858 "Win32_UI_Input_Pointer",
859 "Win32_UI_Shell",
860 "Win32_UI_Shell_Common",
861 "Win32_UI_Shell_PropertiesSystem",
862 "Win32_UI_WindowsAndMessaging",
863 "Win32_Media",
864]
865
866[patch.crates-io]
867async-task = { git = "https://github.com/smol-rs/async-task.git", rev = "b4486cd71e4e94fbda54ce6302444de14f4d190e" }
868notify = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
869notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
870windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
871calloop = { git = "https://github.com/zed-industries/calloop" }
872livekit = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "147fbca3d4b592d96d33f5e6a84b59fc0b5d9bf1" }
873libwebrtc = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "147fbca3d4b592d96d33f5e6a84b59fc0b5d9bf1" }
874webrtc-sys = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "147fbca3d4b592d96d33f5e6a84b59fc0b5d9bf1" }
875
876[profile.dev]
877split-debuginfo = "unpacked"
878incremental = true
879codegen-units = 16
880
881# mirror configuration for crates compiled for the build platform
882# (without this cargo will compile ~400 crates twice)
883[profile.dev.build-override]
884codegen-units = 16
885split-debuginfo = "unpacked"
886debug = true
887
888[profile.dev.package]
889# proc-macros start
890gpui_macros = { opt-level = 3 }
891derive_refineable = { opt-level = 3 }
892settings_macros = { opt-level = 3 }
893sqlez_macros = { opt-level = 3, codegen-units = 1 }
894ui_macros = { opt-level = 3 }
895util_macros = { opt-level = 3 }
896quote = { opt-level = 3 }
897syn = { opt-level = 3 }
898proc-macro2 = { opt-level = 3 }
899# proc-macros end
900
901tree-sitter = { opt-level = 3 }
902taffy = { opt-level = 3 }
903resvg = { opt-level = 3 }
904wasmtime = { opt-level = 3 }
905cranelift-codegen = { opt-level = 3 }
906wasmtime-environ = { opt-level = 3 }
907wasmtime-internal-cranelift = { opt-level = 3 }
908# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
909activity_indicator = { codegen-units = 1 }
910assets = { codegen-units = 1 }
911breadcrumbs = { codegen-units = 1 }
912collections = { codegen-units = 1 }
913command_palette = { codegen-units = 1 }
914command_palette_hooks = { codegen-units = 1 }
915feature_flags = { codegen-units = 1 }
916file_icons = { codegen-units = 1 }
917image_viewer = { codegen-units = 1 }
918edit_prediction_ui = { codegen-units = 1 }
919install_cli = { codegen-units = 1 }
920journal = { codegen-units = 1 }
921json_schema_store = { codegen-units = 1 }
922lmstudio = { codegen-units = 1 }
923menu = { codegen-units = 1 }
924notifications = { codegen-units = 1 }
925ollama = { codegen-units = 1 }
926outline = { codegen-units = 1 }
927paths = { codegen-units = 1 }
928prettier = { codegen-units = 1 }
929project_symbols = { codegen-units = 1 }
930refineable = { codegen-units = 1 }
931release_channel = { codegen-units = 1 }
932reqwest_client = { codegen-units = 1 }
933session = { codegen-units = 1 }
934sidebar = { codegen-units = 1 }
935snippet = { codegen-units = 1 }
936snippets_ui = { codegen-units = 1 }
937telemetry_events = { codegen-units = 1 }
938theme_selector = { codegen-units = 1 }
939time_format = { codegen-units = 1 }
940ui_input = { codegen-units = 1 }
941zed_actions = { codegen-units = 1 }
942
943[profile.release]
944debug = "limited"
945lto = "thin"
946codegen-units = 1
947
948[profile.release.package]
949zed = { codegen-units = 16 }
950
951[profile.release-fast]
952inherits = "release"
953debug = "full"
954lto = false
955codegen-units = 16
956
957[workspace.lints.rust]
958unexpected_cfgs = { level = "allow" }
959
960[workspace.lints.clippy]
961dbg_macro = "deny"
962todo = "deny"
963
964declare_interior_mutable_const = "deny"
965
966redundant_clone = "deny"
967disallowed_methods = "deny"
968
969# We currently do not restrict any style rules
970# as it slows down shipping code to Zed.
971#
972# Running ./script/clippy can take several minutes, and so it's
973# common to skip that step and let CI do it. Any unexpected failures
974# (which also take minutes to discover) thus require switching back
975# to an old branch, manual fixing, and re-pushing.
976#
977# In the future we could improve this by either making sure
978# Zed can surface clippy errors in diagnostics (in addition to the
979# rust-analyzer errors), or by having CI fix style nits automatically.
980style = { level = "allow", priority = -1 }
981
982# Individual rules that have violations in the codebase:
983type_complexity = "allow"
984let_underscore_future = "allow"
985
986# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
987# warning on this rule produces a lot of noise.
988single_range_in_vec_init = "allow"
989
990# in Rust it can be very tedious to reduce argument count without
991# running afoul of the borrow checker.
992too_many_arguments = "allow"
993
994# We often have large enum variants yet we rarely actually bother with splitting them up.
995large_enum_variant = "allow"
996
997# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
998nonminimal_bool = "allow"
999
1000[workspace.metadata.cargo-machete]
1001ignored = [
1002 "bindgen",
1003 "cbindgen",
1004 "prost_build",
1005 "serde",
1006 "component",
1007 "documented",
1008 "sea-orm-macros",
1009]