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