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/ai_onboarding",
 13    "crates/anthropic",
 14    "crates/askpass",
 15    "crates/assets",
 16    "crates/assistant_text_thread",
 17    "crates/assistant_slash_command",
 18    "crates/assistant_slash_commands",
 19    "crates/audio",
 20    "crates/auto_update",
 21    "crates/auto_update_helper",
 22    "crates/auto_update_ui",
 23    "crates/aws_http_client",
 24    "crates/bedrock",
 25    "crates/breadcrumbs",
 26    "crates/buffer_diff",
 27    "crates/call",
 28    "crates/channel",
 29    "crates/cli",
 30    "crates/client",
 31    "crates/clock",
 32    "crates/cloud_api_client",
 33    "crates/cloud_api_types",
 34    "crates/cloud_llm_client",
 35    "crates/cloud_zeta2_prompt",
 36    "crates/collab",
 37    "crates/collab_ui",
 38    "crates/collections",
 39    "crates/command_palette",
 40    "crates/command_palette_hooks",
 41    "crates/component",
 42    "crates/context_server",
 43    "crates/copilot",
 44    "crates/crashes",
 45    "crates/credentials_provider",
 46    "crates/dap",
 47    "crates/dap_adapters",
 48    "crates/db",
 49    "crates/debug_adapter_extension",
 50    "crates/debugger_tools",
 51    "crates/debugger_ui",
 52    "crates/deepseek",
 53    "crates/denoise",
 54    "crates/diagnostics",
 55    "crates/docs_preprocessor",
 56    "crates/edit_prediction",
 57    "crates/edit_prediction_button",
 58    "crates/edit_prediction_context",
 59    "crates/zeta2_tools",
 60    "crates/editor",
 61    "crates/eval",
 62    "crates/explorer_command_injector",
 63    "crates/extension",
 64    "crates/extension_api",
 65    "crates/extension_cli",
 66    "crates/extension_host",
 67    "crates/extensions_ui",
 68    "crates/feature_flags",
 69    "crates/feedback",
 70    "crates/file_finder",
 71    "crates/file_icons",
 72    "crates/fs",
 73    "crates/fs_benchmarks",
 74    "crates/fsevent",
 75    "crates/fuzzy",
 76    "crates/git",
 77    "crates/git_hosting_providers",
 78    "crates/git_ui",
 79    "crates/go_to_line",
 80    "crates/google_ai",
 81    "crates/gpui",
 82    "crates/gpui_macros",
 83    "crates/gpui_tokio",
 84    "crates/html_to_markdown",
 85    "crates/http_client",
 86    "crates/http_client_tls",
 87    "crates/icons",
 88    "crates/image_viewer",
 89    "crates/inspector_ui",
 90    "crates/install_cli",
 91    "crates/journal",
 92    "crates/json_schema_store",
 93    "crates/keymap_editor",
 94    "crates/language",
 95    "crates/language_extension",
 96    "crates/language_model",
 97    "crates/language_models",
 98    "crates/language_onboarding",
 99    "crates/language_selector",
