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