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/audio",
 17    "crates/auto_update",
 18    "crates/auto_update_helper",
 19    "crates/auto_update_ui",
 20    "crates/aws_http_client",
 21    "crates/bedrock",
 22    "crates/breadcrumbs",
 23    "crates/buffer_diff",
 24    "crates/call",
 25    "crates/channel",
 26    "crates/cli",
 27    "crates/client",
 28    "crates/clock",
 29    "crates/cloud_api_client",
 30    "crates/cloud_api_types",
 31    "crates/cloud_llm_client",
 32    "crates/codestral",
 33    "crates/collab",
 34    "crates/collab_ui",
 35    "crates/collections",
 36    "crates/command_palette",
 37    "crates/command_palette_hooks",
 38    "crates/component",
 39    "crates/component_preview",
 40    "crates/context_server",
 41    "crates/copilot",
 42    "crates/copilot_chat",
 43    "crates/crashes",
 44    "crates/credentials_provider",
 45    "crates/csv_preview",
 46    "crates/dap",
 47    "crates/dap_adapters",
 48    "crates/db",
 49    "crates/debug_adapter_extension",
 50    "crates/debugger_tools",
 51    "crates/debugger_ui",
 52    "crates/deepseek",
 53    "crates/denoise",
 54    "crates/dev_container",
 55    "crates/diagnostics",
 56    "crates/docs_preprocessor",
 57    "crates/edit_prediction",
 58    "crates/edit_prediction_cli",
 59    "crates/edit_prediction_context",
 60    "crates/edit_prediction_types",
 61    "crates/edit_prediction_ui",
 62    "crates/editor",
 63    "crates/encoding_selector",
 64    "crates/env_var",
 65    "crates/etw_tracing",
 66    "crates/eval_cli",
 67    "crates/eval_utils",
 68    "crates/explorer_command_injector",
 69    "crates/extension",
 70    "crates/extension_api",
 71    "crates/extension_cli",
 72    "crates/extension_host",
 73    "crates/extensions_ui",
 74    "crates/feature_flags",
 75    "crates/feedback",
 76    "crates/file_finder",
 77    "crates/file_icons",
 78    "crates/fs",
 79    "crates/fs_benchmarks",
 80    "crates/fuzzy",
 81    "crates/git",
 82    "crates/git_graph",
 83    "crates/git_hosting_providers",
 84    "crates/git_ui",
 85    "crates/go_to_line",
 86    "crates/google_ai",
 87    "crates/grammars",
 88    "crates/gpui",
 89    "crates/gpui_linux",
 90    "crates/gpui_macos",
 91    "crates/gpui_macros",
 92    "crates/gpui_platform",
 93    "crates/gpui_tokio",
 94    "crates/gpui_util",
 95    "crates/gpui_web",
 96    "crates/gpui_wgpu",
 97    "crates/gpui_windows",
 98    "crates/html_to_markdown",
 99    "crates/http_client",
