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