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/agent2",
 10    "crates/agent_servers",
 11    "crates/agent_settings",
 12    "crates/agent_ui",
 13    "crates/ai_onboarding",
 14    "crates/anthropic",
 15    "crates/askpass",
 16    "crates/assets",
 17    "crates/assistant_context",
 18    "crates/assistant_slash_command",
 19    "crates/assistant_slash_commands",
 20    "crates/assistant_tool",
 21    "crates/assistant_tools",
 22    "crates/audio",
 23    "crates/auto_update",
 24    "crates/auto_update_helper",
 25    "crates/auto_update_ui",
 26    "crates/aws_http_client",
 27    "crates/bedrock",
 28    "crates/breadcrumbs",
 29    "crates/buffer_diff",
 30    "crates/call",
 31    "crates/channel",
 32    "crates/cli",
 33    "crates/client",
 34    "crates/clock",
 35    "crates/cloud_api_client",
 36    "crates/cloud_api_types",
 37    "crates/cloud_llm_client",
 38    "crates/cloud_zeta2_prompt",
 39    "crates/collab",
 40    "crates/collab_ui",
 41    "crates/collections",
 42    "crates/command_palette",
 43    "crates/command_palette_hooks",
 44    "crates/component",
 45    "crates/context_server",
 46    "crates/copilot",
 47    "crates/crashes",
 48    "crates/credentials_provider",
 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/diagnostics",
 58    "crates/docs_preprocessor",
 59    "crates/edit_prediction",
 60    "crates/edit_prediction_button",
 61    "crates/edit_prediction_context",
 62    "crates/zeta2_tools",
 63    "crates/editor",
 64    "crates/eval",
 65    "crates/explorer_command_injector",
 66    "crates/extension",
 67    "crates/extension_api",
 68    "crates/extension_cli",
 69    "crates/extension_host",
 70    "crates/extensions_ui",
 71    "crates/feature_flags",
 72    "crates/feedback",
 73    "crates/file_finder",
 74    "crates/file_icons",
 75    "crates/fs",
 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/multi_buffer",
