Cargo.toml

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