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/editor_benchmarks",
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/story",
188 "crates/storybook",
189 "crates/streaming_diff",
190 "crates/sum_tree",
191 "crates/svg_preview",
192 "crates/system_specs",
193 "crates/syntax_theme",
194 "crates/tab_switcher",
195 "crates/task",
196 "crates/tasks_ui",
197 "crates/telemetry",
198 "crates/telemetry_events",
199 "crates/terminal",
200 "crates/terminal_view",
201 "crates/text",
202 "crates/theme",
203 "crates/theme_extension",
204 "crates/theme_settings",
205 "crates/theme_importer",
206 "crates/theme_selector",
207 "crates/time_format",
208 "crates/title_bar",
209 "crates/toolchain_selector",
210 "crates/ui",
211 "crates/ui_input",
212 "crates/ui_macros",
213 "crates/ui_prompt",
214 "crates/util",
215 "crates/util_macros",
216 "crates/vercel",
217 "crates/vim",
218 "crates/vim_mode_setting",
219 "crates/watch",
220 "crates/web_search",
221 "crates/web_search_providers",
222 "crates/which_key",
223 "crates/workspace",
224 "crates/worktree",
225 "crates/worktree_benchmarks",
226 "crates/x_ai",
227 "crates/zed",
228 "crates/zed_actions",
229 "crates/zed_credentials_provider",
230 "crates/zed_env_vars",
231 "crates/zeta_prompt",
232 "crates/zlog",
233 "crates/zlog_settings",
234 "crates/ztracing",
235 "crates/ztracing_macro",
236
237 #
238 # Extensions
239 #
240
241 "extensions/glsl",
242 "extensions/html",
243 "extensions/proto",
244 "extensions/test-extension",
245
246 #
247 # Tooling
248 #
249
250 "tooling/compliance",
251 "tooling/perf",
252 "tooling/xtask",
253]
254default-members = ["crates/zed"]
255
256[workspace.package]
257publish = false
258edition = "2024"
259
260[workspace.dependencies]
261
262#
263# Workspace member crates
264#
265
266acp_tools = { path = "crates/acp_tools" }
267acp_thread = { path = "crates/acp_thread" }
268action_log = { path = "crates/action_log" }
269agent = { path = "crates/agent" }
270activity_indicator = { path = "crates/activity_indicator" }
271agent_ui = { path = "crates/agent_ui" }
272agent_settings = { path = "crates/agent_settings" }
273agent_servers = { path = "crates/agent_servers" }
274ai_onboarding = { path = "crates/ai_onboarding" }
275anthropic = { path = "crates/anthropic" }
276askpass = { path = "crates/askpass" }
277assets = { path = "crates/assets" }
278audio = { path = "crates/audio" }
279auto_update = { path = "crates/auto_update" }
280auto_update_ui = { path = "crates/auto_update_ui" }
281aws_http_client = { path = "crates/aws_http_client" }
282bedrock = { path = "crates/bedrock" }
283breadcrumbs = { path = "crates/breadcrumbs" }
284buffer_diff = { path = "crates/buffer_diff" }
285call = { path = "crates/call" }
286channel = { path = "crates/channel" }
287cli = { path = "crates/cli" }
288client = { path = "crates/client" }
289clock = { path = "crates/clock" }
290cloud_api_client = { path = "crates/cloud_api_client" }
291cloud_api_types = { path = "crates/cloud_api_types" }
292cloud_llm_client = { path = "crates/cloud_llm_client" }
293collab = { path = "crates/collab" }
294collab_ui = { path = "crates/collab_ui" }
295collections = { path = "crates/collections", version = "0.1.0" }
296command_palette = { path = "crates/command_palette" }
297command_palette_hooks = { path = "crates/command_palette_hooks" }
298compliance = { path = "tooling/compliance" }
299component = { path = "crates/component" }
300component_preview = { path = "crates/component_preview" }
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" }
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" }
441story = { path = "crates/story" }
442streaming_diff = { path = "crates/streaming_diff" }
443sum_tree = { path = "crates/sum_tree" }
444codestral = { path = "crates/codestral" }
445system_specs = { path = "crates/system_specs" }
446syntax_theme = { path = "crates/syntax_theme" }
447tab_switcher = { path = "crates/tab_switcher" }
448task = { path = "crates/task" }
449tasks_ui = { path = "crates/tasks_ui" }
450telemetry = { path = "crates/telemetry" }
451telemetry_events = { path = "crates/telemetry_events" }
452terminal = { path = "crates/terminal" }
453terminal_view = { path = "crates/terminal_view" }
454text = { path = "crates/text" }
455theme = { path = "crates/theme" }
456theme_extension = { path = "crates/theme_extension" }
457theme_settings = { path = "crates/theme_settings" }
458theme_selector = { path = "crates/theme_selector" }
459time_format = { path = "crates/time_format" }
460platform_title_bar = { path = "crates/platform_title_bar" }
461title_bar = { path = "crates/title_bar" }
462toolchain_selector = { path = "crates/toolchain_selector" }
463ui = { path = "crates/ui" }
464ui_input = { path = "crates/ui_input" }
465ui_macros = { path = "crates/ui_macros" }
466ui_prompt = { path = "crates/ui_prompt" }
467util = { path = "crates/util" }
468util_macros = { path = "crates/util_macros" }
469vercel = { path = "crates/vercel" }
470vim = { path = "crates/vim" }
471vim_mode_setting = { path = "crates/vim_mode_setting" }
472which_key = { path = "crates/which_key" }
473
474watch = { path = "crates/watch" }
475web_search = { path = "crates/web_search" }
476web_search_providers = { path = "crates/web_search_providers" }
477workspace = { path = "crates/workspace" }
478worktree = { path = "crates/worktree" }
479x_ai = { path = "crates/x_ai" }
480zed = { path = "crates/zed" }
481zed_actions = { path = "crates/zed_actions" }
482zed_credentials_provider = { path = "crates/zed_credentials_provider" }
483zed_env_vars = { path = "crates/zed_env_vars" }
484edit_prediction = { path = "crates/edit_prediction" }
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 = "4.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"
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 = "2.1.0"
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 }
939story = { codegen-units = 1 }
940telemetry_events = { codegen-units = 1 }
941theme_selector = { codegen-units = 1 }
942time_format = { codegen-units = 1 }
943ui_input = { codegen-units = 1 }
944zed_actions = { codegen-units = 1 }
945
946[profile.release]
947debug = "limited"
948lto = "thin"
949codegen-units = 1
950
951[profile.release.package]
952zed = { codegen-units = 16 }
953
954[profile.release-fast]
955inherits = "release"
956debug = "full"
957lto = false
958codegen-units = 16
959
960[workspace.lints.rust]
961unexpected_cfgs = { level = "allow" }
962
963[workspace.lints.clippy]
964dbg_macro = "deny"
965todo = "deny"
966
967declare_interior_mutable_const = "deny"
968
969redundant_clone = "deny"
970disallowed_methods = "deny"
971
972# We currently do not restrict any style rules
973# as it slows down shipping code to Zed.
974#
975# Running ./script/clippy can take several minutes, and so it's
976# common to skip that step and let CI do it. Any unexpected failures
977# (which also take minutes to discover) thus require switching back
978# to an old branch, manual fixing, and re-pushing.
979#
980# In the future we could improve this by either making sure
981# Zed can surface clippy errors in diagnostics (in addition to the
982# rust-analyzer errors), or by having CI fix style nits automatically.
983style = { level = "allow", priority = -1 }
984
985# Individual rules that have violations in the codebase:
986type_complexity = "allow"
987let_underscore_future = "allow"
988
989# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
990# warning on this rule produces a lot of noise.
991single_range_in_vec_init = "allow"
992
993# in Rust it can be very tedious to reduce argument count without
994# running afoul of the borrow checker.
995too_many_arguments = "allow"
996
997# We often have large enum variants yet we rarely actually bother with splitting them up.
998large_enum_variant = "allow"
999
1000# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
1001nonminimal_bool = "allow"
1002
1003[workspace.metadata.cargo-machete]
1004ignored = [
1005 "bindgen",
1006 "cbindgen",
1007 "prost_build",
1008 "serde",
1009 "component",
1010 "documented",
1011 "sea-orm-macros",
1012]