116    "crates/nc",
117    "crates/net",
118    "crates/node_runtime",
119    "crates/notifications",
120    "crates/ollama",
121    "crates/onboarding",
122    "crates/open_ai",
123    "crates/open_router",
124    "crates/outline",
125    "crates/outline_panel",
126    "crates/panel",
127    "crates/paths",
128    "crates/picker",
129    "crates/prettier",
130    "crates/project",
131    "crates/project_panel",
132    "crates/project_symbols",
133    "crates/prompt_store",
134    "crates/proto",
135    "crates/recent_projects",
136    "crates/refineable",
137    "crates/refineable/derive_refineable",
138    "crates/release_channel",
139    "crates/scheduler",
140    "crates/remote",
141    "crates/remote_server",
142    "crates/repl",
143    "crates/reqwest_client",
144    "crates/rich_text",
145    "crates/rope",
146    "crates/rpc",
147    "crates/rules_library",
148    "crates/schema_generator",
149    "crates/search",
150    "crates/semantic_version",
151    "crates/session",
152    "crates/settings",
153    "crates/settings_macros",
154    "crates/settings_profile_selector",
155    "crates/settings_ui",
156    "crates/snippet",
157    "crates/snippet_provider",
158    "crates/snippets_ui",
159    "crates/sqlez",
160    "crates/sqlez_macros",
161    "crates/story",
162    "crates/storybook",
163    "crates/streaming_diff",
164    "crates/sum_tree",
165    "crates/supermaven",
166    "crates/supermaven_api",
167    "crates/svg_preview",
168    "crates/system_specs",
169    "crates/tab_switcher",
170    "crates/task",
171    "crates/tasks_ui",
172    "crates/telemetry",
173    "crates/telemetry_events",
174    "crates/terminal",
175    "crates/terminal_view",
176    "crates/text",
177    "crates/theme",
178    "crates/theme_extension",
179    "crates/theme_importer",
180    "crates/theme_selector",
181    "crates/time_format",
182    "crates/title_bar",
183    "crates/toolchain_selector",
184    "crates/ui",
185    "crates/ui_input",
186    "crates/ui_macros",
187    "crates/ui_prompt",
188    "crates/util",
189    "crates/util_macros",
190    "crates/vercel",
191    "crates/vim",
192    "crates/vim_mode_setting",
193    "crates/watch",
194    "crates/web_search",
195    "crates/web_search_providers",
196    "crates/workspace",
197    "crates/worktree",
198    "crates/x_ai",
199    "crates/zed",
200    "crates/zed_actions",
201    "crates/zed_env_vars",
202    "crates/zeta",
203    "crates/zeta2",
204    "crates/zeta_cli",
205    "crates/zlog",
206    "crates/zlog_settings",
207
208    #
209    # Extensions
210    #
211
212    "extensions/glsl",
213    "extensions/html",
214    "extensions/proto",
215    "extensions/ruff",
216    "extensions/slash-commands-example",
217    "extensions/snippets",
218    "extensions/test-extension",
219
220    #
221    # Tooling
222    #
223
224    "tooling/perf",
225    "tooling/workspace-hack",
226    "tooling/xtask",
227]
228default-members = ["crates/zed"]
229
230[workspace.package]
231publish = false
232edition = "2024"
233
234[workspace.dependencies]
235
236#
237# Workspace member crates
238#
239
240acp_tools = { path = "crates/acp_tools" }
241acp_thread = { path = "crates/acp_thread" }
242action_log = { path = "crates/action_log" }
243agent = { path = "crates/agent" }
244agent2 = { path = "crates/agent2" }
245activity_indicator = { path = "crates/activity_indicator" }
246agent_ui = { path = "crates/agent_ui" }
247agent_settings = { path = "crates/agent_settings" }
248agent_servers = { path = "crates/agent_servers" }
249ai = { path = "crates/ai" }
250ai_onboarding = { path = "crates/ai_onboarding" }
251anthropic = { path = "crates/anthropic" }
252askpass = { path = "crates/askpass" }
253assets = { path = "crates/assets" }
254assistant_context = { path = "crates/assistant_context" }
255assistant_slash_command = { path = "crates/assistant_slash_command" }
256assistant_slash_commands = { path = "crates/assistant_slash_commands" }
257assistant_tool = { path = "crates/assistant_tool" }
258assistant_tools = { path = "crates/assistant_tools" }
259audio = { path = "crates/audio" }
260auto_update = { path = "crates/auto_update" }
261auto_update_helper = { path = "crates/auto_update_helper" }
262auto_update_ui = { path = "crates/auto_update_ui" }
263aws_http_client = { path = "crates/aws_http_client" }
264bedrock = { path = "crates/bedrock" }
265breadcrumbs = { path = "crates/breadcrumbs" }
266buffer_diff = { path = "crates/buffer_diff" }
267call = { path = "crates/call" }
268channel = { path = "crates/channel" }
269cli = { path = "crates/cli" }
270client = { path = "crates/client" }
271clock = { path = "crates/clock" }
272cloud_api_client = { path = "crates/cloud_api_client" }
273cloud_api_types = { path = "crates/cloud_api_types" }
274cloud_llm_client = { path = "crates/cloud_llm_client" }
275cloud_zeta2_prompt = { path = "crates/cloud_zeta2_prompt" }
276collab = { path = "crates/collab" }
277collab_ui = { path = "crates/collab_ui" }
278collections = { path = "crates/collections" }
279command_palette = { path = "crates/command_palette" }
280command_palette_hooks = { path = "crates/command_palette_hooks" }
281component = { path = "crates/component" }
282context_server = { path = "crates/context_server" }
283copilot = { path = "crates/copilot" }
284crashes = { path = "crates/crashes" }
285credentials_provider = { path = "crates/credentials_provider" }
286crossbeam = "0.8.4"
287dap = { path = "crates/dap" }
288dap_adapters = { path = "crates/dap_adapters" }
289db = { path = "crates/db" }
290debug_adapter_extension = { path = "crates/debug_adapter_extension" }
291debugger_tools = { path = "crates/debugger_tools" }
292debugger_ui = { path = "crates/debugger_ui" }
293deepseek = { path = "crates/deepseek" }
294diagnostics = { path = "crates/diagnostics" }
295editor = { path = "crates/editor" }
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 = { path = "crates/edit_prediction" }
320edit_prediction_button = { path = "crates/edit_prediction_button" }
321edit_prediction_context = { path = "crates/edit_prediction_context" }
322zeta2_tools = { path = "crates/zeta2_tools" }
323inspector_ui = { path = "crates/inspector_ui" }
324install_cli = { path = "crates/install_cli" }
325journal = { path = "crates/journal" }
326json_schema_store = { path = "crates/json_schema_store" }
327keymap_editor = { path = "crates/keymap_editor" }
328language = { path = "crates/language" }
329language_extension = { path = "crates/language_extension" }
330language_model = { path = "crates/language_model" }
331language_models = { path = "crates/language_models" }
332language_onboarding = { path = "crates/language_onboarding" }
333language_selector = { path = "crates/language_selector" }
334language_tools = { path = "crates/language_tools" }
335languages = { path = "crates/languages" }
336line_ending_selector = { path = "crates/line_ending_selector" }
337livekit_api = { path = "crates/livekit_api" }
338livekit_client = { path = "crates/livekit_client" }
339lmstudio = { path = "crates/lmstudio" }
340lsp = { path = "crates/lsp" }
341markdown = { path = "crates/markdown" }
342markdown_preview = { path = "crates/markdown_preview" }
343svg_preview = { path = "crates/svg_preview" }
344media = { path = "crates/media" }
345menu = { path = "crates/menu" }
346migrator = { path = "crates/migrator" }
347mistral = { path = "crates/mistral" }
348multi_buffer = { path = "crates/multi_buffer" }
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" }
363plugin = { path = "crates/plugin" }
364plugin_macros = { path = "crates/plugin_macros" }
365prettier = { path = "crates/prettier" }
366settings_profile_selector = { path = "crates/settings_profile_selector" }
367project = { path = "crates/project" }
368project_panel = { path = "crates/project_panel" }
369project_symbols = { path = "crates/project_symbols" }
370prompt_store = { path = "crates/prompt_store" }
371proto = { path = "crates/proto" }
372recent_projects = { path = "crates/recent_projects" }
373refineable = { path = "crates/refineable" }
374release_channel = { path = "crates/release_channel" }
375scheduler = { path = "crates/scheduler" }
376remote = { path = "crates/remote" }
377remote_server = { path = "crates/remote_server" }
378repl = { path = "crates/repl" }
379reqwest_client = { path = "crates/reqwest_client" }
380rich_text = { path = "crates/rich_text" }
381rodio = { git = "https://github.com/RustAudio/rodio" }
382rope = { path = "crates/rope" }
383rpc = { path = "crates/rpc" }
384rules_library = { path = "crates/rules_library" }
385search = { path = "crates/search" }
386semantic_version = { path = "crates/semantic_version" }
387session = { path = "crates/session" }
388settings = { path = "crates/settings" }
389settings_macros = { path = "crates/settings_macros" }
390settings_ui = { path = "crates/settings_ui" }
391snippet = { path = "crates/snippet" }
392snippet_provider = { path = "crates/snippet_provider" }
393snippets_ui = { path = "crates/snippets_ui" }
394sqlez = { path = "crates/sqlez" }
395sqlez_macros = { path = "crates/sqlez_macros" }
396story = { path = "crates/story" }
397storybook = { path = "crates/storybook" }
398streaming_diff = { path = "crates/streaming_diff" }
399sum_tree = { path = "crates/sum_tree" }
400supermaven = { path = "crates/supermaven" }
401supermaven_api = { path = "crates/supermaven_api" }
402system_specs = { path = "crates/system_specs" }
403tab_switcher = { path = "crates/tab_switcher" }
404task = { path = "crates/task" }
405tasks_ui = { path = "crates/tasks_ui" }
406telemetry = { path = "crates/telemetry" }
407telemetry_events = { path = "crates/telemetry_events" }
408terminal = { path = "crates/terminal" }
409terminal_view = { path = "crates/terminal_view" }
410text = { path = "crates/text" }
411theme = { path = "crates/theme" }
412theme_extension = { path = "crates/theme_extension" }
413theme_importer = { path = "crates/theme_importer" }
414theme_selector = { path = "crates/theme_selector" }
415time_format = { path = "crates/time_format" }
416title_bar = { path = "crates/title_bar" }
417toolchain_selector = { path = "crates/toolchain_selector" }
418ui = { path = "crates/ui" }
419ui_input = { path = "crates/ui_input" }
420ui_macros = { path = "crates/ui_macros" }
421ui_prompt = { path = "crates/ui_prompt" }
422util = { path = "crates/util" }
423util_macros = { path = "crates/util_macros" }
424vercel = { path = "crates/vercel" }
425vim = { path = "crates/vim" }
426vim_mode_setting = { path = "crates/vim_mode_setting" }
427
428watch = { path = "crates/watch" }
429web_search = { path = "crates/web_search" }
430web_search_providers = { path = "crates/web_search_providers" }
431workspace = { path = "crates/workspace" }
432worktree = { path = "crates/worktree" }
433x_ai = { path = "crates/x_ai" }
434zed = { path = "crates/zed" }
435zed_actions = { path = "crates/zed_actions" }
436zed_env_vars = { path = "crates/zed_env_vars" }
437zeta = { path = "crates/zeta" }
438zeta2 = { path = "crates/zeta2" }
439zlog = { path = "crates/zlog" }
440zlog_settings = { path = "crates/zlog_settings" }
441
442#
443# External crates
444#
445
446agent-client-protocol = { version = "0.4.3", features = ["unstable"] }
447aho-corasick = "1.1"
448alacritty_terminal = "0.25.1-rc1"
449any_vec = "0.14"
450anyhow = "1.0.86"
451arrayvec = { version = "0.7.4", features = ["serde"] }
452ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
453async-compat = "0.2.1"
454async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
455async-dispatcher = "0.1"
456async-fs = "2.1"
457async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
458async-recursion = "1.0.0"
459async-tar = "0.5.0"
460async-task = "4.7"
461async-trait = "0.1"
462async-tungstenite = "0.29.1"
463async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
464aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
465aws-credential-types = { version = "1.2.2", features = [
466    "hardcoded-credentials",
467] }
468aws-sdk-bedrockruntime = { version = "1.80.0", features = [
469    "behavior-version-latest",
470] }
471aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
472aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
473backtrace = "0.3"
474base64 = "0.22"
475bincode = "1.2.1"
476bitflags = "2.6.0"
477blade-graphics = { version = "0.7.0" }
478blade-macros = { version = "0.3.0" }
479blade-util = { version = "0.3.0" }
480blake3 = "1.5.3"
481bytes = "1.0"
482cargo_metadata = "0.19"
483cargo_toml = "0.21"
484cfg-if = "1.0.3"
485chrono = { version = "0.4", features = ["serde"] }
486ciborium = "0.2"
487circular-buffer = "1.0"
488clap = { version = "4.4", features = ["derive"] }
489cocoa = "0.26"
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"
508exec = "0.3.1"
509fancy-regex = "0.14.0"
510fork = "0.2.0"
511futures = "0.3"
512futures-batch = "0.6.1"
513futures-lite = "1.13"
514git2 = { version = "0.20.1", default-features = false }
515globset = "0.4"
516handlebars = "4.3"
517hashbrown = "0.15.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.30.0"
535jsonwebtoken = "9.3"
536jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
537jupyter-websocket-client = {  git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
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 = "0874f8742fe55b4dc94308c1e3c0069710d8eeaf" }
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 = {  git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
551nix = "0.29"
552num-format = "0.4.4"
553objc = "0.2"
554objc2-foundation = { version = "0.3", 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 = "845945b830297a50de0e24020b980a65e4820559" }
588pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
589pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
590pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
591pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
592pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
593pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
594pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
595portable-pty = "0.9.0"
596postage = { version = "0.5", features = ["futures-traits"] }
597pretty_assertions = { version = "1.3.0", features = ["unstable"] }
598proc-macro2 = "1.0.93"
599profiling = "1"
600prost = "0.9"
601prost-build = "0.9"
602prost-types = "0.9"
603pulldown-cmark = { version = "0.12.0", default-features = false }
604quote = "1.0.9"
605rand = "0.9"
606rayon = "1.8"
607ref-cast = "1.0.24"
608regex = "1.5"
609reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "951c770a32f1998d6e999cef3e59e0013e6c4415", default-features = false, features = [
610    "charset",
611    "http2",
612    "macos-system-configuration",
613    "multipart",
614    "rustls-tls-native-roots",
615    "socks",
616    "stream",
617] }
618rsa = "0.9.6"
619runtimelib = {  git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
620    "async-dispatcher-runtime",
621] }
622rust-embed = { version = "8.4", features = ["include-exclude"] }
623rustc-hash = "2.1.0"
624rustls = { version = "0.23.26" }
625rustls-platform-verifier = "0.5.0"
626scap = { git = "https://github.com/zed-industries/scap", rev = "808aa5c45b41e8f44729d02e38fd00a2fe2722e7", default-features = false }
627schemars = { version = "1.0", features = ["indexmap2"] }
628semver = "1.0"
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"
638serde_with = "3.4.0"
639sha2 = "0.10"
640shellexpand = "2.1.0"
641shlex = "1.3.0"
642simplelog = "0.12.2"
643slotmap = "1.0.6"
644smallvec = { version = "1.6", features = ["union"] }
645smol = "2.0"
646sqlformat = "0.2"
647stacksafe = "0.1"
648streaming-iterator = "0.1"
649strsim = "0.11"
650strum = { version = "0.27.0", features = ["derive"] }
651subtle = "2.5.0"
652syn = { version = "2.0.101", features = ["full", "extra-traits"] }
653sys-locale = "0.3.1"
654sysinfo = "0.31.0"
655take-until = "0.2.0"
656tempfile = "3.20.0"
657thiserror = "2.0.12"
658tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "30c32a4522751699adeda0d5840c71c3b75ae73d" }
659time = { version = "0.3", features = [
660    "macros",
661    "parsing",
662    "serde",
663    "serde-well-known",
664    "formatting",
665] }
666tiny_http = "0.8"
667tokio = { version = "1" }
668tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
669toml = "0.8"
670tower-http = "0.4.4"
671tree-sitter = { version = "0.25.10", features = ["wasm"] }
672tree-sitter-bash = "0.25.0"
673tree-sitter-c = "0.23"
674tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
675tree-sitter-css = "0.23"
676tree-sitter-diff = "0.1.0"
677tree-sitter-elixir = "0.3"
678tree-sitter-embedded-template = "0.23.0"
679tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
680tree-sitter-go = "0.23"
681tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
682tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
683tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
684tree-sitter-html = "0.23"
685tree-sitter-jsdoc = "0.23"
686tree-sitter-json = "0.24"
687tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
688tree-sitter-python = "0.25"
689tree-sitter-regex = "0.24"
690tree-sitter-ruby = "0.23"
691tree-sitter-rust = "0.24"
692tree-sitter-typescript = "0.23"
693tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
694unicase = "2.6"
695unicode-script = "0.5.7"
696unicode-segmentation = "1.10"
697unindent = "0.2.0"
698url = "2.2"
699urlencoding = "2.1.2"
700uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
701walkdir = "2.5"
702wasm-encoder = "0.221"
703wasmparser = "0.221"
704wasmtime = { version = "29", default-features = false, features = [
705    "async",
706    "demangle",
707    "runtime",
708    "cranelift",
709    "component-model",
710    "incremental-cache",
711    "parallel-compilation",
712] }
713wasmtime-wasi = "29"
714which = "6.0.0"
715windows-core = "0.61"
716wit-component = "0.221"
717workspace-hack = "0.1.0"
718yawc = "0.2.5"
719zeroize = "1.8"
720zstd = "0.11"
721
722[workspace.dependencies.windows]
723version = "0.61"
724features = [
725    "Foundation_Numerics",
726    "Storage_Search",
727    "Storage_Streams",
728    "System_Threading",
729    "UI_ViewManagement",
730    "Wdk_System_SystemServices",
731    "Win32_Globalization",
732    "Win32_Graphics_Direct3D",
733    "Win32_Graphics_Direct3D11",
734    "Win32_Graphics_Direct3D_Fxc",
735    "Win32_Graphics_DirectComposition",
736    "Win32_Graphics_DirectWrite",
737    "Win32_Graphics_Dwm",
738    "Win32_Graphics_Dxgi",
739    "Win32_Graphics_Dxgi_Common",
740    "Win32_Graphics_Gdi",
741    "Win32_Graphics_Imaging",
742    "Win32_Graphics_Hlsl",
743    "Win32_Networking_WinSock",
744    "Win32_Security",
745    "Win32_Security_Credentials",
746    "Win32_Security_Cryptography",
747    "Win32_Storage_FileSystem",
748    "Win32_System_Com",
749    "Win32_System_Com_StructuredStorage",
750    "Win32_System_Console",
751    "Win32_System_DataExchange",
752    "Win32_System_IO",
753    "Win32_System_LibraryLoader",
754    "Win32_System_Memory",
755    "Win32_System_Ole",
756    "Win32_System_Performance",
757    "Win32_System_Pipes",
758    "Win32_System_SystemInformation",
759    "Win32_System_SystemServices",
760    "Win32_System_Threading",
761    "Win32_System_Variant",
762    "Win32_System_WinRT",
763    "Win32_UI_Controls",
764    "Win32_UI_HiDpi",
765    "Win32_UI_Input_Ime",
766    "Win32_UI_Input_KeyboardAndMouse",
767    "Win32_UI_Shell",
768    "Win32_UI_Shell_Common",
769    "Win32_UI_Shell_PropertiesSystem",
770    "Win32_UI_WindowsAndMessaging",
771]
772
773[patch.crates-io]
774notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
775notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
776windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
777
778# Makes the workspace hack crate refer to the local one, but only when you're building locally
779workspace-hack = { path = "tooling/workspace-hack" }
780
781[profile.dev]
782split-debuginfo = "unpacked"
783codegen-units = 16
784
785# mirror configuration for crates compiled for the build platform
786# (without this cargo will compile ~400 crates twice)
787[profile.dev.build-override]
788codegen-units = 16
789
790[profile.dev.package]
791taffy = { opt-level = 3 }
792cranelift-codegen = { opt-level = 3 }
793cranelift-codegen-meta = { opt-level = 3 }
794cranelift-codegen-shared = { opt-level = 3 }
795resvg = { opt-level = 3 }
796rustybuzz = { opt-level = 3 }
797ttf-parser = { opt-level = 3 }
798wasmtime-cranelift = { opt-level = 3 }
799wasmtime = { opt-level = 3 }
800# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
801activity_indicator = { codegen-units = 1 }
802assets = { codegen-units = 1 }
803breadcrumbs = { codegen-units = 1 }
804collections = { codegen-units = 1 }
805command_palette = { codegen-units = 1 }
806command_palette_hooks = { codegen-units = 1 }
807extension_cli = { codegen-units = 1 }
808feature_flags = { codegen-units = 1 }
809file_icons = { codegen-units = 1 }
810fsevent = { codegen-units = 1 }
811image_viewer = { codegen-units = 1 }
812edit_prediction_button = { codegen-units = 1 }
813install_cli = { codegen-units = 1 }
814journal = { codegen-units = 1 }
815json_schema_store = { codegen-units = 1 }
816lmstudio = { codegen-units = 1 }
817menu = { codegen-units = 1 }
818notifications = { codegen-units = 1 }
819ollama = { codegen-units = 1 }
820outline = { codegen-units = 1 }
821paths = { codegen-units = 1 }
822prettier = { codegen-units = 1 }
823project_symbols = { codegen-units = 1 }
824refineable = { codegen-units = 1 }
825release_channel = { codegen-units = 1 }
826reqwest_client = { codegen-units = 1 }
827rich_text = { codegen-units = 1 }
828semantic_version = { codegen-units = 1 }
829session = { codegen-units = 1 }
830snippet = { codegen-units = 1 }
831snippets_ui = { codegen-units = 1 }
832sqlez_macros = { codegen-units = 1 }
833story = { codegen-units = 1 }
834supermaven_api = { codegen-units = 1 }
835telemetry_events = { codegen-units = 1 }
836theme_selector = { codegen-units = 1 }
837time_format = { codegen-units = 1 }
838ui_input = { codegen-units = 1 }
839zed_actions = { codegen-units = 1 }
840
841[profile.release]
842debug = "limited"
843lto = "thin"
844codegen-units = 1
845
846[profile.release.package]
847zed = { codegen-units = 16 }
848
849[profile.release-fast]
850inherits = "release"
851debug = "full"
852lto = false
853codegen-units = 16
854
855[workspace.lints.rust]
856unexpected_cfgs = { level = "allow" }
857
858[workspace.lints.clippy]
859dbg_macro = "deny"
860todo = "deny"
861
862# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
863# Remove when the lint gets promoted to `suspicious`.
864declare_interior_mutable_const = "deny"
865
866redundant_clone = "deny"
867disallowed_methods = "deny"
868
869# We currently do not restrict any style rules
870# as it slows down shipping code to Zed.
871#
872# Running ./script/clippy can take several minutes, and so it's
873# common to skip that step and let CI do it. Any unexpected failures
874# (which also take minutes to discover) thus require switching back
875# to an old branch, manual fixing, and re-pushing.
876#
877# In the future we could improve this by either making sure
878# Zed can surface clippy errors in diagnostics (in addition to the
879# rust-analyzer errors), or by having CI fix style nits automatically.
880style = { level = "allow", priority = -1 }
881
882# Individual rules that have violations in the codebase:
883type_complexity = "allow"
884let_underscore_future = "allow"
885
886# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
887# warning on this rule produces a lot of noise.
888single_range_in_vec_init = "allow"
889
890# in Rust it can be very tedious to reduce argument count without
891# running afoul of the borrow checker.
892too_many_arguments = "allow"
893
894# We often have large enum variants yet we rarely actually bother with splitting them up.
895large_enum_variant = "allow"
896
897# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
898nonminimal_bool = "allow"
899
900[workspace.metadata.cargo-machete]
901ignored = [
902    "bindgen",
903    "cbindgen",
904    "prost_build",
905    "serde",
906    "component",
907    "documented",
908    "workspace-hack",
909]