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