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