Cargo.toml

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