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",
 69    "crates/eval_cli",
 70    "crates/eval_utils",
 71    "crates/explorer_command_injector",
 72    "crates/extension",
 73    "crates/extension_api",
 74    "crates/extension_cli",
 75    "crates/extension_host",
 76    "crates/extensions_ui",
 77    "crates/feature_flags",
 78    "crates/feedback",
 79    "crates/file_finder",
 80    "crates/file_icons",
 81    "crates/fs",
 82    "crates/fs_benchmarks",
 83    "crates/fuzzy",
 84    "crates/git",
 85    "crates/git_graph",
 86    "crates/git_hosting_providers",
 87    "crates/git_ui",
 88    "crates/go_to_line",
 89    "crates/google_ai",
 90    "crates/grammars",
 91    "crates/gpui",
 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_models",
116    "crates/language_onboarding",
117    "crates/language_selector",
118    "crates/language_tools",
119    "crates/languages",
120    "crates/line_ending_selector",
121    "crates/livekit_api",
122    "crates/livekit_client",
123    "crates/lmstudio",
124    "crates/lsp",
125    "crates/markdown",
126    "crates/markdown_preview",
127    "crates/media",
128    "crates/menu",
129    "crates/migrator",
130    "crates/miniprofiler_ui",
131    "crates/mistral",
132    "crates/multi_buffer",
133    "crates/nc",
134    "crates/net",
135    "crates/node_runtime",
136    "crates/notifications",
137    "crates/ollama",
138    "crates/onboarding",
139    "crates/opencode",
140    "crates/open_ai",
141    "crates/open_path_prompt",
142    "crates/open_router",
143    "crates/outline",
144    "crates/outline_panel",
145    "crates/panel",
146    "crates/paths",
147    "crates/picker",
148    "crates/platform_title_bar",
149    "crates/prettier",
150    "crates/project",
151    "crates/project_benchmarks",
152    "crates/project_panel",
153    "crates/project_symbols",
154    "crates/prompt_store",
155    "crates/proto",
156    "crates/recent_projects",
157    "crates/refineable",
158    "crates/refineable/derive_refineable",
159    "crates/release_channel",
160    "crates/remote",
161    "crates/remote_connection",
162    "crates/remote_server",
163    "crates/repl",
164    "crates/reqwest_client",
165    "crates/rope",
166    "crates/rpc",
167    "crates/rules_library",
168    "crates/scheduler",
169    "crates/schema_generator",
170    "crates/search",
171    "crates/session",
172    "crates/settings",
173    "crates/settings_content",
174    "crates/settings_json",
175    "crates/settings_macros",
176    "crates/settings_profile_selector",
177    "crates/settings_ui",
178    "crates/shell_command_parser",
179    "crates/sidebar",
180    "crates/snippet",
181    "crates/snippet_provider",
182    "crates/snippets_ui",
183    "crates/sqlez",
184    "crates/sqlez_macros",
185    "crates/story",
186    "crates/storybook",
187    "crates/streaming_diff",
188    "crates/sum_tree",
189    "crates/svg_preview",
190    "crates/system_specs",
191    "crates/tab_switcher",
192    "crates/task",
193    "crates/tasks_ui",
194    "crates/telemetry",
195    "crates/telemetry_events",
196    "crates/terminal",
197    "crates/terminal_view",
198    "crates/text",
199    "crates/theme",
200    "crates/theme_extension",
201    "crates/theme_settings",
202    "crates/theme_importer",
203    "crates/theme_selector",
204    "crates/time_format",
205    "crates/title_bar",
206    "crates/toolchain_selector",
207    "crates/ui",
208    "crates/ui_input",
209    "crates/ui_macros",
210    "crates/ui_prompt",
211    "crates/util",
212    "crates/util_macros",
213    "crates/vercel",
214    "crates/vim",
215    "crates/vim_mode_setting",
216    "crates/watch",
217    "crates/web_search",
218    "crates/web_search_providers",
219    "crates/which_key",
220    "crates/workspace",
221    "crates/worktree",
222    "crates/worktree_benchmarks",
223    "crates/x_ai",
224    "crates/zed",
225    "crates/zed_actions",
226    "crates/zed_env_vars",
227    "crates/zeta_prompt",
228    "crates/zlog",
229    "crates/zlog_settings",
230    "crates/ztracing",
231    "crates/ztracing_macro",
232
233    #
234    # Extensions
235    #
236
237    "extensions/glsl",
238    "extensions/html",
239    "extensions/proto",
240    "extensions/slash-commands-example",
241    "extensions/test-extension",
242
243    #
244    # Tooling
245    #
246
247    "tooling/perf",
248    "tooling/xtask",
249]
250default-members = ["crates/zed"]
251
252[workspace.package]
253publish = false
254edition = "2024"
255
256[workspace.dependencies]
257
258#
259# Workspace member crates
260#
261
262acp_tools = { path = "crates/acp_tools" }
263acp_thread = { path = "crates/acp_thread" }
264action_log = { path = "crates/action_log" }
265agent = { path = "crates/agent" }
266activity_indicator = { path = "crates/activity_indicator" }
267agent_ui = { path = "crates/agent_ui" }
268agent_settings = { path = "crates/agent_settings" }
269agent_servers = { path = "crates/agent_servers" }
270ai_onboarding = { path = "crates/ai_onboarding" }
271anthropic = { path = "crates/anthropic" }
272askpass = { path = "crates/askpass" }
273assets = { path = "crates/assets" }
274assistant_text_thread = { path = "crates/assistant_text_thread" }
275assistant_slash_command = { path = "crates/assistant_slash_command" }
276assistant_slash_commands = { path = "crates/assistant_slash_commands" }
277audio = { path = "crates/audio" }
278auto_update = { path = "crates/auto_update" }
279auto_update_ui = { path = "crates/auto_update_ui" }
280aws_http_client = { path = "crates/aws_http_client" }
281bedrock = { path = "crates/bedrock" }
282breadcrumbs = { path = "crates/breadcrumbs" }
283buffer_diff = { path = "crates/buffer_diff" }
284call = { path = "crates/call" }
285channel = { path = "crates/channel" }
286cli = { path = "crates/cli" }
287client = { path = "crates/client" }
288clock = { path = "crates/clock" }
289cloud_api_client = { path = "crates/cloud_api_client" }
290cloud_api_types = { path = "crates/cloud_api_types" }
291cloud_llm_client = { path = "crates/cloud_llm_client" }
292collab = { path = "crates/collab" }
293collab_ui = { path = "crates/collab_ui" }
294collections = { path = "crates/collections", version = "0.1.0" }
295command_palette = { path = "crates/command_palette" }
296command_palette_hooks = { path = "crates/command_palette_hooks" }
297component = { path = "crates/component" }
298component_preview = { path = "crates/component_preview" }
299context_server = { path = "crates/context_server" }
300copilot = { path = "crates/copilot" }
301copilot_chat = { path = "crates/copilot_chat" }
302copilot_ui = { path = "crates/copilot_ui" }
303crashes = { path = "crates/crashes" }
304credentials_provider = { path = "crates/credentials_provider" }
305crossbeam = "0.8.4"
306csv_preview = { path = "crates/csv_preview"}
307dap = { path = "crates/dap" }
308dap_adapters = { path = "crates/dap_adapters" }
309db = { path = "crates/db" }
310debug_adapter_extension = { path = "crates/debug_adapter_extension" }
311debugger_tools = { path = "crates/debugger_tools" }
312debugger_ui = { path = "crates/debugger_ui" }
313deepseek = { path = "crates/deepseek" }
314derive_refineable = { path = "crates/refineable/derive_refineable" }
315dev_container = { path = "crates/dev_container" }
316diagnostics = { path = "crates/diagnostics" }
317editor = { path = "crates/editor" }
318encoding_selector = { path = "crates/encoding_selector" }
319etw_tracing = { path = "crates/etw_tracing" }
320eval_utils = { path = "crates/eval_utils" }
321extension = { path = "crates/extension" }
322extension_host = { path = "crates/extension_host" }
323extensions_ui = { path = "crates/extensions_ui" }
324feature_flags = { path = "crates/feature_flags" }
325feedback = { path = "crates/feedback" }
326file_finder = { path = "crates/file_finder" }
327file_icons = { path = "crates/file_icons" }
328fs = { path = "crates/fs" }
329fuzzy = { path = "crates/fuzzy" }
330git = { path = "crates/git" }
331git_graph = { path = "crates/git_graph" }
332git_hosting_providers = { path = "crates/git_hosting_providers" }
333git_ui = { path = "crates/git_ui" }
334go_to_line = { path = "crates/go_to_line" }
335google_ai = { path = "crates/google_ai" }
336grammars = { path = "crates/grammars" }
337gpui = { path = "crates/gpui", default-features = false }
338gpui_linux = { path = "crates/gpui_linux", default-features = false }
339gpui_macos = { path = "crates/gpui_macos", default-features = false }
340gpui_macros = { path = "crates/gpui_macros" }
341gpui_platform = { path = "crates/gpui_platform", default-features = false }
342gpui_web = { path = "crates/gpui_web" }
343gpui_wgpu = { path = "crates/gpui_wgpu" }
344gpui_windows = { path = "crates/gpui_windows", default-features = false }
345gpui_tokio = { path = "crates/gpui_tokio" }
346gpui_util = { path = "crates/gpui_util" }
347html_to_markdown = { path = "crates/html_to_markdown" }
348http_client = { path = "crates/http_client" }
349http_client_tls = { path = "crates/http_client_tls" }
350icons = { path = "crates/icons" }
351image_viewer = { path = "crates/image_viewer" }
352edit_prediction_types = { path = "crates/edit_prediction_types" }
353edit_prediction_ui = { path = "crates/edit_prediction_ui" }
354edit_prediction_context = { path = "crates/edit_prediction_context" }
355inspector_ui = { path = "crates/inspector_ui" }
356install_cli = { path = "crates/install_cli" }
357journal = { path = "crates/journal" }
358json_schema_store = { path = "crates/json_schema_store" }
359keymap_editor = { path = "crates/keymap_editor" }
360language = { path = "crates/language" }
361language_core = { path = "crates/language_core" }
362language_extension = { path = "crates/language_extension" }
363language_model = { path = "crates/language_model" }
364language_models = { path = "crates/language_models" }
365language_onboarding = { path = "crates/language_onboarding" }
366language_selector = { path = "crates/language_selector" }
367language_tools = { path = "crates/language_tools" }
368languages = { path = "crates/languages" }
369line_ending_selector = { path = "crates/line_ending_selector" }
370livekit_api = { path = "crates/livekit_api" }
371livekit_client = { path = "crates/livekit_client" }
372lmstudio = { path = "crates/lmstudio" }
373lsp = { path = "crates/lsp" }
374markdown = { path = "crates/markdown" }
375markdown_preview = { path = "crates/markdown_preview" }
376svg_preview = { path = "crates/svg_preview" }
377media = { path = "crates/media" }
378menu = { path = "crates/menu" }
379mermaid-rs-renderer = { git = "https://github.com/zed-industries/mermaid-rs-renderer", rev = "374db9ead5426697c6c2111151d9f246899bc638", default-features = false }
380migrator = { path = "crates/migrator" }
381mistral = { path = "crates/mistral" }
382multi_buffer = { path = "crates/multi_buffer" }
383miniprofiler_ui = { path = "crates/miniprofiler_ui" }
384nc = { path = "crates/nc" }
385net = { path = "crates/net" }
386node_runtime = { path = "crates/node_runtime" }
387notifications = { path = "crates/notifications" }
388ollama = { path = "crates/ollama" }
389onboarding = { path = "crates/onboarding" }
390opencode = { path = "crates/opencode" }
391open_ai = { path = "crates/open_ai" }
392open_path_prompt = { path = "crates/open_path_prompt" }
393open_router = { path = "crates/open_router", features = ["schemars"] }
394outline = { path = "crates/outline" }
395outline_panel = { path = "crates/outline_panel" }
396panel = { path = "crates/panel" }
397paths = { path = "crates/paths" }
398perf = { path = "tooling/perf" }
399picker = { path = "crates/picker" }
400prettier = { path = "crates/prettier" }
401settings_profile_selector = { path = "crates/settings_profile_selector" }
402project = { path = "crates/project" }
403project_panel = { path = "crates/project_panel" }
404project_symbols = { path = "crates/project_symbols" }
405prompt_store = { path = "crates/prompt_store" }
406proto = { path = "crates/proto" }
407recent_projects = { path = "crates/recent_projects" }
408refineable = { path = "crates/refineable" }
409release_channel = { path = "crates/release_channel" }
410remote = { path = "crates/remote" }
411remote_connection = { path = "crates/remote_connection" }
412remote_server = { path = "crates/remote_server" }
413repl = { path = "crates/repl" }
414reqwest_client = { path = "crates/reqwest_client" }
415rodio = { git = "https://github.com/RustAudio/rodio", rev = "e50e726ddd0292f6ef9de0dda6b90af4ed1fb66a", features = ["wav", "playback", "wav_output", "recording"] }
416rope = { path = "crates/rope" }
417rpc = { path = "crates/rpc" }
418rules_library = { path = "crates/rules_library" }
419scheduler = { path = "crates/scheduler" }
420search = { path = "crates/search" }
421session = { path = "crates/session" }
422sidebar = { path = "crates/sidebar" }
423settings = { path = "crates/settings" }
424settings_content = { path = "crates/settings_content" }
425settings_json = { path = "crates/settings_json" }
426settings_macros = { path = "crates/settings_macros" }
427settings_ui = { path = "crates/settings_ui" }
428shell_command_parser = { path = "crates/shell_command_parser" }
429snippet = { path = "crates/snippet" }
430snippet_provider = { path = "crates/snippet_provider" }
431snippets_ui = { path = "crates/snippets_ui" }
432sqlez = { path = "crates/sqlez" }
433sqlez_macros = { path = "crates/sqlez_macros" }
434story = { path = "crates/story" }
435streaming_diff = { path = "crates/streaming_diff" }
436sum_tree = { path = "crates/sum_tree" }
437codestral = { path = "crates/codestral" }
438system_specs = { path = "crates/system_specs" }
439tab_switcher = { path = "crates/tab_switcher" }
440task = { path = "crates/task" }
441tasks_ui = { path = "crates/tasks_ui" }
442telemetry = { path = "crates/telemetry" }
443telemetry_events = { path = "crates/telemetry_events" }
444terminal = { path = "crates/terminal" }
445terminal_view = { path = "crates/terminal_view" }
446text = { path = "crates/text" }
447theme = { path = "crates/theme" }
448theme_extension = { path = "crates/theme_extension" }
449theme_settings = { path = "crates/theme_settings" }
450theme_selector = { path = "crates/theme_selector" }
451time_format = { path = "crates/time_format" }
452platform_title_bar = { path = "crates/platform_title_bar" }
453title_bar = { path = "crates/title_bar" }
454toolchain_selector = { path = "crates/toolchain_selector" }
455ui = { path = "crates/ui" }
456ui_input = { path = "crates/ui_input" }
457ui_macros = { path = "crates/ui_macros" }
458ui_prompt = { path = "crates/ui_prompt" }
459util = { path = "crates/util" }
460util_macros = { path = "crates/util_macros" }
461vercel = { path = "crates/vercel" }
462vim = { path = "crates/vim" }
463vim_mode_setting = { path = "crates/vim_mode_setting" }
464which_key = { path = "crates/which_key" }
465
466watch = { path = "crates/watch" }
467web_search = { path = "crates/web_search" }
468web_search_providers = { path = "crates/web_search_providers" }
469workspace = { path = "crates/workspace" }
470worktree = { path = "crates/worktree" }
471x_ai = { path = "crates/x_ai" }
472zed = { path = "crates/zed" }
473zed_actions = { path = "crates/zed_actions" }
474zed_env_vars = { path = "crates/zed_env_vars" }
475edit_prediction = { path = "crates/edit_prediction" }
476zeta_prompt = { path = "crates/zeta_prompt" }
477zlog = { path = "crates/zlog" }
478zlog_settings = { path = "crates/zlog_settings" }
479ztracing = { path = "crates/ztracing" }
480ztracing_macro = { path = "crates/ztracing_macro" }
481
482#
483# External crates
484#
485
486agent-client-protocol = { version = "=0.10.2", features = ["unstable"] }
487aho-corasick = "1.1"
488alacritty_terminal = { git = "https://github.com/zed-industries/alacritty", rev = "9d9640d4" }
489any_vec = "0.14"
490anyhow = "1.0.86"
491ashpd = { version = "0.13", default-features = false, features = [
492    "async-io",
493    "notification",
494    "open_uri",
495    "file_chooser",
496    "settings",
497    "trash"
498] }
499async-channel = "2.5.0"
500async-compat = "0.2.1"
501async-compression = { version = "0.4", features = ["bzip2", "gzip", "futures-io"] }
502async-dispatcher = "0.1"
503async-fs = "2.1"
504async-lock = "2.1"
505async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
506async-recursion = "1.0.0"
507async-tar = "0.5.1"
508async-task = "4.7"
509async-trait = "0.1"
510async-tungstenite = "0.31.0"
511async_zip = { version = "0.0.18", features = ["deflate", "deflate64"] }
512aws-config = { version = "1.8.10", features = ["behavior-version-latest"] }
513aws-credential-types = { version = "1.2.8", features = [
514    "hardcoded-credentials",
515] }
516aws-sdk-bedrockruntime = { version = "1.112.0", features = [
517    "behavior-version-latest",
518] }
519aws-smithy-runtime-api = { version = "1.9.2", features = ["http-1x", "client"] }
520aws-smithy-types = { version = "1.3.4", features = ["http-body-1-x"] }
521backtrace = "0.3"
522base64 = "0.22"
523bitflags = "2.6.0"
524brotli = "8.0.2"
525bytes = "1.0"
526cargo_metadata = "0.19"
527cargo_toml = "0.21"
528brush-parser = "0.3"
529cfg-if = "1.0.3"
530chardetng = "0.1"
531chrono = { version = "0.4", features = ["serde"] }
532ciborium = "0.2"
533circular-buffer = "1.0"
534clap = { version = "4.4", features = ["derive", "wrap_help"] }
535cocoa = "=0.26.0"
536cocoa-foundation = "=0.2.0"
537convert_case = "0.8.0"
538core-foundation = "=0.10.0"
539core-foundation-sys = "0.8.6"
540core-video = { version = "0.5.2", features = ["metal"] }
541cpal = "0.17"
542crash-handler = "0.6"
543criterion = { version = "0.5", features = ["html_reports"] }
544ctor = "0.4.0"
545dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
546dashmap = "6.0"
547derive_more = { version = "2.1.1", features = [
548    "add",
549    "add_assign",
550    "deref",
551    "deref_mut",
552    "from_str",
553    "mul",
554    "mul_assign",
555    "not",
556] }
557dirs = "4.0"
558documented = "0.9.1"
559dotenvy = "0.15.0"
560dunce = "1.0"
561ec4rs = "1.1"
562emojis = "0.6.1"
563env_logger = "0.11"
564encoding_rs = "0.8"
565exec = "0.3.1"
566fancy-regex = "0.17.0"
567fork = "0.4.0"
568futures = "0.3"
569futures-concurrency = "7.7.1"
570futures-lite = "1.13"
571gh-workflow = { git = "https://github.com/zed-industries/gh-workflow", rev = "37f3c0575d379c218a9c455ee67585184e40d43f" }
572git2 = { version = "0.20.1", default-features = false, features = ["vendored-libgit2"] }
573globset = "0.4"
574heapless = "0.9.2"
575handlebars = "4.3"
576heck = "0.5"
577heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
578hex = "0.4.3"
579human_bytes = "0.4.1"
580html5ever = "0.27.0"
581http = "1.1"
582http-body = "1.0"
583ignore = "0.4.22"
584image = "0.25.1"
585imara-diff = "0.1.8"
586indexmap = { version = "2.7.0", features = ["serde"] }
587indoc = "2"
588inventory = "0.3.19"
589itertools = "0.14.0"
590json_dotpath = "1.1"
591jsonschema = "0.37.0"
592jsonwebtoken = "10.0"
593jupyter-protocol = "1.4.0"
594jupyter-websocket-client = "1.0.0"
595libc = "0.2"
596libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
597linkify = "0.10.0"
598libwebrtc = "0.3.26"
599livekit = { version = "0.7.32", features = ["tokio", "rustls-tls-native-roots"] }
600log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
601lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "a4f410987660bf560d1e617cb78117c6b6b9f599" }
602mach2 = "0.5"
603markup5ever_rcdom = "0.3.0"
604metal = "0.33"
605minidumper = "0.9"
606moka = { version = "0.12.10", features = ["sync"] }
607naga = { version = "29.0", features = ["wgsl-in"] }
608nanoid = "0.4"
609nbformat = "1.2.0"
610nix = "0.29"
611num-format = "0.4.4"
612objc = "0.2"
613objc2-foundation = { version = "=0.3.2", default-features = false, features = [
614    "NSArray",
615    "NSAttributedString",
616    "NSBundle",
617    "NSCoder",
618    "NSData",
619    "NSDate",
620    "NSDictionary",
621    "NSEnumerator",
622    "NSError",
623    "NSGeometry",
624    "NSNotification",
625    "NSNull",
626    "NSObjCRuntime",
627    "NSObject",
628    "NSProcessInfo",
629    "NSRange",
630    "NSRunLoop",
631    "NSString",
632    "NSURL",
633    "NSUndoManager",
634    "NSValue",
635    "objc2-core-foundation",
636    "std",
637] }
638open = "5.0.0"
639ordered-float = "2.1.1"
640palette = { version = "0.7.5", default-features = false, features = ["std"] }
641parking_lot = "0.12.1"
642partial-json-fixer = "0.5.3"
643parse_int = "0.9"
644pciid-parser = "0.8.0"
645pathdiff = "0.2"
646percent-encoding = "2.3.2"
647pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
648pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
649pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
650pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
651pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
652pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
653pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "9e61a22af989fe54937bf07c9f9cff1bc53d9056" }
654portable-pty = "0.9.0"
655postage = { version = "0.5", features = ["futures-traits"] }
656pretty_assertions = { version = "1.3.0", features = ["unstable"] }
657proc-macro2 = "1.0.93"
658profiling = "1"
659# replace this with main when #635 is merged
660proptest = { git = "https://github.com/proptest-rs/proptest", rev = "3dca198a8fef1b32e3a66f1e1897c955b4dc5b5b", features = ["attr-macro"] }
661proptest-derive = "0.8.0"
662prost = "0.9"
663prost-build = "0.9"
664prost-types = "0.9"
665pollster = "0.4.0"
666pulldown-cmark = { version = "0.13.0", default-features = false }
667quote = "1.0.9"
668rand = "0.9"
669rayon = "1.8"
670regex = "1.5"
671# WARNING: If you change this, you must also publish a new version of zed-reqwest to crates.io
672reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
673    "charset",
674    "http2",
675    "macos-system-configuration",
676    "multipart",
677    "rustls-tls-native-roots",
678    "socks",
679    "stream",
680], package = "zed-reqwest", version = "0.12.15-zed" }
681rsa = "0.9.6"
682runtimelib = { version = "1.4.0", default-features = false, features = [
683    "async-dispatcher-runtime", "aws-lc-rs"
684] }
685rust-embed = { version = "8.11", features = ["include-exclude"] }
686rustc-hash = "2.1.0"
687rustls = { version = "0.23.26" }
688rustls-platform-verifier = "0.5.0"
689# WARNING: If you change this, you must also publish a new version of zed-scap to crates.io
690scap = { git = "https://github.com/zed-industries/scap", rev = "4afea48c3b002197176fb19cd0f9b180dd36eaac", default-features = false, package = "zed-scap", version = "0.0.8-zed" }
691schemars = { version = "1.0", features = ["indexmap2"] }
692semver = { version = "1.0", features = ["serde"] }
693serde = { version = "1.0.221", features = ["derive", "rc"] }
694serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
695serde_json_lenient = { version = "0.2", features = [
696    "preserve_order",
697    "raw_value",
698] }
699serde_path_to_error = "0.1.17"
700serde_urlencoded = "0.7"
701sha2 = "0.10"
702shellexpand = "2.1.0"
703shlex = "1.3.0"
704simplelog = "0.12.2"
705slotmap = "1.0.6"
706smallvec = { version = "1.6", features = ["union", "const_new"] }
707smol = "2.0"
708sqlformat = "0.2"
709stacksafe = "0.1"
710streaming-iterator = "0.1"
711strsim = "0.11"
712strum = { version = "0.27.2", features = ["derive"] }
713syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
714sys-locale = "0.3.1"
715sysinfo = "0.37.0"
716take-until = "0.2.0"
717tempfile = "3.20.0"
718thiserror = "2.0.12"
719tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "2570c4387a8505fb8f1d3f3557454b474f1e8271" }
720time = { version = "0.3", features = [
721    "macros",
722    "parsing",
723    "serde",
724    "serde-well-known",
725    "formatting",
726    "local-offset",
727] }
728tiny_http = "0.12"
729tokio = { version = "1" }
730tokio-socks = { version = "0.5.2", default-features = false, features = [
731    "futures-io",
732    "tokio",
733] }
734toml = "0.8"
735toml_edit = { version = "0.22", default-features = false, features = [
736    "display",
737    "parse",
738    "serde",
739] }
740tower-http = "0.4.4"
741tree-sitter = { version = "0.26", features = ["wasm"] }
742tree-sitter-bash = "0.25.1"
743tree-sitter-c = "0.24.1"
744tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
745tree-sitter-css = "0.23"
746tree-sitter-diff = "0.1.0"
747tree-sitter-elixir = "0.3"
748tree-sitter-embedded-template = "0.23.0"
749tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
750tree-sitter-go = "0.25"
751tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "2e886870578eeba1927a2dc4bd2e2b3f598c5f9a", package = "tree-sitter-gomod" }
752tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
753tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
754tree-sitter-html = "0.23"
755tree-sitter-jsdoc = "0.23"
756tree-sitter-json = "0.24"
757tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
758tree-sitter-python = "0.25"
759tree-sitter-regex = "0.24"
760tree-sitter-ruby = "0.23"
761tree-sitter-rust = "0.24.2"
762tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
763tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
764tracing = "0.1.40"
765unicase = "2.6"
766unicode-script = "0.5.7"
767unicode-segmentation = "1.10"
768unicode-width = "0.2"
769unindent = "0.2.0"
770url = "2.2"
771urlencoding = "2.1.2"
772uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
773walkdir = "2.5"
774wasm-encoder = "0.221"
775wasmparser = "0.221"
776wasmtime = { version = "33", default-features = false, features = [
777    "async",
778    "demangle",
779    "runtime",
780    "cranelift",
781    "component-model",
782    "incremental-cache",
783    "parallel-compilation",
784] }
785wasmtime-wasi = "33"
786wax = "0.7"
787which = "6.0.0"
788wasm-bindgen = "0.2.113"
789web-time = "1.1.0"
790webrtc-sys = "0.3.23"
791wgpu = { git = "https://github.com/zed-industries/wgpu.git", branch = "v29" }
792windows-core = "0.61"
793yawc = "0.2.5"
794zeroize = "1.8"
795zstd = "0.11"
796
797
798[workspace.dependencies.windows]
799version = "0.61"
800features = [
801    "Foundation_Numerics",
802    "Globalization_DateTimeFormatting",
803    "Storage_Search",
804    "Storage_Streams",
805    "System_Threading",
806    "UI_ViewManagement",
807    "Wdk_System_SystemServices",
808    "Win32_Foundation",
809    "Win32_Globalization",
810    "Win32_Graphics_Direct3D",
811    "Win32_Graphics_Direct3D11",
812    "Win32_Graphics_Direct3D_Fxc",
813    "Win32_Graphics_DirectComposition",
814    "Win32_Graphics_DirectWrite",
815    "Win32_Graphics_DirectManipulation",
816    "Win32_Graphics_Dwm",
817    "Win32_Graphics_Dxgi",
818    "Win32_Graphics_Dxgi_Common",
819    "Win32_Graphics_Gdi",
820    "Win32_Graphics_Imaging",
821    "Win32_Graphics_Hlsl",
822    "Win32_Networking_WinSock",
823    "Win32_Security",
824    "Win32_Security_Credentials",
825    "Win32_Security_Cryptography",
826    "Win32_Storage_FileSystem",
827    "Win32_System_Com",
828    "Win32_System_Com_StructuredStorage",
829    "Win32_System_Console",
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]