100    "crates/language_tools",
101    "crates/languages",
102    "crates/line_ending_selector",
103    "crates/livekit_api",
104    "crates/livekit_client",
105    "crates/lmstudio",
106    "crates/lsp",
107    "crates/markdown",
108    "crates/markdown_preview",
109    "crates/media",
110    "crates/menu",
111    "crates/migrator",
112    "crates/mistral",
113    "crates/multi_buffer",
114    "crates/nc",
115    "crates/net",
116    "crates/node_runtime",
117    "crates/notifications",
118    "crates/ollama",
119    "crates/onboarding",
120    "crates/open_ai",
121    "crates/open_router",
122    "crates/outline",
123    "crates/outline_panel",
124    "crates/panel",
125    "crates/paths",
126    "crates/picker",
127    "crates/prettier",
128    "crates/project",
129    "crates/project_panel",
130    "crates/project_symbols",
131    "crates/prompt_store",
132    "crates/proto",
133    "crates/recent_projects",
134    "crates/refineable",
135    "crates/refineable/derive_refineable",
136    "crates/release_channel",
137    "crates/scheduler",
138    "crates/remote",
139    "crates/remote_server",
140    "crates/repl",
141    "crates/reqwest_client",
142    "crates/rich_text",
143    "crates/rope",
144    "crates/rpc",
145    "crates/rules_library",
146    "crates/schema_generator",
147    "crates/search",
148    "crates/semantic_version",
149    "crates/session",
150    "crates/settings",
151    "crates/settings_json",
152    "crates/settings_macros",
153    "crates/settings_profile_selector",
154    "crates/settings_ui",
155    "crates/snippet",
156    "crates/snippet_provider",
157    "crates/snippets_ui",
158    "crates/sqlez",
159    "crates/sqlez_macros",
160    "crates/story",
161    "crates/storybook",
162    "crates/streaming_diff",
163    "crates/sum_tree",
164    "crates/supermaven",
165    "crates/supermaven_api",
166    "crates/codestral",
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/slash-commands-example",
216    "extensions/test-extension",
217
218    #
219    # Tooling
220    #
221
222    "tooling/perf",
223    "tooling/xtask",
224]
225default-members = ["crates/zed"]
226
227[workspace.package]
228publish = false
229edition = "2024"
230
231[workspace.dependencies]
232
233#
234# Workspace member crates
235#
236
237acp_tools = { path = "crates/acp_tools" }
238acp_thread = { path = "crates/acp_thread" }
239action_log = { path = "crates/action_log" }
240agent = { path = "crates/agent" }
241activity_indicator = { path = "crates/activity_indicator" }
242agent_ui = { path = "crates/agent_ui" }
243agent_settings = { path = "crates/agent_settings" }
244agent_servers = { path = "crates/agent_servers" }
245ai = { path = "crates/ai" }
246ai_onboarding = { path = "crates/ai_onboarding" }
247anthropic = { path = "crates/anthropic" }
248askpass = { path = "crates/askpass" }
249assets = { path = "crates/assets" }
250assistant_text_thread = { path = "crates/assistant_text_thread" }
251assistant_slash_command = { path = "crates/assistant_slash_command" }
252assistant_slash_commands = { path = "crates/assistant_slash_commands" }
253audio = { path = "crates/audio" }
254auto_update = { path = "crates/auto_update" }
255auto_update_helper = { path = "crates/auto_update_helper" }
256auto_update_ui = { path = "crates/auto_update_ui" }
257aws_http_client = { path = "crates/aws_http_client" }
258bedrock = { path = "crates/bedrock" }
259breadcrumbs = { path = "crates/breadcrumbs" }
260buffer_diff = { path = "crates/buffer_diff" }
261call = { path = "crates/call" }
262channel = { path = "crates/channel" }
263cli = { path = "crates/cli" }
264client = { path = "crates/client" }
265clock = { path = "crates/clock" }
266cloud_api_client = { path = "crates/cloud_api_client" }
267cloud_api_types = { path = "crates/cloud_api_types" }
268cloud_llm_client = { path = "crates/cloud_llm_client" }
269cloud_zeta2_prompt = { path = "crates/cloud_zeta2_prompt" }
270collab = { path = "crates/collab" }
271collab_ui = { path = "crates/collab_ui" }
272collections = { path = "crates/collections", version = "0.1.0" }
273command_palette = { path = "crates/command_palette" }
274command_palette_hooks = { path = "crates/command_palette_hooks" }
275component = { path = "crates/component" }
276context_server = { path = "crates/context_server" }
277copilot = { path = "crates/copilot" }
278crashes = { path = "crates/crashes" }
279credentials_provider = { path = "crates/credentials_provider" }
280crossbeam = "0.8.4"
281dap = { path = "crates/dap" }
282dap_adapters = { path = "crates/dap_adapters" }
283db = { path = "crates/db" }
284debug_adapter_extension = { path = "crates/debug_adapter_extension" }
285debugger_tools = { path = "crates/debugger_tools" }
286debugger_ui = { path = "crates/debugger_ui" }
287deepseek = { path = "crates/deepseek" }
288derive_refineable = { path = "crates/refineable/derive_refineable" }
289diagnostics = { path = "crates/diagnostics" }
290editor = { path = "crates/editor" }
291extension = { path = "crates/extension" }
292extension_host = { path = "crates/extension_host" }
293extensions_ui = { path = "crates/extensions_ui" }
294feature_flags = { path = "crates/feature_flags" }
295feedback = { path = "crates/feedback" }
296file_finder = { path = "crates/file_finder" }
297file_icons = { path = "crates/file_icons" }
298fs = { path = "crates/fs" }
299fsevent = { path = "crates/fsevent" }
300fuzzy = { path = "crates/fuzzy" }
301git = { path = "crates/git" }
302git_hosting_providers = { path = "crates/git_hosting_providers" }
303git_ui = { path = "crates/git_ui" }
304go_to_line = { path = "crates/go_to_line" }
305google_ai = { path = "crates/google_ai" }
306gpui = { path = "crates/gpui", default-features = false }
307gpui_macros = { path = "crates/gpui_macros" }
308gpui_tokio = { path = "crates/gpui_tokio" }
309html_to_markdown = { path = "crates/html_to_markdown" }
310http_client = { path = "crates/http_client" }
311http_client_tls = { path = "crates/http_client_tls" }
312icons = { path = "crates/icons" }
313image_viewer = { path = "crates/image_viewer" }
314edit_prediction = { path = "crates/edit_prediction" }
315edit_prediction_button = { path = "crates/edit_prediction_button" }
316edit_prediction_context = { path = "crates/edit_prediction_context" }
317zeta2_tools = { path = "crates/zeta2_tools" }
318inspector_ui = { path = "crates/inspector_ui" }
319install_cli = { path = "crates/install_cli" }
320journal = { path = "crates/journal" }
321json_schema_store = { path = "crates/json_schema_store" }
322keymap_editor = { path = "crates/keymap_editor" }
323language = { path = "crates/language" }
324language_extension = { path = "crates/language_extension" }
325language_model = { path = "crates/language_model" }
326language_models = { path = "crates/language_models" }
327language_onboarding = { path = "crates/language_onboarding" }
328language_selector = { path = "crates/language_selector" }
329language_tools = { path = "crates/language_tools" }
330languages = { path = "crates/languages" }
331line_ending_selector = { path = "crates/line_ending_selector" }
332livekit_api = { path = "crates/livekit_api" }
333livekit_client = { path = "crates/livekit_client" }
334lmstudio = { path = "crates/lmstudio" }
335lsp = { path = "crates/lsp" }
336markdown = { path = "crates/markdown" }
337markdown_preview = { path = "crates/markdown_preview" }
338svg_preview = { path = "crates/svg_preview" }
339media = { path = "crates/media" }
340menu = { path = "crates/menu" }
341migrator = { path = "crates/migrator" }
342mistral = { path = "crates/mistral" }
343multi_buffer = { path = "crates/multi_buffer" }
344nc = { path = "crates/nc" }
345net = { path = "crates/net" }
346node_runtime = { path = "crates/node_runtime" }
347notifications = { path = "crates/notifications" }
348ollama = { path = "crates/ollama" }
349onboarding = { path = "crates/onboarding" }
350open_ai = { path = "crates/open_ai" }
351open_router = { path = "crates/open_router", features = ["schemars"] }
352outline = { path = "crates/outline" }
353outline_panel = { path = "crates/outline_panel" }
354panel = { path = "crates/panel" }
355paths = { path = "crates/paths" }
356perf = { path = "tooling/perf" }
357picker = { path = "crates/picker" }
358plugin = { path = "crates/plugin" }
359plugin_macros = { path = "crates/plugin_macros" }
360prettier = { path = "crates/prettier" }
361settings_profile_selector = { path = "crates/settings_profile_selector" }
362project = { path = "crates/project" }
363project_panel = { path = "crates/project_panel" }
364project_symbols = { path = "crates/project_symbols" }
365prompt_store = { path = "crates/prompt_store" }
366proto = { path = "crates/proto" }
367recent_projects = { path = "crates/recent_projects" }
368refineable = { path = "crates/refineable" }
369release_channel = { path = "crates/release_channel" }
370scheduler = { path = "crates/scheduler" }
371remote = { path = "crates/remote" }
372remote_server = { path = "crates/remote_server" }
373repl = { path = "crates/repl" }
374reqwest_client = { path = "crates/reqwest_client" }
375rich_text = { path = "crates/rich_text" }
376rodio = { git = "https://github.com/RustAudio/rodio", rev ="e2074c6c2acf07b57cf717e076bdda7a9ac6e70b", features = ["wav", "playback", "wav_output", "recording"] }
377rope = { path = "crates/rope" }
378rpc = { path = "crates/rpc" }
379rules_library = { path = "crates/rules_library" }
380search = { path = "crates/search" }
381semantic_version = { path = "crates/semantic_version" }
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" }
393storybook = { path = "crates/storybook" }
394streaming_diff = { path = "crates/streaming_diff" }
395sum_tree = { path = "crates/sum_tree" }
396supermaven = { path = "crates/supermaven" }
397supermaven_api = { path = "crates/supermaven_api" }
398codestral = { path = "crates/codestral" }
399system_specs = { path = "crates/system_specs" }
400tab_switcher = { path = "crates/tab_switcher" }
401task = { path = "crates/task" }
402tasks_ui = { path = "crates/tasks_ui" }
403telemetry = { path = "crates/telemetry" }
404telemetry_events = { path = "crates/telemetry_events" }
405terminal = { path = "crates/terminal" }
406terminal_view = { path = "crates/terminal_view" }
407text = { path = "crates/text" }
408theme = { path = "crates/theme" }
409theme_extension = { path = "crates/theme_extension" }
410theme_importer = { path = "crates/theme_importer" }
411theme_selector = { path = "crates/theme_selector" }
412time_format = { path = "crates/time_format" }
413title_bar = { path = "crates/title_bar" }
414toolchain_selector = { path = "crates/toolchain_selector" }
415ui = { path = "crates/ui" }
416ui_input = { path = "crates/ui_input" }
417ui_macros = { path = "crates/ui_macros" }
418ui_prompt = { path = "crates/ui_prompt" }
419util = { path = "crates/util" }
420util_macros = { path = "crates/util_macros" }
421vercel = { path = "crates/vercel" }
422vim = { path = "crates/vim" }
423vim_mode_setting = { path = "crates/vim_mode_setting" }
424
425watch = { path = "crates/watch" }
426web_search = { path = "crates/web_search" }
427web_search_providers = { path = "crates/web_search_providers" }
428workspace = { path = "crates/workspace" }
429worktree = { path = "crates/worktree" }
430x_ai = { path = "crates/x_ai" }
431zed = { path = "crates/zed" }
432zed_actions = { path = "crates/zed_actions" }
433zed_env_vars = { path = "crates/zed_env_vars" }
434zeta = { path = "crates/zeta" }
435zeta2 = { path = "crates/zeta2" }
436zlog = { path = "crates/zlog" }
437zlog_settings = { path = "crates/zlog_settings" }
438
439#
440# External crates
441#
442
443agent-client-protocol = { version = "0.7.0", features = ["unstable"] }
444aho-corasick = "1.1"
445alacritty_terminal = "0.25.1-rc1"
446any_vec = "0.14"
447anyhow = "1.0.86"
448arrayvec = { version = "0.7.4", features = ["serde"] }
449ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
450async-compat = "0.2.1"
451async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
452async-dispatcher = "0.1"
453async-fs = "2.1"
454async-lock = "2.1"
455async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
456async-recursion = "1.0.0"
457async-tar = "0.5.1"
458async-task = "4.7"
459async-trait = "0.1"
460async-tungstenite = "0.31.0"
461async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
462aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
463aws-credential-types = { version = "1.2.2", features = [
464    "hardcoded-credentials",
465] }
466aws-sdk-bedrockruntime = { version = "1.80.0", features = [
467    "behavior-version-latest",
468] }
469aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
470aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
471backtrace = "0.3"
472base64 = "0.22"
473bincode = "1.2.1"
474bitflags = "2.6.0"
475blade-graphics = { version = "0.7.0" }
476blade-macros = { version = "0.3.0" }
477blade-util = { version = "0.3.0" }
478bytes = "1.0"
479cargo_metadata = "0.19"
480cargo_toml = "0.21"
481cfg-if = "1.0.3"
482chrono = { version = "0.4", features = ["serde"] }
483ciborium = "0.2"
484circular-buffer = "1.0"
485clap = { version = "4.4", features = ["derive"] }
486cocoa = "=0.26.0"
487cocoa-foundation = "=0.2.0"
488convert_case = "0.8.0"
489core-foundation = "=0.10.0"
490core-foundation-sys = "0.8.6"
491core-video = { version = "0.4.3", features = ["metal"] }
492cpal = "0.16"
493crash-handler = "0.6"
494criterion = { version = "0.5", features = ["html_reports"] }
495ctor = "0.4.0"
496dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
497dashmap = "6.0"
498derive_more = "0.99.17"
499dirs = "4.0"
500documented = "0.9.1"
501dotenvy = "0.15.0"
502ec4rs = "1.1"
503emojis = "0.6.1"
504env_logger = "0.11"
505exec = "0.3.1"
506fancy-regex = "0.14.0"
507fork = "0.2.0"
508futures = "0.3"
509futures-batch = "0.6.1"
510futures-lite = "1.13"
511git2 = { version = "0.20.1", default-features = false }
512globset = "0.4"
513handlebars = "4.3"
514hashbrown = "0.15.3"
515heck = "0.5"
516heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
517hex = "0.4.3"
518human_bytes = "0.4.1"
519html5ever = "0.27.0"
520http = "1.1"
521http-body = "1.0"
522hyper = "0.14"
523ignore = "0.4.22"
524image = "0.25.1"
525imara-diff = "0.1.8"
526indexmap = { version = "2.7.0", features = ["serde"] }
527indoc = "2"
528inventory = "0.3.19"
529itertools = "0.14.0"
530json_dotpath = "1.1"
531jsonschema = "0.30.0"
532jsonwebtoken = "9.3"
533jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
534jupyter-websocket-client = {  git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
535libc = "0.2"
536libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
537linkify = "0.10.0"
538log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
539lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "b71ab4eeb27d9758be8092020a46fe33fbca4e33" }
540mach2 = "0.5"
541markup5ever_rcdom = "0.3.0"
542metal = "0.29"
543minidumper = "0.8"
544moka = { version = "0.12.10", features = ["sync"] }
545naga = { version = "25.0", features = ["wgsl-in"] }
546nanoid = "0.4"
547nbformat = {  git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
548nix = "0.29"
549num-format = "0.4.4"
550num-traits = "0.2"
551objc = "0.2"
552objc2-foundation = { version = "=0.3.1", default-features = false, features = [
553    "NSArray",
554    "NSAttributedString",
555    "NSBundle",
556    "NSCoder",
557    "NSData",
558    "NSDate",
559    "NSDictionary",
560    "NSEnumerator",
561    "NSError",
562    "NSGeometry",
563    "NSNotification",
564    "NSNull",
565    "NSObjCRuntime",
566    "NSObject",
567    "NSProcessInfo",
568    "NSRange",
569    "NSRunLoop",
570    "NSString",
571    "NSURL",
572    "NSUndoManager",
573    "NSValue",
574    "objc2-core-foundation",
575    "std"
576] }
577open = "5.0.0"
578ordered-float = "2.1.1"
579palette = { version = "0.7.5", default-features = false, features = ["std"] }
580parking_lot = "0.12.1"
581partial-json-fixer = "0.5.3"
582parse_int = "0.9"
583pciid-parser = "0.8.0"
584pathdiff = "0.2"
585pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
586pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
587pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
588pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
589pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
590pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
591pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
592pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
593portable-pty = "0.9.0"
594postage = { version = "0.5", features = ["futures-traits"] }
595pretty_assertions = { version = "1.3.0", features = ["unstable"] }
596proc-macro2 = "1.0.93"
597profiling = "1"
598prost = "0.9"
599prost-build = "0.9"
600prost-types = "0.9"
601pulldown-cmark = { version = "0.12.0", default-features = false }
602quote = "1.0.9"
603rand = "0.9"
604rayon = "1.8"
605ref-cast = "1.0.24"
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 = {  git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
619    "async-dispatcher-runtime",
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 = "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.2", features = ["derive"] }
651subtle = "2.5.0"
652syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
653sys-locale = "0.3.1"
654sysinfo = "0.37.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"
670toml_edit = { version = "0.22", default-features = false, features = ["display", "parse", "serde"] }
671tower-http = "0.4.4"
672tree-sitter = { version = "0.25.10", features = ["wasm"] }
673tree-sitter-bash = "0.25.0"
674tree-sitter-c = "0.23"
675tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
676tree-sitter-css = "0.23"
677tree-sitter-diff = "0.1.0"
678tree-sitter-elixir = "0.3"
679tree-sitter-embedded-template = "0.23.0"
680tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
681tree-sitter-go = "0.23"
682tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
683tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
684tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
685tree-sitter-html = "0.23"
686tree-sitter-jsdoc = "0.23"
687tree-sitter-json = "0.24"
688tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
689tree-sitter-python = "0.25"
690tree-sitter-regex = "0.24"
691tree-sitter-ruby = "0.23"
692tree-sitter-rust = "0.24"
693tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
694tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
695unicase = "2.6"
696unicode-script = "0.5.7"
697unicode-segmentation = "1.10"
698unindent = "0.2.0"
699url = "2.2"
700urlencoding = "2.1.2"
701uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
702walkdir = "2.5"
703wasm-encoder = "0.221"
704wasmparser = "0.221"
705wasmtime = { version = "29", default-features = false, features = [
706    "async",
707    "demangle",
708    "runtime",
709    "cranelift",
710    "component-model",
711    "incremental-cache",
712    "parallel-compilation",
713] }
714wasmtime-wasi = "29"
715which = "6.0.0"
716windows-core = "0.61"
717wit-component = "0.221"
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[profile.dev]
779split-debuginfo = "unpacked"
780# https://github.com/rust-lang/cargo/issues/16104
781incremental = false
782codegen-units = 16
783
784# mirror configuration for crates compiled for the build platform
785# (without this cargo will compile ~400 crates twice)
786[profile.dev.build-override]
787codegen-units = 16
788
789[profile.dev.package]
790taffy = { opt-level = 3 }
791cranelift-codegen = { opt-level = 3 }
792cranelift-codegen-meta = { opt-level = 3 }
793cranelift-codegen-shared = { opt-level = 3 }
794resvg = { opt-level = 3 }
795rustybuzz = { opt-level = 3 }
796ttf-parser = { opt-level = 3 }
797wasmtime-cranelift = { opt-level = 3 }
798wasmtime = { opt-level = 3 }
799# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
800activity_indicator = { codegen-units = 1 }
801assets = { codegen-units = 1 }
802breadcrumbs = { codegen-units = 1 }
803collections = { codegen-units = 1 }
804command_palette = { codegen-units = 1 }
805command_palette_hooks = { codegen-units = 1 }
806extension_cli = { codegen-units = 1 }
807feature_flags = { codegen-units = 1 }
808file_icons = { codegen-units = 1 }
809fsevent = { codegen-units = 1 }
810image_viewer = { codegen-units = 1 }
811edit_prediction_button = { codegen-units = 1 }
812install_cli = { codegen-units = 1 }
813journal = { codegen-units = 1 }
814json_schema_store = { codegen-units = 1 }
815lmstudio = { codegen-units = 1 }
816menu = { codegen-units = 1 }
817notifications = { codegen-units = 1 }
818ollama = { codegen-units = 1 }
819outline = { codegen-units = 1 }
820paths = { codegen-units = 1 }
821prettier = { codegen-units = 1 }
822project_symbols = { codegen-units = 1 }
823refineable = { codegen-units = 1 }
824release_channel = { codegen-units = 1 }
825reqwest_client = { codegen-units = 1 }
826rich_text = { codegen-units = 1 }
827semantic_version = { codegen-units = 1 }
828session = { codegen-units = 1 }
829snippet = { codegen-units = 1 }
830snippets_ui = { codegen-units = 1 }
831sqlez_macros = { codegen-units = 1 }
832story = { codegen-units = 1 }
833supermaven_api = { codegen-units = 1 }
834telemetry_events = { codegen-units = 1 }
835theme_selector = { codegen-units = 1 }
836time_format = { codegen-units = 1 }
837ui_input = { codegen-units = 1 }
838zed_actions = { codegen-units = 1 }
839
840[profile.release]
841debug = "limited"
842lto = "thin"
843codegen-units = 1
844
845[profile.release.package]
846zed = { codegen-units = 16 }
847
848[profile.release-fast]
849inherits = "release"
850debug = "full"
851lto = false
852codegen-units = 16
853
854[workspace.lints.rust]
855unexpected_cfgs = { level = "allow" }
856
857[workspace.lints.clippy]
858dbg_macro = "deny"
859todo = "deny"
860
861# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
862# Remove when the lint gets promoted to `suspicious`.
863declare_interior_mutable_const = "deny"
864
865redundant_clone = "deny"
866disallowed_methods = "deny"
867
868# We currently do not restrict any style rules
869# as it slows down shipping code to Zed.
870#
871# Running ./script/clippy can take several minutes, and so it's
872# common to skip that step and let CI do it. Any unexpected failures
873# (which also take minutes to discover) thus require switching back
874# to an old branch, manual fixing, and re-pushing.
875#
876# In the future we could improve this by either making sure
877# Zed can surface clippy errors in diagnostics (in addition to the
878# rust-analyzer errors), or by having CI fix style nits automatically.
879style = { level = "allow", priority = -1 }
880
881# Individual rules that have violations in the codebase:
882type_complexity = "allow"
883let_underscore_future = "allow"
884
885# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
886# warning on this rule produces a lot of noise.
887single_range_in_vec_init = "allow"
888
889# in Rust it can be very tedious to reduce argument count without
890# running afoul of the borrow checker.
891too_many_arguments = "allow"
892
893# We often have large enum variants yet we rarely actually bother with splitting them up.
894large_enum_variant = "allow"
895
896# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
897nonminimal_bool = "allow"
898
899[workspace.metadata.cargo-machete]
900ignored = [
901    "bindgen",
902    "cbindgen",
903    "prost_build",
904    "serde",
905    "component",
906    "documented",
907    "sea-orm-macros",
908]