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