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