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