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/keymap_editor",
95 "crates/language",
96 "crates/language_extension",
97 "crates/language_model",
98 "crates/language_models",
99 "crates/language_onboarding",
100 "crates/language_selector",
101 "crates/language_tools",
102 "crates/languages",
103 "crates/line_ending_selector",
104 "crates/livekit_api",
105 "crates/livekit_client",
106 "crates/lmstudio",
107 "crates/lsp",
108 "crates/markdown",
109 "crates/markdown_preview",
110 "crates/media",
111 "crates/menu",
112 "crates/migrator",
113 "crates/mistral",
114 "crates/multi_buffer",
115 "crates/nc",
116 "crates/net",
117 "crates/node_runtime",
118 "crates/notifications",
119 "crates/ollama",
120 "crates/onboarding",
121 "crates/open_ai",
122 "crates/open_router",
123 "crates/outline",
124 "crates/outline_panel",
125 "crates/panel",
126 "crates/paths",
127 "crates/picker",
128 "crates/prettier",
129 "crates/project",
130 "crates/project_panel",
131 "crates/project_symbols",
132 "crates/prompt_store",
133 "crates/proto",
134 "crates/recent_projects",
135 "crates/refineable",
136 "crates/refineable/derive_refineable",
137 "crates/release_channel",
138 "crates/scheduler",
139 "crates/remote",
140 "crates/remote_server",
141 "crates/repl",
142 "crates/reqwest_client",
143 "crates/rich_text",
144 "crates/rope",
145 "crates/rpc",
146 "crates/rules_library",
147 "crates/schema_generator",
148 "crates/search",
149 "crates/semantic_version",
150 "crates/session",
151 "crates/settings",
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/svg_preview",
167 "crates/system_specs",
168 "crates/tab_switcher",
169 "crates/task",
170 "crates/tasks_ui",
171 "crates/telemetry",
172 "crates/telemetry_events",
173 "crates/terminal",
174 "crates/terminal_view",
175 "crates/text",
176 "crates/theme",
177 "crates/theme_extension",
178 "crates/theme_importer",
179 "crates/theme_selector",
180 "crates/time_format",
181 "crates/title_bar",
182 "crates/toolchain_selector",
183 "crates/ui",
184 "crates/ui_input",
185 "crates/ui_macros",
186 "crates/ui_prompt",
187 "crates/util",
188 "crates/util_macros",
189 "crates/vercel",
190 "crates/vim",
191 "crates/vim_mode_setting",
192 "crates/watch",
193 "crates/web_search",
194 "crates/web_search_providers",
195 "crates/workspace",
196 "crates/worktree",
197 "crates/x_ai",
198 "crates/zed",
199 "crates/zed_actions",
200 "crates/zed_env_vars",
201 "crates/zeta",
202 "crates/zeta2",
203 "crates/zeta_cli",
204 "crates/zlog",
205 "crates/zlog_settings",
206
207 #
208 # Extensions
209 #
210
211 "extensions/glsl",
212 "extensions/html",
213 "extensions/proto",
214 "extensions/ruff",
215 "extensions/slash-commands-example",
216 "extensions/snippets",
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" }
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" }
293diagnostics = { path = "crates/diagnostics" }
294editor = { path = "crates/editor" }
295extension = { path = "crates/extension" }
296extension_host = { path = "crates/extension_host" }
297extensions_ui = { path = "crates/extensions_ui" }
298feature_flags = { path = "crates/feature_flags" }
299feedback = { path = "crates/feedback" }
300file_finder = { path = "crates/file_finder" }
301file_icons = { path = "crates/file_icons" }
302fs = { path = "crates/fs" }
303fsevent = { path = "crates/fsevent" }
304fuzzy = { path = "crates/fuzzy" }
305git = { path = "crates/git" }
306git_hosting_providers = { path = "crates/git_hosting_providers" }
307git_ui = { path = "crates/git_ui" }
308go_to_line = { path = "crates/go_to_line" }
309google_ai = { path = "crates/google_ai" }
310gpui = { path = "crates/gpui", default-features = false }
311gpui_macros = { path = "crates/gpui_macros" }
312gpui_tokio = { path = "crates/gpui_tokio" }
313html_to_markdown = { path = "crates/html_to_markdown" }
314http_client = { path = "crates/http_client" }
315http_client_tls = { path = "crates/http_client_tls" }
316icons = { path = "crates/icons" }
317image_viewer = { path = "crates/image_viewer" }
318edit_prediction = { path = "crates/edit_prediction" }
319edit_prediction_button = { path = "crates/edit_prediction_button" }
320edit_prediction_context = { path = "crates/edit_prediction_context" }
321zeta2_tools = { path = "crates/zeta2_tools" }
322inspector_ui = { path = "crates/inspector_ui" }
323install_cli = { path = "crates/install_cli" }
324journal = { path = "crates/journal" }
325keymap_editor = { path = "crates/keymap_editor" }
326language = { path = "crates/language" }
327language_extension = { path = "crates/language_extension" }
328language_model = { path = "crates/language_model" }
329language_models = { path = "crates/language_models" }
330language_onboarding = { path = "crates/language_onboarding" }
331language_selector = { path = "crates/language_selector" }
332language_tools = { path = "crates/language_tools" }
333languages = { path = "crates/languages" }
334line_ending_selector = { path = "crates/line_ending_selector" }
335livekit_api = { path = "crates/livekit_api" }
336livekit_client = { path = "crates/livekit_client" }
337lmstudio = { path = "crates/lmstudio" }
338lsp = { path = "crates/lsp" }
339markdown = { path = "crates/markdown" }
340markdown_preview = { path = "crates/markdown_preview" }
341svg_preview = { path = "crates/svg_preview" }
342media = { path = "crates/media" }
343menu = { path = "crates/menu" }
344migrator = { path = "crates/migrator" }
345mistral = { path = "crates/mistral" }
346multi_buffer = { path = "crates/multi_buffer" }
347nc = { path = "crates/nc" }
348net = { path = "crates/net" }
349node_runtime = { path = "crates/node_runtime" }
350notifications = { path = "crates/notifications" }
351ollama = { path = "crates/ollama" }
352onboarding = { path = "crates/onboarding" }
353open_ai = { path = "crates/open_ai" }
354open_router = { path = "crates/open_router", features = ["schemars"] }
355outline = { path = "crates/outline" }
356outline_panel = { path = "crates/outline_panel" }
357panel = { path = "crates/panel" }
358paths = { path = "crates/paths" }
359perf = { path = "tooling/perf" }
360picker = { path = "crates/picker" }
361plugin = { path = "crates/plugin" }
362plugin_macros = { path = "crates/plugin_macros" }
363prettier = { path = "crates/prettier" }
364settings_profile_selector = { path = "crates/settings_profile_selector" }
365project = { path = "crates/project" }
366project_panel = { path = "crates/project_panel" }
367project_symbols = { path = "crates/project_symbols" }
368prompt_store = { path = "crates/prompt_store" }
369proto = { path = "crates/proto" }
370recent_projects = { path = "crates/recent_projects" }
371refineable = { path = "crates/refineable" }
372release_channel = { path = "crates/release_channel" }
373scheduler = { path = "crates/scheduler" }
374remote = { path = "crates/remote" }
375remote_server = { path = "crates/remote_server" }
376repl = { path = "crates/repl" }
377reqwest_client = { path = "crates/reqwest_client" }
378rich_text = { path = "crates/rich_text" }
379rodio = { git = "https://github.com/RustAudio/rodio" }
380rope = { path = "crates/rope" }
381rpc = { path = "crates/rpc" }
382rules_library = { path = "crates/rules_library" }
383search = { path = "crates/search" }
384semantic_version = { path = "crates/semantic_version" }
385session = { path = "crates/session" }
386settings = { path = "crates/settings" }
387settings_ui = { path = "crates/settings_ui" }
388snippet = { path = "crates/snippet" }
389snippet_provider = { path = "crates/snippet_provider" }
390snippets_ui = { path = "crates/snippets_ui" }
391sqlez = { path = "crates/sqlez" }
392sqlez_macros = { path = "crates/sqlez_macros" }
393story = { path = "crates/story" }
394storybook = { path = "crates/storybook" }
395streaming_diff = { path = "crates/streaming_diff" }
396sum_tree = { path = "crates/sum_tree" }
397supermaven = { path = "crates/supermaven" }
398supermaven_api = { path = "crates/supermaven_api" }
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.4.3", 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-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
455async-recursion = "1.0.0"
456async-tar = "0.5.0"
457async-task = "4.7"
458async-trait = "0.1"
459async-tungstenite = "0.29.1"
460async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
461aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
462aws-credential-types = { version = "1.2.2", features = [
463 "hardcoded-credentials",
464] }
465aws-sdk-bedrockruntime = { version = "1.80.0", features = [
466 "behavior-version-latest",
467] }
468aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
469aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
470backtrace = "0.3"
471base64 = "0.22"
472bincode = "1.2.1"
473bitflags = "2.6.0"
474blade-graphics = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
475blade-macros = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
476blade-util = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
477blake3 = "1.5.3"
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"
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"
511git2 = { version = "0.20.1", default-features = false }
512globset = "0.4"
513handlebars = "4.3"
514heck = "0.5"
515heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
516hex = "0.4.3"
517human_bytes = "0.4.1"
518html5ever = "0.27.0"
519http = "1.1"
520http-body = "1.0"
521hyper = "0.14"
522ignore = "0.4.22"
523image = "0.25.1"
524imara-diff = "0.1.8"
525indexmap = { version = "2.7.0", features = ["serde"] }
526indoc = "2"
527inventory = "0.3.19"
528itertools = "0.14.0"
529json_dotpath = "1.1"
530jsonschema = "0.30.0"
531jsonwebtoken = "9.3"
532jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
533jupyter-websocket-client = { git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
534libc = "0.2"
535libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
536linkify = "0.10.0"
537log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
538lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "0874f8742fe55b4dc94308c1e3c0069710d8eeaf" }
539mach2 = "0.5"
540markup5ever_rcdom = "0.3.0"
541metal = "0.29"
542minidumper = "0.8"
543moka = { version = "0.12.10", features = ["sync"] }
544naga = { version = "25.0", features = ["wgsl-in"] }
545nanoid = "0.4"
546nbformat = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
547nix = "0.29"
548num-format = "0.4.4"
549objc = "0.2"
550objc2-foundation = { version = "0.3", default-features = false, features = [
551 "NSArray",
552 "NSAttributedString",
553 "NSBundle",
554 "NSCoder",
555 "NSData",
556 "NSDate",
557 "NSDictionary",
558 "NSEnumerator",
559 "NSError",
560 "NSGeometry",
561 "NSNotification",
562 "NSNull",
563 "NSObjCRuntime",
564 "NSObject",
565 "NSProcessInfo",
566 "NSRange",
567 "NSRunLoop",
568 "NSString",
569 "NSURL",
570 "NSUndoManager",
571 "NSValue",
572 "objc2-core-foundation",
573 "std"
574] }
575open = "5.0.0"
576ordered-float = "2.1.1"
577palette = { version = "0.7.5", default-features = false, features = ["std"] }
578parking_lot = "0.12.1"
579partial-json-fixer = "0.5.3"
580parse_int = "0.9"
581pciid-parser = "0.8.0"
582pathdiff = "0.2"
583pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
584pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
585pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
586pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
587pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
588pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
589pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
590pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
591portable-pty = "0.9.0"
592postage = { version = "0.5", features = ["futures-traits"] }
593pretty_assertions = { version = "1.3.0", features = ["unstable"] }
594proc-macro2 = "1.0.93"
595profiling = "1"
596prost = "0.9"
597prost-build = "0.9"
598prost-types = "0.9"
599pulldown-cmark = { version = "0.12.0", default-features = false }
600quote = "1.0.9"
601rand = "0.9"
602rayon = "1.8"
603ref-cast = "1.0.24"
604regex = "1.5"
605reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "951c770a32f1998d6e999cef3e59e0013e6c4415", default-features = false, features = [
606 "charset",
607 "http2",
608 "macos-system-configuration",
609 "multipart",
610 "rustls-tls-native-roots",
611 "socks",
612 "stream",
613] }
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-demangle = "0.1.23"
620rustc-hash = "2.1.0"
621rustls = { version = "0.23.26" }
622rustls-platform-verifier = "0.5.0"
623scap = { git = "https://github.com/zed-industries/scap", rev = "808aa5c45b41e8f44729d02e38fd00a2fe2722e7", default-features = false }
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.0", features = ["derive"] }
648subtle = "2.5.0"
649syn = { version = "2.0.101", features = ["full", "extra-traits"] }
650sys-locale = "0.3.1"
651sysinfo = "0.31.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"
667tower-http = "0.4.4"
668tree-sitter = { version = "0.25.6", features = ["wasm"] }
669tree-sitter-bash = "0.25.0"
670tree-sitter-c = "0.23"
671tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
672tree-sitter-css = "0.23"
673tree-sitter-diff = "0.1.0"
674tree-sitter-elixir = "0.3"
675tree-sitter-embedded-template = "0.23.0"
676tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
677tree-sitter-go = "0.23"
678tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
679tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
680tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
681tree-sitter-html = "0.23"
682tree-sitter-jsdoc = "0.23"
683tree-sitter-json = "0.24"
684tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
685tree-sitter-python = { git = "https://github.com/zed-industries/tree-sitter-python", rev = "218fcbf3fda3d029225f3dec005cb497d111b35e" }
686tree-sitter-regex = "0.24"
687tree-sitter-ruby = "0.23"
688tree-sitter-rust = "0.24"
689tree-sitter-typescript = "0.23"
690tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
691unicase = "2.6"
692unicode-script = "0.5.7"
693unicode-segmentation = "1.10"
694unindent = "0.2.0"
695url = "2.2"
696urlencoding = "2.1.2"
697uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
698walkdir = "2.5"
699wasm-encoder = "0.221"
700wasmparser = "0.221"
701wasmtime = { version = "29", default-features = false, features = [
702 "async",
703 "demangle",
704 "runtime",
705 "cranelift",
706 "component-model",
707 "incremental-cache",
708 "parallel-compilation",
709] }
710wasmtime-wasi = "29"
711which = "6.0.0"
712windows-core = "0.61"
713wit-component = "0.221"
714workspace-hack = "0.1.0"
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# Makes the workspace hack crate refer to the local one, but only when you're building locally
776workspace-hack = { path = "tooling/workspace-hack" }
777
778[profile.dev]
779split-debuginfo = "unpacked"
780codegen-units = 16
781
782# mirror configuration for crates compiled for the build platform
783# (without this cargo will compile ~400 crates twice)
784[profile.dev.build-override]
785codegen-units = 16
786
787[profile.dev.package]
788taffy = { opt-level = 3 }
789cranelift-codegen = { opt-level = 3 }
790cranelift-codegen-meta = { opt-level = 3 }
791cranelift-codegen-shared = { opt-level = 3 }
792resvg = { opt-level = 3 }
793rustybuzz = { opt-level = 3 }
794ttf-parser = { opt-level = 3 }
795wasmtime-cranelift = { opt-level = 3 }
796wasmtime = { opt-level = 3 }
797# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
798activity_indicator = { codegen-units = 1 }
799assets = { codegen-units = 1 }
800breadcrumbs = { codegen-units = 1 }
801collections = { codegen-units = 1 }
802command_palette = { codegen-units = 1 }
803command_palette_hooks = { codegen-units = 1 }
804extension_cli = { codegen-units = 1 }
805feature_flags = { codegen-units = 1 }
806file_icons = { codegen-units = 1 }
807fsevent = { codegen-units = 1 }
808image_viewer = { codegen-units = 1 }
809edit_prediction_button = { codegen-units = 1 }
810install_cli = { codegen-units = 1 }
811journal = { codegen-units = 1 }
812lmstudio = { codegen-units = 1 }
813menu = { codegen-units = 1 }
814notifications = { codegen-units = 1 }
815ollama = { codegen-units = 1 }
816outline = { codegen-units = 1 }
817paths = { codegen-units = 1 }
818prettier = { codegen-units = 1 }
819project_symbols = { codegen-units = 1 }
820refineable = { codegen-units = 1 }
821release_channel = { codegen-units = 1 }
822reqwest_client = { codegen-units = 1 }
823rich_text = { codegen-units = 1 }
824semantic_version = { codegen-units = 1 }
825session = { codegen-units = 1 }
826snippet = { codegen-units = 1 }
827snippets_ui = { codegen-units = 1 }
828sqlez_macros = { codegen-units = 1 }
829story = { codegen-units = 1 }
830supermaven_api = { codegen-units = 1 }
831telemetry_events = { codegen-units = 1 }
832theme_selector = { codegen-units = 1 }
833time_format = { codegen-units = 1 }
834ui_input = { codegen-units = 1 }
835zed_actions = { codegen-units = 1 }
836
837[profile.release]
838debug = "limited"
839lto = "thin"
840codegen-units = 1
841
842[profile.release.package]
843zed = { codegen-units = 16 }
844
845[profile.release-fast]
846inherits = "release"
847debug = "full"
848lto = false
849codegen-units = 16
850
851[workspace.lints.rust]
852unexpected_cfgs = { level = "allow" }
853
854[workspace.lints.clippy]
855dbg_macro = "deny"
856todo = "deny"
857
858# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
859# Remove when the lint gets promoted to `suspicious`.
860declare_interior_mutable_const = "deny"
861
862redundant_clone = "deny"
863
864# We currently do not restrict any style rules
865# as it slows down shipping code to Zed.
866#
867# Running ./script/clippy can take several minutes, and so it's
868# common to skip that step and let CI do it. Any unexpected failures
869# (which also take minutes to discover) thus require switching back
870# to an old branch, manual fixing, and re-pushing.
871#
872# In the future we could improve this by either making sure
873# Zed can surface clippy errors in diagnostics (in addition to the
874# rust-analyzer errors), or by having CI fix style nits automatically.
875style = { level = "allow", priority = -1 }
876
877# Individual rules that have violations in the codebase:
878type_complexity = "allow"
879let_underscore_future = "allow"
880
881# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
882# warning on this rule produces a lot of noise.
883single_range_in_vec_init = "allow"
884
885# in Rust it can be very tedious to reduce argument count without
886# running afoul of the borrow checker.
887too_many_arguments = "allow"
888
889# We often have large enum variants yet we rarely actually bother with splitting them up.
890large_enum_variant = "allow"
891
892# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
893nonminimal_bool = "allow"
894
895[workspace.metadata.cargo-machete]
896ignored = [
897 "bindgen",
898 "cbindgen",
899 "prost_build",
900 "serde",
901 "component",
902 "documented",
903 "workspace-hack",
904]