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