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