100    "crates/http_client_tls",
101    "crates/icons",
102    "crates/image_viewer",
103    "crates/inspector_ui",
104    "crates/install_cli",
105    "crates/journal",
106    "crates/json_schema_store",
107    "crates/keymap_editor",
108    "crates/language",
109    "crates/language_core",
110    "crates/language_extension",
111    "crates/language_model",
112    "crates/language_models",
113    "crates/language_onboarding",
114    "crates/language_selector",
115    "crates/language_tools",
116    "crates/languages",
117    "crates/line_ending_selector",
118    "crates/livekit_api",
119    "crates/livekit_client",
120    "crates/lmstudio",
121    "crates/lsp",
122    "crates/markdown",
123    "crates/markdown_preview",
124    "crates/media",
125    "crates/menu",
126    "crates/migrator",
127    "crates/miniprofiler_ui",
128    "crates/mistral",
129    "crates/multi_buffer",
130    "crates/nc",
131    "crates/net",
132    "crates/node_runtime",
133    "crates/notifications",
134    "crates/ollama",
135    "crates/onboarding",
136    "crates/opencode",
137    "crates/open_ai",
138    "crates/open_path_prompt",
139    "crates/open_router",
140    "crates/outline",
141    "crates/outline_panel",
142    "crates/panel",
143    "crates/paths",
144    "crates/picker",
145    "crates/platform_title_bar",
146    "crates/prettier",
147    "crates/project",
148    "crates/project_benchmarks",
149    "crates/project_panel",
150    "crates/project_symbols",
151    "crates/prompt_store",
152    "crates/proto",
153    "crates/recent_projects",
154    "crates/refineable",
155    "crates/refineable/derive_refineable",
156    "crates/release_channel",
157    "crates/remote",
158    "crates/remote_connection",
159    "crates/remote_server",
160    "crates/repl",
161    "crates/reqwest_client",
162    "crates/rope",
163    "crates/rpc",
164    "crates/rules_library",
165    "crates/scheduler",
166    "crates/schema_generator",
167    "crates/search",
168    "crates/session",
169    "crates/settings",
170    "crates/settings_content",
171    "crates/settings_json",
172    "crates/settings_macros",
173    "crates/settings_profile_selector",
174    "crates/settings_ui",
175    "crates/shell_command_parser",
176    "crates/sidebar",
177    "crates/snippet",
178    "crates/snippet_provider",
179    "crates/snippets_ui",
180    "crates/sqlez",
181    "crates/sqlez_macros",
182    "crates/story",
183    "crates/storybook",
184    "crates/streaming_diff",
185    "crates/sum_tree",
186    "crates/svg_preview",
187    "crates/system_specs",
188    "crates/syntax_theme",
189    "crates/tab_switcher",
190    "crates/task",
191    "crates/tasks_ui",
192    "crates/telemetry",
193    "crates/telemetry_events",
194    "crates/terminal",
195    "crates/terminal_view",
196    "crates/text",
197    "crates/theme",
198    "crates/theme_extension",
199    "crates/theme_settings",
200    "crates/theme_importer",
201    "crates/theme_selector",
202    "crates/time_format",
203    "crates/title_bar",
204    "crates/toolchain_selector",
205    "crates/ui",
206    "crates/ui_input",
207    "crates/ui_macros",
208    "crates/ui_prompt",
209    "crates/util",
210    "crates/util_macros",
211    "crates/vercel",
212    "crates/vim",
213    "crates/vim_mode_setting",
214    "crates/watch",
215    "crates/web_search",
216    "crates/web_search_providers",
217    "crates/which_key",
218    "crates/workspace",
219    "crates/worktree",
220    "crates/worktree_benchmarks",
221    "crates/x_ai",
222    "crates/zed",
223    "crates/zed_actions",
224    "crates/zed_credentials_provider",
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/test-extension",
240
241    #
242    # Tooling
243    #
244
245    "tooling/perf",
246    "tooling/xtask",
247]
248default-members = ["crates/zed"]
249
250[workspace.package]
251publish = false
252edition = "2024"
253
254[workspace.dependencies]
255
256#
257# Workspace member crates
258#
259
260acp_tools = { path = "crates/acp_tools" }
261acp_thread = { path = "crates/acp_thread" }
262action_log = { path = "crates/action_log" }
263agent = { path = "crates/agent" }
264activity_indicator = { path = "crates/activity_indicator" }
265agent_ui = { path = "crates/agent_ui" }
266agent_settings = { path = "crates/agent_settings" }
267agent_servers = { path = "crates/agent_servers" }
268ai_onboarding = { path = "crates/ai_onboarding" }
269anthropic = { path = "crates/anthropic" }
270askpass = { path = "crates/askpass" }
271assets = { path = "crates/assets" }
272audio = { path = "crates/audio" }
273auto_update = { path = "crates/auto_update" }
274auto_update_ui = { path = "crates/auto_update_ui" }
275aws_http_client = { path = "crates/aws_http_client" }
276bedrock = { path = "crates/bedrock" }
277breadcrumbs = { path = "crates/breadcrumbs" }
278buffer_diff = { path = "crates/buffer_diff" }
279call = { path = "crates/call" }
280channel = { path = "crates/channel" }
281cli = { path = "crates/cli" }
282client = { path = "crates/client" }
283clock = { path = "crates/clock" }
284cloud_api_client = { path = "crates/cloud_api_client" }
285cloud_api_types = { path = "crates/cloud_api_types" }
286cloud_llm_client = { path = "crates/cloud_llm_client" }
287collab = { path = "crates/collab" }
288collab_ui = { path = "crates/collab_ui" }
289collections = { path = "crates/collections", version = "0.1.0" }
290command_palette = { path = "crates/command_palette" }
291command_palette_hooks = { path = "crates/command_palette_hooks" }
292component = { path = "crates/component" }
293component_preview = { path = "crates/component_preview" }
294context_server = { path = "crates/context_server" }
295copilot = { path = "crates/copilot" }
296copilot_chat = { path = "crates/copilot_chat" }
297copilot_ui = { path = "crates/copilot_ui" }
298crashes = { path = "crates/crashes" }
299credentials_provider = { path = "crates/credentials_provider" }
300crossbeam = "0.8.4"
301csv_preview = { path = "crates/csv_preview"}
302dap = { path = "crates/dap" }
303dap_adapters = { path = "crates/dap_adapters" }
304db = { path = "crates/db" }
305debug_adapter_extension = { path = "crates/debug_adapter_extension" }
306debugger_tools = { path = "crates/debugger_tools" }
307debugger_ui = { path = "crates/debugger_ui" }
308deepseek = { path = "crates/deepseek" }
309derive_refineable = { path = "crates/refineable/derive_refineable" }
310dev_container = { path = "crates/dev_container" }
311diagnostics = { path = "crates/diagnostics" }
312editor = { path = "crates/editor" }
313encoding_selector = { path = "crates/encoding_selector" }
314env_var = { path = "crates/env_var" }
315etw_tracing = { path = "crates/etw_tracing" }
316eval_utils = { path = "crates/eval_utils" }
317extension = { path = "crates/extension" }
318extension_host = { path = "crates/extension_host" }
319extensions_ui = { path = "crates/extensions_ui" }
320feature_flags = { path = "crates/feature_flags" }
321feedback = { path = "crates/feedback" }
322file_finder = { path = "crates/file_finder" }
323file_icons = { path = "crates/file_icons" }
324fs = { path = "crates/fs" }
325fuzzy = { path = "crates/fuzzy" }
326git = { path = "crates/git" }
327git_graph = { path = "crates/git_graph" }
328git_hosting_providers = { path = "crates/git_hosting_providers" }
329git_ui = { path = "crates/git_ui" }
330go_to_line = { path = "crates/go_to_line" }
331google_ai = { path = "crates/google_ai" }
332grammars = { path = "crates/grammars" }
333gpui = { path = "crates/gpui", default-features = false }
334gpui_linux = { path = "crates/gpui_linux", default-features = false }
335gpui_macos = { path = "crates/gpui_macos", default-features = false }
336gpui_macros = { path = "crates/gpui_macros" }
337gpui_platform = { path = "crates/gpui_platform", default-features = false }
338gpui_web = { path = "crates/gpui_web" }
339gpui_wgpu = { path = "crates/gpui_wgpu" }
340gpui_windows = { path = "crates/gpui_windows", default-features = false }
341gpui_tokio = { path = "crates/gpui_tokio" }
342gpui_util = { path = "crates/gpui_util" }
343html_to_markdown = { path = "crates/html_to_markdown" }
344http_client = { path = "crates/http_client" }
345http_client_tls = { path = "crates/http_client_tls" }
346icons = { path = "crates/icons" }
347image_viewer = { path = "crates/image_viewer" }
348edit_prediction_types = { path = "crates/edit_prediction_types" }
349edit_prediction_ui = { path = "crates/edit_prediction_ui" }
350edit_prediction_context = { path = "crates/edit_prediction_context" }
351inspector_ui = { path = "crates/inspector_ui" }
352install_cli = { path = "crates/install_cli" }
353journal = { path = "crates/journal" }
354json_schema_store = { path = "crates/json_schema_store" }
355keymap_editor = { path = "crates/keymap_editor" }
356language = { path = "crates/language" }
357language_core = { path = "crates/language_core" }
358language_extension = { path = "crates/language_extension" }
359language_model = { path = "crates/language_model" }
360language_models = { path = "crates/language_models" }
361language_onboarding = { path = "crates/language_onboarding" }
362language_selector = { path = "crates/language_selector" }
363language_tools = { path = "crates/language_tools" }
364languages = { path = "crates/languages" }
365line_ending_selector = { path = "crates/line_ending_selector" }
366livekit_api = { path = "crates/livekit_api" }
367livekit_client = { path = "crates/livekit_client" }
368lmstudio = { path = "crates/lmstudio" }
369lsp = { path = "crates/lsp" }
370markdown = { path = "crates/markdown" }
371markdown_preview = { path = "crates/markdown_preview" }
372svg_preview = { path = "crates/svg_preview" }
373media = { path = "crates/media" }
374menu = { path = "crates/menu" }
375mermaid-rs-renderer = { git = "https://github.com/zed-industries/mermaid-rs-renderer", rev = "374db9ead5426697c6c2111151d9f246899bc638", default-features = false }
376migrator = { path = "crates/migrator" }
377mistral = { path = "crates/mistral" }
378multi_buffer = { path = "crates/multi_buffer" }
379miniprofiler_ui = { path = "crates/miniprofiler_ui" }
380nc = { path = "crates/nc" }
381net = { path = "crates/net" }
382node_runtime = { path = "crates/node_runtime" }
383notifications = { path = "crates/notifications" }
384ollama = { path = "crates/ollama" }
385onboarding = { path = "crates/onboarding" }
386opencode = { path = "crates/opencode" }
387open_ai = { path = "crates/open_ai" }
388open_path_prompt = { path = "crates/open_path_prompt" }
389open_router = { path = "crates/open_router", features = ["schemars"] }
390outline = { path = "crates/outline" }
391outline_panel = { path = "crates/outline_panel" }
392panel = { path = "crates/panel" }
393paths = { path = "crates/paths" }
394perf = { path = "tooling/perf" }
395picker = { path = "crates/picker" }
396prettier = { path = "crates/prettier" }
397settings_profile_selector = { path = "crates/settings_profile_selector" }
398project = { path = "crates/project" }
399project_panel = { path = "crates/project_panel" }
400project_symbols = { path = "crates/project_symbols" }
401prompt_store = { path = "crates/prompt_store" }
402proto = { path = "crates/proto" }
403recent_projects = { path = "crates/recent_projects" }
404refineable = { path = "crates/refineable" }
405release_channel = { path = "crates/release_channel" }
406remote = { path = "crates/remote" }
407remote_connection = { path = "crates/remote_connection" }
408remote_server = { path = "crates/remote_server" }
409repl = { path = "crates/repl" }
410reqwest_client = { path = "crates/reqwest_client" }
411rodio = { git = "https://github.com/RustAudio/rodio", rev = "e50e726ddd0292f6ef9de0dda6b90af4ed1fb66a", features = ["wav", "playback", "wav_output", "recording"] }
412rope = { path = "crates/rope" }
413rpc = { path = "crates/rpc" }
414rules_library = { path = "crates/rules_library" }
415scheduler = { path = "crates/scheduler" }
416search = { path = "crates/search" }
417session = { path = "crates/session" }
418sidebar = { path = "crates/sidebar" }
419settings = { path = "crates/settings" }
420settings_content = { path = "crates/settings_content" }
421settings_json = { path = "crates/settings_json" }
422settings_macros = { path = "crates/settings_macros" }
423settings_ui = { path = "crates/settings_ui" }
424shell_command_parser = { path = "crates/shell_command_parser" }
425snippet = { path = "crates/snippet" }
426snippet_provider = { path = "crates/snippet_provider" }
427snippets_ui = { path = "crates/snippets_ui" }
428sqlez = { path = "crates/sqlez" }
429sqlez_macros = { path = "crates/sqlez_macros" }
430story = { path = "crates/story" }
431streaming_diff = { path = "crates/streaming_diff" }
432sum_tree = { path = "crates/sum_tree" }
433codestral = { path = "crates/codestral" }
434system_specs = { path = "crates/system_specs" }
435syntax_theme = { path = "crates/syntax_theme" }
436tab_switcher = { path = "crates/tab_switcher" }
437task = { path = "crates/task" }
438tasks_ui = { path = "crates/tasks_ui" }
439telemetry = { path = "crates/telemetry" }
440telemetry_events = { path = "crates/telemetry_events" }
441terminal = { path = "crates/terminal" }
442terminal_view = { path = "crates/terminal_view" }
443text = { path = "crates/text" }
444theme = { path = "crates/theme" }
445theme_extension = { path = "crates/theme_extension" }
446theme_settings = { path = "crates/theme_settings" }
447theme_selector = { path = "crates/theme_selector" }
448time_format = { path = "crates/time_format" }
449platform_title_bar = { path = "crates/platform_title_bar" }
450title_bar = { path = "crates/title_bar" }
451toolchain_selector = { path = "crates/toolchain_selector" }
452ui = { path = "crates/ui" }
453ui_input = { path = "crates/ui_input" }
454ui_macros = { path = "crates/ui_macros" }
455ui_prompt = { path = "crates/ui_prompt" }
456util = { path = "crates/util" }
457util_macros = { path = "crates/util_macros" }
458vercel = { path = "crates/vercel" }
459vim = { path = "crates/vim" }
460vim_mode_setting = { path = "crates/vim_mode_setting" }
461which_key = { path = "crates/which_key" }
462
463watch = { path = "crates/watch" }
464web_search = { path = "crates/web_search" }
465web_search_providers = { path = "crates/web_search_providers" }
466workspace = { path = "crates/workspace" }
467worktree = { path = "crates/worktree" }
468x_ai = { path = "crates/x_ai" }
469zed = { path = "crates/zed" }
470zed_actions = { path = "crates/zed_actions" }
471zed_credentials_provider = { path = "crates/zed_credentials_provider" }
472zed_env_vars = { path = "crates/zed_env_vars" }
473edit_prediction = { path = "crates/edit_prediction" }
474zeta_prompt = { path = "crates/zeta_prompt" }
475zlog = { path = "crates/zlog" }
476zlog_settings = { path = "crates/zlog_settings" }
477ztracing = { path = "crates/ztracing" }
478ztracing_macro = { path = "crates/ztracing_macro" }
479
480#
481# External crates
482#
483
484agent-client-protocol = { version = "=0.10.2", features = ["unstable"] }
485aho-corasick = "1.1"
486alacritty_terminal = { git = "https://github.com/zed-industries/alacritty", rev = "9d9640d4" }
487any_vec = "0.14"
488anyhow = "1.0.86"
489ashpd = { version = "0.13", default-features = false, features = [
490    "async-io",
491    "notification",
492    "open_uri",
493    "file_chooser",
494    "settings",
495    "trash"
496] }
497async-channel = "2.5.0"
498async-compat = "0.2.1"
499async-compression = { version = "0.4", features = ["bzip2", "gzip", "futures-io"] }
500async-dispatcher = "0.1"
501async-fs = "2.1"
502async-lock = "2.1"
503async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
504async-recursion = "1.0.0"
505async-tar = "0.5.1"
506async-task = "4.7"
507async-trait = "0.1"
508async-tungstenite = "0.31.0"
509async_zip = { version = "0.0.18", features = ["deflate", "deflate64"] }
510aws-config = { version = "1.8.10", features = ["behavior-version-latest"] }
511aws-credential-types = { version = "1.2.8", features = [
512    "hardcoded-credentials",
513] }
514aws-sdk-bedrockruntime = { version = "1.112.0", features = [
515    "behavior-version-latest",
516] }
517aws-smithy-runtime-api = { version = "1.9.2", features = ["http-1x", "client"] }
518aws-smithy-types = { version = "1.3.4", features = ["http-body-1-x"] }
519backtrace = "0.3"
520base64 = "0.22"
521bitflags = "2.6.0"
522brotli = "8.0.2"
523bytes = "1.0"
524cargo_metadata = "0.19"
525cargo_toml = "0.21"
526brush-parser = "0.3"
527cfg-if = "1.0.3"
528chardetng = "0.1"
529chrono = { version = "0.4", features = ["serde"] }
530ciborium = "0.2"
531circular-buffer = "1.0"
532clap = { version = "4.4", features = ["derive", "wrap_help"] }
533cocoa = "=0.26.0"
534cocoa-foundation = "=0.2.0"
535convert_case = "0.8.0"
536core-foundation = "=0.10.0"
537core-foundation-sys = "0.8.6"
538core-video = { version = "0.5.2", features = ["metal"] }
539cpal = "0.17"
540crash-handler = "0.6"
541criterion = { version = "0.5", features = ["html_reports"] }
542ctor = "0.4.0"
543dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
544dashmap = "6.0"
545derive_more = { version = "2.1.1", features = [
546    "add",
547    "add_assign",
548    "deref",
549    "deref_mut",
550    "from_str",
551    "mul",
552    "mul_assign",
553    "not",
554] }
555dirs = "4.0"
556documented = "0.9.1"
557dotenvy = "0.15.0"
558dunce = "1.0"
559ec4rs = "1.1"
560emojis = "0.6.1"
561env_logger = "0.11"
562encoding_rs = "0.8"
563exec = "0.3.1"
564fancy-regex = "0.17.0"
565fork = "0.4.0"
566futures = "0.3"
567futures-concurrency = "7.7.1"
568futures-lite = "1.13"
569gh-workflow = { git = "https://github.com/zed-industries/gh-workflow", rev = "37f3c0575d379c218a9c455ee67585184e40d43f" }
570git2 = { version = "0.20.1", default-features = false, features = ["vendored-libgit2"] }
571globset = "0.4"
572heapless = "0.9.2"
573handlebars = "4.3"
574heck = "0.5"
575heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
576hex = "0.4.3"
577human_bytes = "0.4.1"
578html5ever = "0.27.0"
579http = "1.1"
580http-body = "1.0"
581ignore = "0.4.22"
582image = "0.25.1"
583imara-diff = "0.1.8"
584indexmap = { version = "2.7.0", features = ["serde"] }
585indoc = "2"
586inventory = "0.3.19"
587itertools = "0.14.0"
588json_dotpath = "1.1"
589jsonschema = "0.37.0"
590jsonwebtoken = "10.0"
591jupyter-protocol = "1.4.0"
592jupyter-websocket-client = "1.0.0"
593libc = "0.2"
594libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
595linkify = "0.10.0"
596libwebrtc = "0.3.26"
597livekit = { version = "0.7.32", features = ["tokio", "rustls-tls-native-roots"] }
598log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
599lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "a4f410987660bf560d1e617cb78117c6b6b9f599" }
600mach2 = "0.5"
601markup5ever_rcdom = "0.3.0"
602metal = "0.33"
603minidumper = "0.9"
604moka = { version = "0.12.10", features = ["sync"] }
605naga = { version = "29.0", features = ["wgsl-in"] }
606nanoid = "0.4"
607nbformat = "1.2.0"
608nix = "0.29"
609num-format = "0.4.4"
610objc = "0.2"
611objc2-app-kit = { version = "0.3", default-features = false, features = [ "NSGraphics" ] }
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.8", 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 = "36", default-features = false, features = [
776    "async",
777    "demangle",
778    "runtime",
779    "cranelift",
780    "component-model",
781    "incremental-cache",
782    "parallel-compilation",
783] }
784wasmtime-wasi = "36"
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_Diagnostics_Debug",
830    "Win32_System_DataExchange",
831    "Win32_System_IO",
832    "Win32_System_LibraryLoader",
833    "Win32_System_Memory",
834    "Win32_System_Ole",
835    "Win32_System_Performance",
836    "Win32_System_Pipes",
837    "Win32_System_RestartManager",
838    "Win32_System_SystemInformation",
839    "Win32_System_SystemServices",
840    "Win32_System_Threading",
841    "Win32_System_Variant",
842    "Win32_System_WinRT",
843    "Win32_UI_Controls",
844    "Win32_UI_HiDpi",
845    "Win32_UI_Input_Ime",
846    "Win32_UI_Input_KeyboardAndMouse",
847    "Win32_UI_Input_Pointer",
848    "Win32_UI_Shell",
849    "Win32_UI_Shell_Common",
850    "Win32_UI_Shell_PropertiesSystem",
851    "Win32_UI_WindowsAndMessaging",
852    "Win32_Media",
853]
854
855[patch.crates-io]
856async-task = { git = "https://github.com/smol-rs/async-task.git", rev = "b4486cd71e4e94fbda54ce6302444de14f4d190e" }
857notify = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
858notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
859windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
860calloop = { git = "https://github.com/zed-industries/calloop" }
861livekit = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "147fbca3d4b592d96d33f5e6a84b59fc0b5d9bf1" }
862libwebrtc = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "147fbca3d4b592d96d33f5e6a84b59fc0b5d9bf1" }
863webrtc-sys = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "147fbca3d4b592d96d33f5e6a84b59fc0b5d9bf1" }
864
865[profile.dev]
866split-debuginfo = "unpacked"
867incremental = true
868codegen-units = 16
869
870# mirror configuration for crates compiled for the build platform
871# (without this cargo will compile ~400 crates twice)
872[profile.dev.build-override]
873codegen-units = 16
874split-debuginfo = "unpacked"
875debug = true
876
877[profile.dev.package]
878# proc-macros start
879gpui_macros = { opt-level = 3 }
880derive_refineable = { opt-level = 3 }
881settings_macros = { opt-level = 3 }
882sqlez_macros = { opt-level = 3, codegen-units = 1 }
883ui_macros = { opt-level = 3 }
884util_macros = { opt-level = 3 }
885quote = { opt-level = 3 }
886syn = { opt-level = 3 }
887proc-macro2 = { opt-level = 3 }
888# proc-macros end
889
890taffy = { opt-level = 3 }
891resvg = { opt-level = 3 }
892wasmtime = { opt-level = 3 }
893# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
894activity_indicator = { codegen-units = 1 }
895assets = { codegen-units = 1 }
896breadcrumbs = { codegen-units = 1 }
897collections = { codegen-units = 1 }
898command_palette = { codegen-units = 1 }
899command_palette_hooks = { codegen-units = 1 }
900feature_flags = { codegen-units = 1 }
901file_icons = { codegen-units = 1 }
902image_viewer = { codegen-units = 1 }
903edit_prediction_ui = { codegen-units = 1 }
904install_cli = { codegen-units = 1 }
905journal = { codegen-units = 1 }
906json_schema_store = { codegen-units = 1 }
907lmstudio = { codegen-units = 1 }
908menu = { codegen-units = 1 }
909notifications = { codegen-units = 1 }
910ollama = { codegen-units = 1 }
911outline = { codegen-units = 1 }
912paths = { codegen-units = 1 }
913prettier = { codegen-units = 1 }
914project_symbols = { codegen-units = 1 }
915refineable = { codegen-units = 1 }
916release_channel = { codegen-units = 1 }
917reqwest_client = { codegen-units = 1 }
918session = { codegen-units = 1 }
919sidebar = { codegen-units = 1 }
920snippet = { codegen-units = 1 }
921snippets_ui = { codegen-units = 1 }
922story = { codegen-units = 1 }
923telemetry_events = { codegen-units = 1 }
924theme_selector = { codegen-units = 1 }
925time_format = { codegen-units = 1 }
926ui_input = { codegen-units = 1 }
927zed_actions = { codegen-units = 1 }
928
929[profile.release]
930debug = "limited"
931lto = "thin"
932codegen-units = 1
933
934[profile.release.package]
935zed = { codegen-units = 16 }
936
937[profile.release-fast]
938inherits = "release"
939debug = "full"
940lto = false
941codegen-units = 16
942
943[workspace.lints.rust]
944unexpected_cfgs = { level = "allow" }
945
946[workspace.lints.clippy]
947dbg_macro = "deny"
948todo = "deny"
949
950declare_interior_mutable_const = "deny"
951
952redundant_clone = "deny"
953disallowed_methods = "deny"
954
955# We currently do not restrict any style rules
956# as it slows down shipping code to Zed.
957#
958# Running ./script/clippy can take several minutes, and so it's
959# common to skip that step and let CI do it. Any unexpected failures
960# (which also take minutes to discover) thus require switching back
961# to an old branch, manual fixing, and re-pushing.
962#
963# In the future we could improve this by either making sure
964# Zed can surface clippy errors in diagnostics (in addition to the
965# rust-analyzer errors), or by having CI fix style nits automatically.
966style = { level = "allow", priority = -1 }
967
968# Individual rules that have violations in the codebase:
969type_complexity = "allow"
970let_underscore_future = "allow"
971
972# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
973# warning on this rule produces a lot of noise.
974single_range_in_vec_init = "allow"
975
976# in Rust it can be very tedious to reduce argument count without
977# running afoul of the borrow checker.
978too_many_arguments = "allow"
979
980# We often have large enum variants yet we rarely actually bother with splitting them up.
981large_enum_variant = "allow"
982
983# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
984nonminimal_bool = "allow"
985
986[workspace.metadata.cargo-machete]
987ignored = [
988    "bindgen",
989    "cbindgen",
990    "prost_build",
991    "serde",
992    "component",
993    "documented",
994    "sea-orm-macros",
995]