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/encodings",
 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/fs_benchmarks",
 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/journal",
 93    "crates/json_schema_store",
 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_json",
153    "crates/settings_macros",
154    "crates/settings_profile_selector",
155    "crates/settings_ui",
156    "crates/snippet",
157    "crates/snippet_provider",
158    "crates/snippets_ui",
159    "crates/sqlez",
160    "crates/sqlez_macros",
161    "crates/story",
162    "crates/storybook",
163    "crates/streaming_diff",
164    "crates/sum_tree",
165    "crates/supermaven",
166    "crates/supermaven_api",
167    "crates/codestral",
168    "crates/svg_preview",
169    "crates/system_specs",
170    "crates/tab_switcher",
171    "crates/task",
172    "crates/tasks_ui",
173    "crates/telemetry",
174    "crates/telemetry_events",
175    "crates/terminal",
176    "crates/terminal_view",
177    "crates/text",
178    "crates/theme",
179    "crates/theme_extension",
180    "crates/theme_importer",
181    "crates/theme_selector",
182    "crates/time_format",
183    "crates/title_bar",
184    "crates/toolchain_selector",
185    "crates/ui",
186    "crates/ui_input",
187    "crates/ui_macros",
188    "crates/ui_prompt",
189    "crates/util",
190    "crates/util_macros",
191    "crates/vercel",
192    "crates/vim",
193    "crates/vim_mode_setting",
194    "crates/watch",
195    "crates/web_search",
196    "crates/web_search_providers",
197    "crates/workspace",
198    "crates/worktree",
199    "crates/x_ai",
200    "crates/zed",
201    "crates/zed_actions",
202    "crates/zed_env_vars",
203    "crates/zeta",
204    "crates/zeta2",
205    "crates/zeta_cli",
206    "crates/zlog",
207    "crates/zlog_settings",
208
209    #
210    # Extensions
211    #
212
213    "extensions/glsl",
214    "extensions/html",
215    "extensions/proto",
216    "extensions/slash-commands-example",
217    "extensions/test-extension",
218
219    #
220    # Tooling
221    #
222
223    "tooling/perf",
224    "tooling/xtask",
225    "crates/encodings",
226]
227default-members = ["crates/zed"]
228
229[workspace.package]
230publish = false
231edition = "2024"
232
233[workspace.dependencies]
234
235#
236# Workspace member crates
237#
238
239acp_tools = { path = "crates/acp_tools" }
240acp_thread = { path = "crates/acp_thread" }
241action_log = { path = "crates/action_log" }
242agent = { path = "crates/agent" }
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_onboarding = { path = "crates/ai_onboarding" }
248anthropic = { path = "crates/anthropic" }
249askpass = { path = "crates/askpass" }
250assets = { path = "crates/assets" }
251assistant_text_thread = { path = "crates/assistant_text_thread" }
252assistant_slash_command = { path = "crates/assistant_slash_command" }
253assistant_slash_commands = { path = "crates/assistant_slash_commands" }
254audio = { path = "crates/audio" }
255auto_update = { path = "crates/auto_update" }
256auto_update_ui = { path = "crates/auto_update_ui" }
257aws_http_client = { path = "crates/aws_http_client" }
258bedrock = { path = "crates/bedrock" }
259breadcrumbs = { path = "crates/breadcrumbs" }
260buffer_diff = { path = "crates/buffer_diff" }
261call = { path = "crates/call" }
262channel = { path = "crates/channel" }
263cli = { path = "crates/cli" }
264client = { path = "crates/client" }
265clock = { path = "crates/clock" }
266cloud_api_client = { path = "crates/cloud_api_client" }
267cloud_api_types = { path = "crates/cloud_api_types" }
268cloud_llm_client = { path = "crates/cloud_llm_client" }
269cloud_zeta2_prompt = { path = "crates/cloud_zeta2_prompt" }
270collab = { path = "crates/collab" }
271collab_ui = { path = "crates/collab_ui" }
272collections = { path = "crates/collections", version = "0.1.0" }
273command_palette = { path = "crates/command_palette" }
274command_palette_hooks = { path = "crates/command_palette_hooks" }
275component = { path = "crates/component" }
276context_server = { path = "crates/context_server" }
277copilot = { path = "crates/copilot" }
278crashes = { path = "crates/crashes" }
279credentials_provider = { path = "crates/credentials_provider" }
280crossbeam = "0.8.4"
281dap = { path = "crates/dap" }
282dap_adapters = { path = "crates/dap_adapters" }
283db = { path = "crates/db" }
284debug_adapter_extension = { path = "crates/debug_adapter_extension" }
285debugger_tools = { path = "crates/debugger_tools" }
286debugger_ui = { path = "crates/debugger_ui" }
287deepseek = { path = "crates/deepseek" }
288derive_refineable = { path = "crates/refineable/derive_refineable" }
289diagnostics = { path = "crates/diagnostics" }
290editor = { path = "crates/editor" }
291extension = { path = "crates/extension" }
292extension_host = { path = "crates/extension_host" }
293extensions_ui = { path = "crates/extensions_ui" }
294feature_flags = { path = "crates/feature_flags" }
295feedback = { path = "crates/feedback" }
296file_finder = { path = "crates/file_finder" }
297file_icons = { path = "crates/file_icons" }
298fs = { path = "crates/fs" }
299fsevent = { path = "crates/fsevent" }
300fuzzy = { path = "crates/fuzzy" }
301git = { path = "crates/git" }
302git_hosting_providers = { path = "crates/git_hosting_providers" }
303git_ui = { path = "crates/git_ui" }
304go_to_line = { path = "crates/go_to_line" }
305google_ai = { path = "crates/google_ai" }
306gpui = { path = "crates/gpui", default-features = false }
307gpui_macros = { path = "crates/gpui_macros" }
308gpui_tokio = { path = "crates/gpui_tokio" }
309html_to_markdown = { path = "crates/html_to_markdown" }
310http_client = { path = "crates/http_client" }
311http_client_tls = { path = "crates/http_client_tls" }
312icons = { path = "crates/icons" }
313image_viewer = { path = "crates/image_viewer" }
314edit_prediction = { path = "crates/edit_prediction" }
315edit_prediction_button = { path = "crates/edit_prediction_button" }
316edit_prediction_context = { path = "crates/edit_prediction_context" }
317zeta2_tools = { path = "crates/zeta2_tools" }
318encodings = {path = "crates/encodings"}
319inspector_ui = { path = "crates/inspector_ui" }
320install_cli = { path = "crates/install_cli" }
321journal = { path = "crates/journal" }
322json_schema_store = { path = "crates/json_schema_store" }
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" }
357perf = { path = "tooling/perf" }
358picker = { path = "crates/picker" }
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_json = { path = "crates/settings_json" }
384settings_macros = { path = "crates/settings_macros" }
385settings_ui = { path = "crates/settings_ui" }
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" }
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_selector = { path = "crates/theme_selector" }
409time_format = { path = "crates/time_format" }
410title_bar = { path = "crates/title_bar" }
411toolchain_selector = { path = "crates/toolchain_selector" }
412ui = { path = "crates/ui" }
413ui_input = { path = "crates/ui_input" }
414ui_macros = { path = "crates/ui_macros" }
415ui_prompt = { path = "crates/ui_prompt" }
416util = { path = "crates/util" }
417util_macros = { path = "crates/util_macros" }
418vercel = { path = "crates/vercel" }
419vim = { path = "crates/vim" }
420vim_mode_setting = { path = "crates/vim_mode_setting" }
421
422watch = { path = "crates/watch" }
423web_search = { path = "crates/web_search" }
424web_search_providers = { path = "crates/web_search_providers" }
425workspace = { path = "crates/workspace" }
426worktree = { path = "crates/worktree" }
427x_ai = { path = "crates/x_ai" }
428zed = { path = "crates/zed" }
429zed_actions = { path = "crates/zed_actions" }
430zed_env_vars = { path = "crates/zed_env_vars" }
431zeta = { path = "crates/zeta" }
432zeta2 = { path = "crates/zeta2" }
433zlog = { path = "crates/zlog" }
434zlog_settings = { path = "crates/zlog_settings" }
435
436#
437# External crates
438#
439
440agent-client-protocol = { version = "0.7.0", features = ["unstable"] }
441aho-corasick = "1.1"
442alacritty_terminal = "0.25.1-rc1"
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-lock = "2.1"
452async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
453async-recursion = "1.0.0"
454async-tar = "0.5.1"
455async-task = "4.7"
456async-trait = "0.1"
457async-tungstenite = "0.31.0"
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 = { version = "0.7.0" }
473blade-macros = { version = "0.3.0" }
474blade-util = { version = "0.3.0" }
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.0"
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"
501encoding_rs = "0.8"
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"
509gh-workflow = { git = "https://github.com/zed-industries/gh-workflow", rev = "0090c6b6ef82fff02bc8616645953e778d1acc08" }
510git2 = { version = "0.20.1", default-features = false }
511globset = "0.4"
512handlebars = "4.3"
513hashbrown = "0.15.3"
514heck = "0.5"
515heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
516hex = "0.4.3"
517human_bytes = "0.4.1"
518html5ever = "0.27.0"
519http = "1.1"
520http-body = "1.0"
521hyper = "0.14"
522ignore = "0.4.22"
523image = "0.25.1"
524imara-diff = "0.1.8"
525indexmap = { version = "2.7.0", features = ["serde"] }
526indoc = "2"
527inventory = "0.3.19"
528itertools = "0.14.0"
529json_dotpath = "1.1"
530jsonschema = "0.30.0"
531jsonwebtoken = "9.3"
532jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
533jupyter-websocket-client = {  git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
534libc = "0.2"
535libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
536linkify = "0.10.0"
537log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
538lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "b71ab4eeb27d9758be8092020a46fe33fbca4e33" }
539mach2 = "0.5"
540markup5ever_rcdom = "0.3.0"
541metal = "0.29"
542minidumper = "0.8"
543moka = { version = "0.12.10", features = ["sync"] }
544naga = { version = "25.0", features = ["wgsl-in"] }
545nanoid = "0.4"
546nbformat = {  git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
547nix = "0.29"
548num-format = "0.4.4"
549num-traits = "0.2"
550objc = "0.2"
551objc2-foundation = { version = "=0.3.1", default-features = false, features = [
552    "NSArray",
553    "NSAttributedString",
554    "NSBundle",
555    "NSCoder",
556    "NSData",
557    "NSDate",
558    "NSDictionary",
559    "NSEnumerator",
560    "NSError",
561    "NSGeometry",
562    "NSNotification",
563    "NSNull",
564    "NSObjCRuntime",
565    "NSObject",
566    "NSProcessInfo",
567    "NSRange",
568    "NSRunLoop",
569    "NSString",
570    "NSURL",
571    "NSUndoManager",
572    "NSValue",
573    "objc2-core-foundation",
574    "std"
575] }
576open = "5.0.0"
577ordered-float = "2.1.1"
578palette = { version = "0.7.5", default-features = false, features = ["std"] }
579parking_lot = "0.12.1"
580partial-json-fixer = "0.5.3"
581parse_int = "0.9"
582pciid-parser = "0.8.0"
583pathdiff = "0.2"
584pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
585pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
586pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
587pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
588pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
589pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
590pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
591pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
592portable-pty = "0.9.0"
593postage = { version = "0.5", features = ["futures-traits"] }
594pretty_assertions = { version = "1.3.0", features = ["unstable"] }
595proc-macro2 = "1.0.93"
596profiling = "1"
597prost = "0.9"
598prost-build = "0.9"
599prost-types = "0.9"
600pulldown-cmark = { version = "0.12.0", default-features = false }
601quote = "1.0.9"
602rand = "0.9"
603rayon = "1.8"
604ref-cast = "1.0.24"
605regex = "1.5"
606# WARNING: If you change this, you must also publish a new version of zed-reqwest to crates.io
607reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
608    "charset",
609    "http2",
610    "macos-system-configuration",
611    "multipart",
612    "rustls-tls-native-roots",
613    "socks",
614    "stream",
615], package = "zed-reqwest", version = "0.12.15-zed" }
616rsa = "0.9.6"
617runtimelib = {  git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
618    "async-dispatcher-runtime",
619] }
620rust-embed = { version = "8.4", features = ["include-exclude"] }
621rustc-hash = "2.1.0"
622rustls = { version = "0.23.26" }
623rustls-platform-verifier = "0.5.0"
624# WARNING: If you change this, you must also publish a new version of zed-scap to crates.io
625scap = { git = "https://github.com/zed-industries/scap", rev = "4afea48c3b002197176fb19cd0f9b180dd36eaac", default-features = false, package = "zed-scap", version = "0.0.8-zed" }
626schemars = { version = "1.0", features = ["indexmap2"] }
627semver = "1.0"
628serde = { version = "1.0.221", features = ["derive", "rc"] }
629serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
630serde_json_lenient = { version = "0.2", features = [
631    "preserve_order",
632    "raw_value",
633] }
634serde_path_to_error = "0.1.17"
635serde_repr = "0.1"
636serde_urlencoded = "0.7"
637serde_with = "3.4.0"
638sha2 = "0.10"
639shellexpand = "2.1.0"
640shlex = "1.3.0"
641simplelog = "0.12.2"
642slotmap = "1.0.6"
643smallvec = { version = "1.6", features = ["union"] }
644smol = "2.0"
645sqlformat = "0.2"
646stacksafe = "0.1"
647streaming-iterator = "0.1"
648strsim = "0.11"
649strum = { version = "0.27.2", features = ["derive"] }
650subtle = "2.5.0"
651syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
652sys-locale = "0.3.1"
653sysinfo = "0.37.0"
654take-until = "0.2.0"
655tempfile = "3.20.0"
656thiserror = "2.0.12"
657tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "30c32a4522751699adeda0d5840c71c3b75ae73d" }
658time = { version = "0.3", features = [
659    "macros",
660    "parsing",
661    "serde",
662    "serde-well-known",
663    "formatting",
664] }
665tiny_http = "0.8"
666tokio = { version = "1" }
667tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
668toml = "0.8"
669toml_edit = { version = "0.22", default-features = false, features = ["display", "parse", "serde"] }
670tower-http = "0.4.4"
671tree-sitter = { version = "0.25.10", features = ["wasm"] }
672tree-sitter-bash = "0.25.0"
673tree-sitter-c = "0.23"
674tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
675tree-sitter-css = "0.23"
676tree-sitter-diff = "0.1.0"
677tree-sitter-elixir = "0.3"
678tree-sitter-embedded-template = "0.23.0"
679tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
680tree-sitter-go = "0.23"
681tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
682tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
683tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
684tree-sitter-html = "0.23"
685tree-sitter-jsdoc = "0.23"
686tree-sitter-json = "0.24"
687tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
688tree-sitter-python = "0.25"
689tree-sitter-regex = "0.24"
690tree-sitter-ruby = "0.23"
691tree-sitter-rust = "0.24"
692tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
693tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
694unicase = "2.6"
695unicode-script = "0.5.7"
696unicode-segmentation = "1.10"
697unindent = "0.2.0"
698url = "2.2"
699urlencoding = "2.1.2"
700uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
701walkdir = "2.5"
702wasm-encoder = "0.221"
703wasmparser = "0.221"
704wasmtime = { version = "29", default-features = false, features = [
705    "async",
706    "demangle",
707    "runtime",
708    "cranelift",
709    "component-model",
710    "incremental-cache",
711    "parallel-compilation",
712] }
713wasmtime-wasi = "29"
714which = "6.0.0"
715windows-core = "0.61"
716wit-component = "0.221"
717yawc = "0.2.5"
718zeroize = "1.8"
719zstd = "0.11"
720
721[workspace.dependencies.windows]
722version = "0.61"
723features = [
724    "Foundation_Numerics",
725    "Storage_Search",
726    "Storage_Streams",
727    "System_Threading",
728    "UI_ViewManagement",
729    "Wdk_System_SystemServices",
730    "Win32_Globalization",
731    "Win32_Graphics_Direct3D",
732    "Win32_Graphics_Direct3D11",
733    "Win32_Graphics_Direct3D_Fxc",
734    "Win32_Graphics_DirectComposition",
735    "Win32_Graphics_DirectWrite",
736    "Win32_Graphics_Dwm",
737    "Win32_Graphics_Dxgi",
738    "Win32_Graphics_Dxgi_Common",
739    "Win32_Graphics_Gdi",
740    "Win32_Graphics_Imaging",
741    "Win32_Graphics_Hlsl",
742    "Win32_Networking_WinSock",
743    "Win32_Security",
744    "Win32_Security_Credentials",
745    "Win32_Security_Cryptography",
746    "Win32_Storage_FileSystem",
747    "Win32_System_Com",
748    "Win32_System_Com_StructuredStorage",
749    "Win32_System_Console",
750    "Win32_System_DataExchange",
751    "Win32_System_IO",
752    "Win32_System_LibraryLoader",
753    "Win32_System_Memory",
754    "Win32_System_Ole",
755    "Win32_System_Performance",
756    "Win32_System_Pipes",
757    "Win32_System_SystemInformation",
758    "Win32_System_SystemServices",
759    "Win32_System_Threading",
760    "Win32_System_Variant",
761    "Win32_System_WinRT",
762    "Win32_UI_Controls",
763    "Win32_UI_HiDpi",
764    "Win32_UI_Input_Ime",
765    "Win32_UI_Input_KeyboardAndMouse",
766    "Win32_UI_Shell",
767    "Win32_UI_Shell_Common",
768    "Win32_UI_Shell_PropertiesSystem",
769    "Win32_UI_WindowsAndMessaging",
770]
771
772[patch.crates-io]
773notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
774notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
775windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
776
777[profile.dev]
778split-debuginfo = "unpacked"
779# https://github.com/rust-lang/cargo/issues/16104
780incremental = false
781codegen-units = 16
782
783# mirror configuration for crates compiled for the build platform
784# (without this cargo will compile ~400 crates twice)
785[profile.dev.build-override]
786codegen-units = 16
787
788[profile.dev.package]
789taffy = { opt-level = 3 }
790cranelift-codegen = { opt-level = 3 }
791resvg = { 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 }
801feature_flags = { codegen-units = 1 }
802file_icons = { codegen-units = 1 }
803fsevent = { codegen-units = 1 }
804image_viewer = { codegen-units = 1 }
805edit_prediction_button = { codegen-units = 1 }
806install_cli = { codegen-units = 1 }
807journal = { codegen-units = 1 }
808json_schema_store = { 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"
860disallowed_methods = "deny"
861
862# We currently do not restrict any style rules
863# as it slows down shipping code to Zed.
864#
865# Running ./script/clippy can take several minutes, and so it's
866# common to skip that step and let CI do it. Any unexpected failures
867# (which also take minutes to discover) thus require switching back
868# to an old branch, manual fixing, and re-pushing.
869#
870# In the future we could improve this by either making sure
871# Zed can surface clippy errors in diagnostics (in addition to the
872# rust-analyzer errors), or by having CI fix style nits automatically.
873style = { level = "allow", priority = -1 }
874
875# Individual rules that have violations in the codebase:
876type_complexity = "allow"
877let_underscore_future = "allow"
878
879# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
880# warning on this rule produces a lot of noise.
881single_range_in_vec_init = "allow"
882
883# in Rust it can be very tedious to reduce argument count without
884# running afoul of the borrow checker.
885too_many_arguments = "allow"
886
887# We often have large enum variants yet we rarely actually bother with splitting them up.
888large_enum_variant = "allow"
889
890# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
891nonminimal_bool = "allow"
892
893[workspace.metadata.cargo-machete]
894ignored = [
895    "bindgen",
896    "cbindgen",
897    "prost_build",
898    "serde",
899    "component",
900    "documented",
901    "sea-orm-macros",
902]