Cargo.toml

  1[workspace]
  2resolver = "2"
  3members = [
  4    "crates/acp_tools",
  5    "crates/acp_thread",
  6    "crates/action_log",
  7    "crates/activity_indicator",
  8    "crates/agent",
  9    "crates/agent_servers",
 10    "crates/agent_settings",
 11    "crates/agent_ui",
 12    "crates/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_macros",
152    "crates/settings_profile_selector",
153    "crates/settings_ui",
154    "crates/snippet",
155    "crates/snippet_provider",
156    "crates/snippets_ui",
157    "crates/sqlez",
158    "crates/sqlez_macros",
159    "crates/story",
160    "crates/storybook",
161    "crates/streaming_diff",
162    "crates/sum_tree",
163    "crates/supermaven",
164    "crates/supermaven_api",
165    "crates/codestral",
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/zeta2",
203    "crates/zeta_cli",
204    "crates/zlog",
205    "crates/zlog_settings",
206
207    #
208    # Extensions
209    #
210
211    "extensions/glsl",
212    "extensions/html",
213    "extensions/proto",
214    "extensions/slash-commands-example",
215    "extensions/test-extension",
216
217    #
218    # Tooling
219    #
220
221    "tooling/perf",
222    "tooling/xtask",
223]
224default-members = ["crates/zed"]
225
226[workspace.package]
227publish = false
228edition = "2024"
229
230[workspace.dependencies]
231
232#
233# Workspace member crates
234#
235
236acp_tools = { path = "crates/acp_tools" }
237acp_thread = { path = "crates/acp_thread" }
238action_log = { path = "crates/action_log" }
239agent = { path = "crates/agent" }
240activity_indicator = { path = "crates/activity_indicator" }
241agent_ui = { path = "crates/agent_ui" }
242agent_settings = { path = "crates/agent_settings" }
243agent_servers = { path = "crates/agent_servers" }
244ai = { path = "crates/ai" }
245ai_onboarding = { path = "crates/ai_onboarding" }
246anthropic = { path = "crates/anthropic" }
247askpass = { path = "crates/askpass" }
248assets = { path = "crates/assets" }
249assistant_text_thread = { path = "crates/assistant_text_thread" }
250assistant_slash_command = { path = "crates/assistant_slash_command" }
251assistant_slash_commands = { path = "crates/assistant_slash_commands" }
252audio = { path = "crates/audio" }
253auto_update = { path = "crates/auto_update" }
254auto_update_helper = { path = "crates/auto_update_helper" }
255auto_update_ui = { path = "crates/auto_update_ui" }
256aws_http_client = { path = "crates/aws_http_client" }
257bedrock = { path = "crates/bedrock" }
258breadcrumbs = { path = "crates/breadcrumbs" }
259buffer_diff = { path = "crates/buffer_diff" }
260call = { path = "crates/call" }
261channel = { path = "crates/channel" }
262cli = { path = "crates/cli" }
263client = { path = "crates/client" }
264clock = { path = "crates/clock" }
265cloud_api_client = { path = "crates/cloud_api_client" }
266cloud_api_types = { path = "crates/cloud_api_types" }
267cloud_llm_client = { path = "crates/cloud_llm_client" }
268cloud_zeta2_prompt = { path = "crates/cloud_zeta2_prompt" }
269collab = { path = "crates/collab" }
270collab_ui = { path = "crates/collab_ui" }
271collections = { path = "crates/collections", version = "0.1.0" }
272command_palette = { path = "crates/command_palette" }
273command_palette_hooks = { path = "crates/command_palette_hooks" }
274component = { path = "crates/component" }
275context_server = { path = "crates/context_server" }
276copilot = { path = "crates/copilot" }
277crashes = { path = "crates/crashes" }
278credentials_provider = { path = "crates/credentials_provider" }
279crossbeam = "0.8.4"
280dap = { path = "crates/dap" }
281dap_adapters = { path = "crates/dap_adapters" }
282db = { path = "crates/db" }
283debug_adapter_extension = { path = "crates/debug_adapter_extension" }
284debugger_tools = { path = "crates/debugger_tools" }
285debugger_ui = { path = "crates/debugger_ui" }
286deepseek = { path = "crates/deepseek" }
287derive_refineable = { path = "crates/refineable/derive_refineable" }
288diagnostics = { path = "crates/diagnostics" }
289editor = { path = "crates/editor" }
290extension = { path = "crates/extension" }
291extension_host = { path = "crates/extension_host" }
292extensions_ui = { path = "crates/extensions_ui" }
293feature_flags = { path = "crates/feature_flags" }
294feedback = { path = "crates/feedback" }
295file_finder = { path = "crates/file_finder" }
296file_icons = { path = "crates/file_icons" }
297fs = { path = "crates/fs" }
298fsevent = { path = "crates/fsevent" }
299fuzzy = { path = "crates/fuzzy" }
300git = { path = "crates/git" }
301git_hosting_providers = { path = "crates/git_hosting_providers" }
302git_ui = { path = "crates/git_ui" }
303go_to_line = { path = "crates/go_to_line" }
304google_ai = { path = "crates/google_ai" }
305gpui = { path = "crates/gpui", default-features = false }
306gpui_macros = { path = "crates/gpui_macros" }
307gpui_tokio = { path = "crates/gpui_tokio" }
308html_to_markdown = { path = "crates/html_to_markdown" }
309http_client = { path = "crates/http_client" }
310http_client_tls = { path = "crates/http_client_tls" }
311icons = { path = "crates/icons" }
312image_viewer = { path = "crates/image_viewer" }
313edit_prediction = { path = "crates/edit_prediction" }
314edit_prediction_button = { path = "crates/edit_prediction_button" }
315edit_prediction_context = { path = "crates/edit_prediction_context" }
316zeta2_tools = { path = "crates/zeta2_tools" }
317inspector_ui = { path = "crates/inspector_ui" }
318install_cli = { path = "crates/install_cli" }
319journal = { path = "crates/journal" }
320json_schema_store = { path = "crates/json_schema_store" }
321keymap_editor = { path = "crates/keymap_editor" }
322language = { path = "crates/language" }
323language_extension = { path = "crates/language_extension" }
324language_model = { path = "crates/language_model" }
325language_models = { path = "crates/language_models" }
326language_onboarding = { path = "crates/language_onboarding" }
327language_selector = { path = "crates/language_selector" }
328language_tools = { path = "crates/language_tools" }
329languages = { path = "crates/languages" }
330line_ending_selector = { path = "crates/line_ending_selector" }
331livekit_api = { path = "crates/livekit_api" }
332livekit_client = { path = "crates/livekit_client" }
333lmstudio = { path = "crates/lmstudio" }
334lsp = { path = "crates/lsp" }
335markdown = { path = "crates/markdown" }
336markdown_preview = { path = "crates/markdown_preview" }
337svg_preview = { path = "crates/svg_preview" }
338media = { path = "crates/media" }
339menu = { path = "crates/menu" }
340migrator = { path = "crates/migrator" }
341mistral = { path = "crates/mistral" }
342multi_buffer = { path = "crates/multi_buffer" }
343nc = { path = "crates/nc" }
344net = { path = "crates/net" }
345node_runtime = { path = "crates/node_runtime" }
346notifications = { path = "crates/notifications" }
347ollama = { path = "crates/ollama" }
348onboarding = { path = "crates/onboarding" }
349open_ai = { path = "crates/open_ai" }
350open_router = { path = "crates/open_router", features = ["schemars"] }
351outline = { path = "crates/outline" }
352outline_panel = { path = "crates/outline_panel" }
353panel = { path = "crates/panel" }
354paths = { path = "crates/paths" }
355perf = { path = "tooling/perf" }
356picker = { path = "crates/picker" }
357plugin = { path = "crates/plugin" }
358plugin_macros = { path = "crates/plugin_macros" }
359prettier = { path = "crates/prettier" }
360settings_profile_selector = { path = "crates/settings_profile_selector" }
361project = { path = "crates/project" }
362project_panel = { path = "crates/project_panel" }
363project_symbols = { path = "crates/project_symbols" }
364prompt_store = { path = "crates/prompt_store" }
365proto = { path = "crates/proto" }
366recent_projects = { path = "crates/recent_projects" }
367refineable = { path = "crates/refineable" }
368release_channel = { path = "crates/release_channel" }
369scheduler = { path = "crates/scheduler" }
370remote = { path = "crates/remote" }
371remote_server = { path = "crates/remote_server" }
372repl = { path = "crates/repl" }
373reqwest_client = { path = "crates/reqwest_client" }
374rich_text = { path = "crates/rich_text" }
375rodio = { git = "https://github.com/RustAudio/rodio", rev ="e2074c6c2acf07b57cf717e076bdda7a9ac6e70b", features = ["wav", "playback", "wav_output", "recording"] }
376rope = { path = "crates/rope" }
377rpc = { path = "crates/rpc" }
378rules_library = { path = "crates/rules_library" }
379search = { path = "crates/search" }
380semantic_version = { path = "crates/semantic_version" }
381session = { path = "crates/session" }
382settings = { path = "crates/settings" }
383settings_macros = { path = "crates/settings_macros" }
384settings_ui = { path = "crates/settings_ui" }
385snippet = { path = "crates/snippet" }
386snippet_provider = { path = "crates/snippet_provider" }
387snippets_ui = { path = "crates/snippets_ui" }
388sqlez = { path = "crates/sqlez" }
389sqlez_macros = { path = "crates/sqlez_macros" }
390story = { path = "crates/story" }
391storybook = { path = "crates/storybook" }
392streaming_diff = { path = "crates/streaming_diff" }
393sum_tree = { path = "crates/sum_tree" }
394supermaven = { path = "crates/supermaven" }
395supermaven_api = { path = "crates/supermaven_api" }
396codestral = { path = "crates/codestral" }
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" }
433zeta2 = { path = "crates/zeta2" }
434zlog = { path = "crates/zlog" }
435zlog_settings = { path = "crates/zlog_settings" }
436
437#
438# External crates
439#
440
441agent-client-protocol = { version = "0.5.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-lock = "2.1"
453async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
454async-recursion = "1.0.0"
455async-tar = "0.5.1"
456async-task = "4.7"
457async-trait = "0.1"
458async-tungstenite = "0.31.0"
459async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
460aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
461aws-credential-types = { version = "1.2.2", features = [
462    "hardcoded-credentials",
463] }
464aws-sdk-bedrockruntime = { version = "1.80.0", features = [
465    "behavior-version-latest",
466] }
467aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
468aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
469backtrace = "0.3"
470base64 = "0.22"
471bincode = "1.2.1"
472bitflags = "2.6.0"
473blade-graphics = { version = "0.7.0" }
474blade-macros = { version = "0.3.0" }
475blade-util = { version = "0.3.0" }
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.0"
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"
512hashbrown = "0.15.3"
513heck = "0.5"
514heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
515hex = "0.4.3"
516human_bytes = "0.4.1"
517html5ever = "0.27.0"
518http = "1.1"
519http-body = "1.0"
520hyper = "0.14"
521ignore = "0.4.22"
522image = "0.25.1"
523imara-diff = "0.1.8"
524indexmap = { version = "2.7.0", features = ["serde"] }
525indoc = "2"
526inventory = "0.3.19"
527itertools = "0.14.0"
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 = "b71ab4eeb27d9758be8092020a46fe33fbca4e33" }
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"
548num-traits = "0.2"
549objc = "0.2"
550objc2-foundation = { version = "=0.3.1", default-features = false, features = [
551    "NSArray",
552    "NSAttributedString",
553    "NSBundle",
554    "NSCoder",
555    "NSData",
556    "NSDate",
557    "NSDictionary",
558    "NSEnumerator",
559    "NSError",
560    "NSGeometry",
561    "NSNotification",
562    "NSNull",
563    "NSObjCRuntime",
564    "NSObject",
565    "NSProcessInfo",
566    "NSRange",
567    "NSRunLoop",
568    "NSString",
569    "NSURL",
570    "NSUndoManager",
571    "NSValue",
572    "objc2-core-foundation",
573    "std"
574] }
575open = "5.0.0"
576ordered-float = "2.1.1"
577palette = { version = "0.7.5", default-features = false, features = ["std"] }
578parking_lot = "0.12.1"
579partial-json-fixer = "0.5.3"
580parse_int = "0.9"
581pciid-parser = "0.8.0"
582pathdiff = "0.2"
583pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
584pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
585pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
586pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
587pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
588pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
589pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
590pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
591portable-pty = "0.9.0"
592postage = { version = "0.5", features = ["futures-traits"] }
593pretty_assertions = { version = "1.3.0", features = ["unstable"] }
594proc-macro2 = "1.0.93"
595profiling = "1"
596prost = "0.9"
597prost-build = "0.9"
598prost-types = "0.9"
599pulldown-cmark = { version = "0.12.0", default-features = false }
600quote = "1.0.9"
601rand = "0.9"
602rayon = "1.8"
603ref-cast = "1.0.24"
604regex = "1.5"
605# WARNING: If you change this, you must also publish a new version of zed-reqwest to crates.io
606reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
607    "charset",
608    "http2",
609    "macos-system-configuration",
610    "multipart",
611    "rustls-tls-native-roots",
612    "socks",
613    "stream",
614], package = "zed-reqwest", version = "0.12.15-zed" }
615rsa = "0.9.6"
616runtimelib = {  git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
617    "async-dispatcher-runtime",
618] }
619rust-embed = { version = "8.4", features = ["include-exclude"] }
620rustc-hash = "2.1.0"
621rustls = { version = "0.23.26" }
622rustls-platform-verifier = "0.5.0"
623# WARNING: If you change this, you must also publish a new version of zed-scap to crates.io
624scap = { git = "https://github.com/zed-industries/scap", rev = "4afea48c3b002197176fb19cd0f9b180dd36eaac", default-features = false, package = "zed-scap", version = "0.0.8-zed" }
625schemars = { version = "1.0", features = ["indexmap2"] }
626semver = "1.0"
627serde = { version = "1.0.221", features = ["derive", "rc"] }
628serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
629serde_json_lenient = { version = "0.2", features = [
630    "preserve_order",
631    "raw_value",
632] }
633serde_path_to_error = "0.1.17"
634serde_repr = "0.1"
635serde_urlencoded = "0.7"
636serde_with = "3.4.0"
637sha2 = "0.10"
638shellexpand = "2.1.0"
639shlex = "1.3.0"
640simplelog = "0.12.2"
641slotmap = "1.0.6"
642smallvec = { version = "1.6", features = ["union"] }
643smol = "2.0"
644sqlformat = "0.2"
645stacksafe = "0.1"
646streaming-iterator = "0.1"
647strsim = "0.11"
648strum = { version = "0.27.2", features = ["derive"] }
649subtle = "2.5.0"
650syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
651sys-locale = "0.3.1"
652sysinfo = "0.37.0"
653take-until = "0.2.0"
654tempfile = "3.20.0"
655thiserror = "2.0.12"
656tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "30c32a4522751699adeda0d5840c71c3b75ae73d" }
657time = { version = "0.3", features = [
658    "macros",
659    "parsing",
660    "serde",
661    "serde-well-known",
662    "formatting",
663] }
664tiny_http = "0.8"
665tokio = { version = "1" }
666tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
667toml = "0.8"
668toml_edit = { version = "0.22", default-features = false, features = ["display", "parse", "serde"] }
669tower-http = "0.4.4"
670tree-sitter = { version = "0.25.10", features = ["wasm"] }
671tree-sitter-bash = "0.25.0"
672tree-sitter-c = "0.23"
673tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
674tree-sitter-css = "0.23"
675tree-sitter-diff = "0.1.0"
676tree-sitter-elixir = "0.3"
677tree-sitter-embedded-template = "0.23.0"
678tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
679tree-sitter-go = "0.23"
680tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
681tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
682tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
683tree-sitter-html = "0.23"
684tree-sitter-jsdoc = "0.23"
685tree-sitter-json = "0.24"
686tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
687tree-sitter-python = "0.25"
688tree-sitter-regex = "0.24"
689tree-sitter-ruby = "0.23"
690tree-sitter-rust = "0.24"
691tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
692tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
693unicase = "2.6"
694unicode-script = "0.5.7"
695unicode-segmentation = "1.10"
696unindent = "0.2.0"
697url = "2.2"
698urlencoding = "2.1.2"
699uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
700walkdir = "2.5"
701wasm-encoder = "0.221"
702wasmparser = "0.221"
703wasmtime = { version = "29", default-features = false, features = [
704    "async",
705    "demangle",
706    "runtime",
707    "cranelift",
708    "component-model",
709    "incremental-cache",
710    "parallel-compilation",
711] }
712wasmtime-wasi = "29"
713which = "6.0.0"
714windows-core = "0.61"
715wit-component = "0.221"
716yawc = "0.2.5"
717zeroize = "1.8"
718zstd = "0.11"
719
720[workspace.dependencies.windows]
721version = "0.61"
722features = [
723    "Foundation_Numerics",
724    "Storage_Search",
725    "Storage_Streams",
726    "System_Threading",
727    "UI_ViewManagement",
728    "Wdk_System_SystemServices",
729    "Win32_Globalization",
730    "Win32_Graphics_Direct3D",
731    "Win32_Graphics_Direct3D11",
732    "Win32_Graphics_Direct3D_Fxc",
733    "Win32_Graphics_DirectComposition",
734    "Win32_Graphics_DirectWrite",
735    "Win32_Graphics_Dwm",
736    "Win32_Graphics_Dxgi",
737    "Win32_Graphics_Dxgi_Common",
738    "Win32_Graphics_Gdi",
739    "Win32_Graphics_Imaging",
740    "Win32_Graphics_Hlsl",
741    "Win32_Networking_WinSock",
742    "Win32_Security",
743    "Win32_Security_Credentials",
744    "Win32_Security_Cryptography",
745    "Win32_Storage_FileSystem",
746    "Win32_System_Com",
747    "Win32_System_Com_StructuredStorage",
748    "Win32_System_Console",
749    "Win32_System_DataExchange",
750    "Win32_System_IO",
751    "Win32_System_LibraryLoader",
752    "Win32_System_Memory",
753    "Win32_System_Ole",
754    "Win32_System_Performance",
755    "Win32_System_Pipes",
756    "Win32_System_SystemInformation",
757    "Win32_System_SystemServices",
758    "Win32_System_Threading",
759    "Win32_System_Variant",
760    "Win32_System_WinRT",
761    "Win32_UI_Controls",
762    "Win32_UI_HiDpi",
763    "Win32_UI_Input_Ime",
764    "Win32_UI_Input_KeyboardAndMouse",
765    "Win32_UI_Shell",
766    "Win32_UI_Shell_Common",
767    "Win32_UI_Shell_PropertiesSystem",
768    "Win32_UI_WindowsAndMessaging",
769]
770
771[patch.crates-io]
772notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
773notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
774windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
775
776[profile.dev]
777split-debuginfo = "unpacked"
778codegen-units = 16
779
780# mirror configuration for crates compiled for the build platform
781# (without this cargo will compile ~400 crates twice)
782[profile.dev.build-override]
783codegen-units = 16
784
785[profile.dev.package]
786taffy = { opt-level = 3 }
787cranelift-codegen = { opt-level = 3 }
788cranelift-codegen-meta = { opt-level = 3 }
789cranelift-codegen-shared = { opt-level = 3 }
790resvg = { opt-level = 3 }
791rustybuzz = { opt-level = 3 }
792ttf-parser = { opt-level = 3 }
793wasmtime-cranelift = { opt-level = 3 }
794wasmtime = { opt-level = 3 }
795# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
796activity_indicator = { codegen-units = 1 }
797assets = { codegen-units = 1 }
798breadcrumbs = { codegen-units = 1 }
799collections = { codegen-units = 1 }
800command_palette = { codegen-units = 1 }
801command_palette_hooks = { codegen-units = 1 }
802extension_cli = { codegen-units = 1 }
803feature_flags = { codegen-units = 1 }
804file_icons = { codegen-units = 1 }
805fsevent = { codegen-units = 1 }
806image_viewer = { codegen-units = 1 }
807edit_prediction_button = { codegen-units = 1 }
808install_cli = { codegen-units = 1 }
809journal = { codegen-units = 1 }
810json_schema_store = { codegen-units = 1 }
811lmstudio = { codegen-units = 1 }
812menu = { codegen-units = 1 }
813notifications = { codegen-units = 1 }
814ollama = { codegen-units = 1 }
815outline = { codegen-units = 1 }
816paths = { codegen-units = 1 }
817prettier = { codegen-units = 1 }
818project_symbols = { codegen-units = 1 }
819refineable = { codegen-units = 1 }
820release_channel = { codegen-units = 1 }
821reqwest_client = { codegen-units = 1 }
822rich_text = { codegen-units = 1 }
823semantic_version = { codegen-units = 1 }
824session = { codegen-units = 1 }
825snippet = { codegen-units = 1 }
826snippets_ui = { codegen-units = 1 }
827sqlez_macros = { codegen-units = 1 }
828story = { codegen-units = 1 }
829supermaven_api = { codegen-units = 1 }
830telemetry_events = { codegen-units = 1 }
831theme_selector = { codegen-units = 1 }
832time_format = { codegen-units = 1 }
833ui_input = { codegen-units = 1 }
834zed_actions = { codegen-units = 1 }
835
836[profile.release]
837debug = "limited"
838lto = "thin"
839codegen-units = 1
840
841[profile.release.package]
842zed = { codegen-units = 16 }
843
844[profile.release-fast]
845inherits = "release"
846debug = "full"
847lto = false
848codegen-units = 16
849
850[workspace.lints.rust]
851unexpected_cfgs = { level = "allow" }
852
853[workspace.lints.clippy]
854dbg_macro = "deny"
855todo = "deny"
856
857# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
858# Remove when the lint gets promoted to `suspicious`.
859declare_interior_mutable_const = "deny"
860
861redundant_clone = "deny"
862disallowed_methods = "deny"
863
864# We currently do not restrict any style rules
865# as it slows down shipping code to Zed.
866#
867# Running ./script/clippy can take several minutes, and so it's
868# common to skip that step and let CI do it. Any unexpected failures
869# (which also take minutes to discover) thus require switching back
870# to an old branch, manual fixing, and re-pushing.
871#
872# In the future we could improve this by either making sure
873# Zed can surface clippy errors in diagnostics (in addition to the
874# rust-analyzer errors), or by having CI fix style nits automatically.
875style = { level = "allow", priority = -1 }
876
877# Individual rules that have violations in the codebase:
878type_complexity = "allow"
879let_underscore_future = "allow"
880
881# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
882# warning on this rule produces a lot of noise.
883single_range_in_vec_init = "allow"
884
885# in Rust it can be very tedious to reduce argument count without
886# running afoul of the borrow checker.
887too_many_arguments = "allow"
888
889# We often have large enum variants yet we rarely actually bother with splitting them up.
890large_enum_variant = "allow"
891
892# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
893nonminimal_bool = "allow"
894
895[workspace.metadata.cargo-machete]
896ignored = [
897    "bindgen",
898    "cbindgen",
899    "prost_build",
900    "serde",
901    "component",
902    "documented",
903    "sea-orm-macros",
904]