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"
514hashbrown = "0.15.3"
515heck = "0.5"
516heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
517hex = "0.4.3"
518human_bytes = "0.4.1"
519html5ever = "0.27.0"
520http = "1.1"
521http-body = "1.0"
522hyper = "0.14"
523ignore = "0.4.22"
524image = "0.25.1"
525imara-diff = "0.1.8"
526indexmap = { version = "2.7.0", features = ["serde"] }
527indoc = "2"
528inventory = "0.3.19"
529itertools = "0.14.0"
530json_dotpath = "1.1"
531jsonschema = "0.30.0"
532jsonwebtoken = "9.3"
533jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
534jupyter-websocket-client = { git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
535libc = "0.2"
536libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
537linkify = "0.10.0"
538log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
539lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "0874f8742fe55b4dc94308c1e3c0069710d8eeaf" }
540mach2 = "0.5"
541markup5ever_rcdom = "0.3.0"
542metal = "0.29"
543minidumper = "0.8"
544moka = { version = "0.12.10", features = ["sync"] }
545naga = { version = "25.0", features = ["wgsl-in"] }
546nanoid = "0.4"
547nbformat = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
548nix = "0.29"
549num-format = "0.4.4"
550objc = "0.2"
551objc2-foundation = { version = "0.3", default-features = false, features = [
552 "NSArray",
553 "NSAttributedString",
554 "NSBundle",
555 "NSCoder",
556 "NSData",
557 "NSDate",
558 "NSDictionary",
559 "NSEnumerator",
560 "NSError",
561 "NSGeometry",
562 "NSNotification",
563 "NSNull",
564 "NSObjCRuntime",
565 "NSObject",
566 "NSProcessInfo",
567 "NSRange",
568 "NSRunLoop",
569 "NSString",
570 "NSURL",
571 "NSUndoManager",
572 "NSValue",
573 "objc2-core-foundation",
574 "std"
575] }
576open = "5.0.0"
577ordered-float = "2.1.1"
578palette = { version = "0.7.5", default-features = false, features = ["std"] }
579parking_lot = "0.12.1"
580partial-json-fixer = "0.5.3"
581parse_int = "0.9"
582pciid-parser = "0.8.0"
583pathdiff = "0.2"
584pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
585pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
586pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
587pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
588pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
589pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
590pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
591pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
592portable-pty = "0.9.0"
593postage = { version = "0.5", features = ["futures-traits"] }
594pretty_assertions = { version = "1.3.0", features = ["unstable"] }
595proc-macro2 = "1.0.93"
596profiling = "1"
597prost = "0.9"
598prost-build = "0.9"
599prost-types = "0.9"
600pulldown-cmark = { version = "0.12.0", default-features = false }
601quote = "1.0.9"
602rand = "0.9"
603rayon = "1.8"
604ref-cast = "1.0.24"
605regex = "1.5"
606reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "951c770a32f1998d6e999cef3e59e0013e6c4415", default-features = false, features = [
607 "charset",
608 "http2",
609 "macos-system-configuration",
610 "multipart",
611 "rustls-tls-native-roots",
612 "socks",
613 "stream",
614] }
615rsa = "0.9.6"
616runtimelib = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
617 "async-dispatcher-runtime",
618] }
619rust-embed = { version = "8.4", features = ["include-exclude"] }
620rustc-demangle = "0.1.23"
621rustc-hash = "2.1.0"
622rustls = { version = "0.23.26" }
623rustls-platform-verifier = "0.5.0"
624scap = { git = "https://github.com/zed-industries/scap", rev = "808aa5c45b41e8f44729d02e38fd00a2fe2722e7", default-features = false }
625schemars = { version = "1.0", features = ["indexmap2"] }
626semver = "1.0"
627serde = { version = "1.0.221", features = ["derive", "rc"] }
628serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
629serde_json_lenient = { version = "0.2", features = [
630 "preserve_order",
631 "raw_value",
632] }
633serde_path_to_error = "0.1.17"
634serde_repr = "0.1"
635serde_urlencoded = "0.7"
636serde_with = "3.4.0"
637sha2 = "0.10"
638shellexpand = "2.1.0"
639shlex = "1.3.0"
640simplelog = "0.12.2"
641slotmap = "1.0.6"
642smallvec = { version = "1.6", features = ["union"] }
643smol = "2.0"
644sqlformat = "0.2"
645stacksafe = "0.1"
646streaming-iterator = "0.1"
647strsim = "0.11"
648strum = { version = "0.27.0", features = ["derive"] }
649subtle = "2.5.0"
650syn = { version = "2.0.101", features = ["full", "extra-traits"] }
651sys-locale = "0.3.1"
652sysinfo = "0.31.0"
653take-until = "0.2.0"
654tempfile = "3.20.0"
655thiserror = "2.0.12"
656tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "30c32a4522751699adeda0d5840c71c3b75ae73d" }
657time = { version = "0.3", features = [
658 "macros",
659 "parsing",
660 "serde",
661 "serde-well-known",
662 "formatting",
663] }
664tiny_http = "0.8"
665tokio = { version = "1" }
666tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
667toml = "0.8"
668tower-http = "0.4.4"
669tree-sitter = { version = "0.25.6", features = ["wasm"] }
670tree-sitter-bash = "0.25.0"
671tree-sitter-c = "0.23"
672tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
673tree-sitter-css = "0.23"
674tree-sitter-diff = "0.1.0"
675tree-sitter-elixir = "0.3"
676tree-sitter-embedded-template = "0.23.0"
677tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
678tree-sitter-go = "0.23"
679tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
680tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
681tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
682tree-sitter-html = "0.23"
683tree-sitter-jsdoc = "0.23"
684tree-sitter-json = "0.24"
685tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
686tree-sitter-python = { git = "https://github.com/zed-industries/tree-sitter-python", rev = "218fcbf3fda3d029225f3dec005cb497d111b35e" }
687tree-sitter-regex = "0.24"
688tree-sitter-ruby = "0.23"
689tree-sitter-rust = "0.24"
690tree-sitter-typescript = "0.23"
691tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
692unicase = "2.6"
693unicode-script = "0.5.7"
694unicode-segmentation = "1.10"
695unindent = "0.2.0"
696url = "2.2"
697urlencoding = "2.1.2"
698uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
699walkdir = "2.5"
700wasm-encoder = "0.221"
701wasmparser = "0.221"
702wasmtime = { version = "29", default-features = false, features = [
703 "async",
704 "demangle",
705 "runtime",
706 "cranelift",
707 "component-model",
708 "incremental-cache",
709 "parallel-compilation",
710] }
711wasmtime-wasi = "29"
712which = "6.0.0"
713windows-core = "0.61"
714wit-component = "0.221"
715workspace-hack = "0.1.0"
716yawc = "0.2.5"
717zeroize = "1.8"
718zstd = "0.11"
719
720[workspace.dependencies.windows]
721version = "0.61"
722features = [
723 "Foundation_Numerics",
724 "Storage_Search",
725 "Storage_Streams",
726 "System_Threading",
727 "UI_ViewManagement",
728 "Wdk_System_SystemServices",
729 "Win32_Globalization",
730 "Win32_Graphics_Direct3D",
731 "Win32_Graphics_Direct3D11",
732 "Win32_Graphics_Direct3D_Fxc",
733 "Win32_Graphics_DirectComposition",
734 "Win32_Graphics_DirectWrite",
735 "Win32_Graphics_Dwm",
736 "Win32_Graphics_Dxgi",
737 "Win32_Graphics_Dxgi_Common",
738 "Win32_Graphics_Gdi",
739 "Win32_Graphics_Imaging",
740 "Win32_Graphics_Hlsl",
741 "Win32_Networking_WinSock",
742 "Win32_Security",
743 "Win32_Security_Credentials",
744 "Win32_Security_Cryptography",
745 "Win32_Storage_FileSystem",
746 "Win32_System_Com",
747 "Win32_System_Com_StructuredStorage",
748 "Win32_System_Console",
749 "Win32_System_DataExchange",
750 "Win32_System_IO",
751 "Win32_System_LibraryLoader",
752 "Win32_System_Memory",
753 "Win32_System_Ole",
754 "Win32_System_Performance",
755 "Win32_System_Pipes",
756 "Win32_System_SystemInformation",
757 "Win32_System_SystemServices",
758 "Win32_System_Threading",
759 "Win32_System_Variant",
760 "Win32_System_WinRT",
761 "Win32_UI_Controls",
762 "Win32_UI_HiDpi",
763 "Win32_UI_Input_Ime",
764 "Win32_UI_Input_KeyboardAndMouse",
765 "Win32_UI_Shell",
766 "Win32_UI_Shell_Common",
767 "Win32_UI_Shell_PropertiesSystem",
768 "Win32_UI_WindowsAndMessaging",
769]
770
771[patch.crates-io]
772notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
773notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
774windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
775
776# Makes the workspace hack crate refer to the local one, but only when you're building locally
777workspace-hack = { path = "tooling/workspace-hack" }
778
779[profile.dev]
780split-debuginfo = "unpacked"
781codegen-units = 16
782
783# mirror configuration for crates compiled for the build platform
784# (without this cargo will compile ~400 crates twice)
785[profile.dev.build-override]
786codegen-units = 16
787
788[profile.dev.package]
789taffy = { opt-level = 3 }
790cranelift-codegen = { opt-level = 3 }
791cranelift-codegen-meta = { opt-level = 3 }
792cranelift-codegen-shared = { opt-level = 3 }
793resvg = { opt-level = 3 }
794rustybuzz = { opt-level = 3 }
795ttf-parser = { opt-level = 3 }
796wasmtime-cranelift = { opt-level = 3 }
797wasmtime = { opt-level = 3 }
798# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
799activity_indicator = { codegen-units = 1 }
800assets = { codegen-units = 1 }
801breadcrumbs = { codegen-units = 1 }
802collections = { codegen-units = 1 }
803command_palette = { codegen-units = 1 }
804command_palette_hooks = { codegen-units = 1 }
805extension_cli = { codegen-units = 1 }
806feature_flags = { codegen-units = 1 }
807file_icons = { codegen-units = 1 }
808fsevent = { codegen-units = 1 }
809image_viewer = { codegen-units = 1 }
810edit_prediction_button = { codegen-units = 1 }
811install_cli = { codegen-units = 1 }
812journal = { codegen-units = 1 }
813lmstudio = { codegen-units = 1 }
814menu = { codegen-units = 1 }
815notifications = { codegen-units = 1 }
816ollama = { codegen-units = 1 }
817outline = { codegen-units = 1 }
818paths = { codegen-units = 1 }
819prettier = { codegen-units = 1 }
820project_symbols = { codegen-units = 1 }
821refineable = { codegen-units = 1 }
822release_channel = { codegen-units = 1 }
823reqwest_client = { codegen-units = 1 }
824rich_text = { codegen-units = 1 }
825semantic_version = { codegen-units = 1 }
826session = { codegen-units = 1 }
827snippet = { codegen-units = 1 }
828snippets_ui = { codegen-units = 1 }
829sqlez_macros = { codegen-units = 1 }
830story = { codegen-units = 1 }
831supermaven_api = { codegen-units = 1 }
832telemetry_events = { codegen-units = 1 }
833theme_selector = { codegen-units = 1 }
834time_format = { codegen-units = 1 }
835ui_input = { codegen-units = 1 }
836zed_actions = { codegen-units = 1 }
837
838[profile.release]
839debug = "limited"
840lto = "thin"
841codegen-units = 1
842
843[profile.release.package]
844zed = { codegen-units = 16 }
845
846[profile.release-fast]
847inherits = "release"
848debug = "full"
849lto = false
850codegen-units = 16
851
852[workspace.lints.rust]
853unexpected_cfgs = { level = "allow" }
854
855[workspace.lints.clippy]
856dbg_macro = "deny"
857todo = "deny"
858
859# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
860# Remove when the lint gets promoted to `suspicious`.
861declare_interior_mutable_const = "deny"
862
863redundant_clone = "deny"
864
865# We currently do not restrict any style rules
866# as it slows down shipping code to Zed.
867#
868# Running ./script/clippy can take several minutes, and so it's
869# common to skip that step and let CI do it. Any unexpected failures
870# (which also take minutes to discover) thus require switching back
871# to an old branch, manual fixing, and re-pushing.
872#
873# In the future we could improve this by either making sure
874# Zed can surface clippy errors in diagnostics (in addition to the
875# rust-analyzer errors), or by having CI fix style nits automatically.
876style = { level = "allow", priority = -1 }
877
878# Individual rules that have violations in the codebase:
879type_complexity = "allow"
880let_underscore_future = "allow"
881
882# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
883# warning on this rule produces a lot of noise.
884single_range_in_vec_init = "allow"
885
886# in Rust it can be very tedious to reduce argument count without
887# running afoul of the borrow checker.
888too_many_arguments = "allow"
889
890# We often have large enum variants yet we rarely actually bother with splitting them up.
891large_enum_variant = "allow"
892
893# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
894nonminimal_bool = "allow"
895
896[workspace.metadata.cargo-machete]
897ignored = [
898 "bindgen",
899 "cbindgen",
900 "prost_build",
901 "serde",
902 "component",
903 "documented",
904 "workspace-hack",
905]