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