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/collab",
39 "crates/collab_ui",
40 "crates/collections",
41 "crates/command_palette",
42 "crates/command_palette_hooks",
43 "crates/component",
44 "crates/context_server",
45 "crates/copilot",
46 "crates/crashes",
47 "crates/credentials_provider",
48 "crates/dap",
49 "crates/dap_adapters",
50 "crates/db",
51 "crates/debug_adapter_extension",
52 "crates/debugger_tools",
53 "crates/debugger_ui",
54 "crates/deepseek",
55 "crates/denoise",
56 "crates/diagnostics",
57 "crates/docs_preprocessor",
58 "crates/edit_prediction",
59 "crates/edit_prediction_button",
60 "crates/edit_prediction_context",
61 "crates/edit_prediction_tools",
62 "crates/editor",
63 "crates/eval",
64 "crates/explorer_command_injector",
65 "crates/extension",
66 "crates/extension_api",
67 "crates/extension_cli",
68 "crates/extension_host",
69 "crates/extensions_ui",
70 "crates/feature_flags",
71 "crates/feedback",
72 "crates/file_finder",
73 "crates/file_icons",
74 "crates/fs",
75 "crates/fsevent",
76 "crates/fuzzy",
77 "crates/git",
78 "crates/git_hosting_providers",
79 "crates/git_ui",
80 "crates/go_to_line",
81 "crates/google_ai",
82 "crates/gpui",
83 "crates/gpui_macros",
84 "crates/gpui_tokio",
85 "crates/html_to_markdown",
86 "crates/http_client",
87 "crates/http_client_tls",
88 "crates/icons",
89 "crates/image_viewer",
90 "crates/inspector_ui",
91 "crates/install_cli",
92 "crates/jj",
93 "crates/jj_ui",
94 "crates/journal",
95 "crates/keymap_editor",
96 "crates/language",
97 "crates/language_extension",
98 "crates/language_model",
99 "crates/language_models",
100 "crates/language_onboarding",
101 "crates/language_selector",
102 "crates/language_tools",
103 "crates/languages",
104 "crates/line_ending_selector",
105 "crates/livekit_api",
106 "crates/livekit_client",
107 "crates/lmstudio",
108 "crates/lsp",
109 "crates/markdown",
110 "crates/markdown_preview",
111 "crates/media",
112 "crates/menu",
113 "crates/migrator",
114 "crates/mistral",
115 "crates/multi_buffer",
116 "crates/nc",
117 "crates/net",
118 "crates/node_runtime",
119 "crates/notifications",
120 "crates/ollama",
121 "crates/onboarding",
122 "crates/open_ai",
123 "crates/open_router",
124 "crates/outline",
125 "crates/outline_panel",
126 "crates/panel",
127 "crates/paths",
128 "crates/picker",
129 "crates/prettier",
130 "crates/project",
131 "crates/project_panel",
132 "crates/project_symbols",
133 "crates/prompt_store",
134 "crates/proto",
135 "crates/recent_projects",
136 "crates/refineable",
137 "crates/refineable/derive_refineable",
138 "crates/release_channel",
139 "crates/scheduler",
140 "crates/remote",
141 "crates/remote_server",
142 "crates/repl",
143 "crates/reqwest_client",
144 "crates/rich_text",
145 "crates/rope",
146 "crates/rpc",
147 "crates/rules_library",
148 "crates/schema_generator",
149 "crates/search",
150 "crates/semantic_version",
151 "crates/session",
152 "crates/settings",
153 "crates/settings_macros",
154 "crates/settings_profile_selector",
155 "crates/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/zeta_cli",
203 "crates/zlog",
204 "crates/zlog_settings",
205
206 #
207 # Extensions
208 #
209
210 "extensions/glsl",
211 "extensions/html",
212 "extensions/proto",
213 "extensions/ruff",
214 "extensions/slash-commands-example",
215 "extensions/snippets",
216 "extensions/test-extension",
217
218 #
219 # Tooling
220 #
221
222 "tooling/perf",
223 "tooling/workspace-hack",
224 "tooling/xtask",
225]
226default-members = ["crates/zed"]
227
228[workspace.package]
229publish = false
230edition = "2024"
231
232[workspace.dependencies]
233
234#
235# Workspace member crates
236#
237
238acp_tools = { path = "crates/acp_tools" }
239acp_thread = { path = "crates/acp_thread" }
240action_log = { path = "crates/action_log" }
241agent = { path = "crates/agent" }
242agent2 = { path = "crates/agent2" }
243activity_indicator = { path = "crates/activity_indicator" }
244agent_ui = { path = "crates/agent_ui" }
245agent_settings = { path = "crates/agent_settings" }
246agent_servers = { path = "crates/agent_servers" }
247ai = { path = "crates/ai" }
248ai_onboarding = { path = "crates/ai_onboarding" }
249anthropic = { path = "crates/anthropic" }
250askpass = { path = "crates/askpass" }
251assets = { path = "crates/assets" }
252assistant_context = { path = "crates/assistant_context" }
253assistant_slash_command = { path = "crates/assistant_slash_command" }
254assistant_slash_commands = { path = "crates/assistant_slash_commands" }
255assistant_tool = { path = "crates/assistant_tool" }
256assistant_tools = { path = "crates/assistant_tools" }
257audio = { path = "crates/audio" }
258auto_update = { path = "crates/auto_update" }
259auto_update_helper = { path = "crates/auto_update_helper" }
260auto_update_ui = { path = "crates/auto_update_ui" }
261aws_http_client = { path = "crates/aws_http_client" }
262bedrock = { path = "crates/bedrock" }
263breadcrumbs = { path = "crates/breadcrumbs" }
264buffer_diff = { path = "crates/buffer_diff" }
265call = { path = "crates/call" }
266channel = { path = "crates/channel" }
267cli = { path = "crates/cli" }
268client = { path = "crates/client" }
269clock = { path = "crates/clock" }
270cloud_api_client = { path = "crates/cloud_api_client" }
271cloud_api_types = { path = "crates/cloud_api_types" }
272cloud_llm_client = { path = "crates/cloud_llm_client" }
273collab = { path = "crates/collab" }
274collab_ui = { path = "crates/collab_ui" }
275collections = { path = "crates/collections" }
276command_palette = { path = "crates/command_palette" }
277command_palette_hooks = { path = "crates/command_palette_hooks" }
278component = { path = "crates/component" }
279context_server = { path = "crates/context_server" }
280copilot = { path = "crates/copilot" }
281crashes = { path = "crates/crashes" }
282credentials_provider = { path = "crates/credentials_provider" }
283crossbeam = "0.8.4"
284dap = { path = "crates/dap" }
285dap_adapters = { path = "crates/dap_adapters" }
286db = { path = "crates/db" }
287debug_adapter_extension = { path = "crates/debug_adapter_extension" }
288debugger_tools = { path = "crates/debugger_tools" }
289debugger_ui = { path = "crates/debugger_ui" }
290deepseek = { path = "crates/deepseek" }
291diagnostics = { path = "crates/diagnostics" }
292editor = { path = "crates/editor" }
293extension = { path = "crates/extension" }
294extension_host = { path = "crates/extension_host" }
295extensions_ui = { path = "crates/extensions_ui" }
296feature_flags = { path = "crates/feature_flags" }
297feedback = { path = "crates/feedback" }
298file_finder = { path = "crates/file_finder" }
299file_icons = { path = "crates/file_icons" }
300fs = { path = "crates/fs" }
301fsevent = { path = "crates/fsevent" }
302fuzzy = { path = "crates/fuzzy" }
303git = { path = "crates/git" }
304git_hosting_providers = { path = "crates/git_hosting_providers" }
305git_ui = { path = "crates/git_ui" }
306go_to_line = { path = "crates/go_to_line" }
307google_ai = { path = "crates/google_ai" }
308gpui = { path = "crates/gpui", default-features = false }
309gpui_macros = { path = "crates/gpui_macros" }
310gpui_tokio = { path = "crates/gpui_tokio" }
311html_to_markdown = { path = "crates/html_to_markdown" }
312http_client = { path = "crates/http_client" }
313http_client_tls = { path = "crates/http_client_tls" }
314icons = { path = "crates/icons" }
315image_viewer = { path = "crates/image_viewer" }
316edit_prediction = { path = "crates/edit_prediction" }
317edit_prediction_button = { path = "crates/edit_prediction_button" }
318edit_prediction_context = { path = "crates/edit_prediction_context" }
319edit_prediction_tools = { path = "crates/edit_prediction_tools" }
320inspector_ui = { path = "crates/inspector_ui" }
321install_cli = { path = "crates/install_cli" }
322jj = { path = "crates/jj" }
323jj_ui = { path = "crates/jj_ui" }
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", branch = "better_wav_output"}
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" }
435zlog = { path = "crates/zlog" }
436zlog_settings = { path = "crates/zlog_settings" }
437
438#
439# External crates
440#
441
442agent-client-protocol = { version = "0.4.0", features = ["unstable"] }
443aho-corasick = "1.1"
444alacritty_terminal = "0.25.1-rc1"
445any_vec = "0.14"
446anyhow = "1.0.86"
447arrayvec = { version = "0.7.4", features = ["serde"] }
448ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
449async-compat = "0.2.1"
450async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
451async-dispatcher = "0.1"
452async-fs = "2.1"
453async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
454async-recursion = "1.0.0"
455async-tar = "0.5.0"
456async-task = "4.7"
457async-trait = "0.1"
458async-tungstenite = "0.29.1"
459async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
460aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
461aws-credential-types = { version = "1.2.2", features = [
462 "hardcoded-credentials",
463] }
464aws-sdk-bedrockruntime = { version = "1.80.0", features = [
465 "behavior-version-latest",
466] }
467aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
468aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
469backtrace = "0.3"
470base64 = "0.22"
471bincode = "1.2.1"
472bitflags = "2.6.0"
473blade-graphics = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
474blade-macros = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
475blade-util = { git = "https://github.com/kvark/blade", rev = "bfa594ea697d4b6326ea29f747525c85ecf933b9" }
476blake3 = "1.5.3"
477bytes = "1.0"
478cargo_metadata = "0.19"
479cargo_toml = "0.21"
480cfg-if = "1.0.3"
481chrono = { version = "0.4", features = ["serde"] }
482ciborium = "0.2"
483circular-buffer = "1.0"
484clap = { version = "4.4", features = ["derive"] }
485cocoa = "0.26"
486cocoa-foundation = "0.2.0"
487convert_case = "0.8.0"
488core-foundation = "0.10.0"
489core-foundation-sys = "0.8.6"
490core-video = { version = "0.4.3", features = ["metal"] }
491cpal = "0.16"
492crash-handler = "0.6"
493criterion = { version = "0.5", features = ["html_reports"] }
494ctor = "0.4.0"
495dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
496dashmap = "6.0"
497derive_more = "0.99.17"
498dirs = "4.0"
499documented = "0.9.1"
500dotenvy = "0.15.0"
501ec4rs = "1.1"
502emojis = "0.6.1"
503env_logger = "0.11"
504exec = "0.3.1"
505fancy-regex = "0.14.0"
506fork = "0.2.0"
507futures = "0.3"
508futures-batch = "0.6.1"
509futures-lite = "1.13"
510git2 = { version = "0.20.1", default-features = false }
511globset = "0.4"
512handlebars = "4.3"
513heck = "0.5"
514heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
515hex = "0.4.3"
516human_bytes = "0.4.1"
517html5ever = "0.27.0"
518http = "1.1"
519http-body = "1.0"
520hyper = "0.14"
521ignore = "0.4.22"
522image = "0.25.1"
523imara-diff = "0.1.8"
524indexmap = { version = "2.7.0", features = ["serde"] }
525indoc = "2"
526inventory = "0.3.19"
527itertools = "0.14.0"
528jj-lib = { git = "https://github.com/jj-vcs/jj", rev = "e18eb8e05efaa153fad5ef46576af145bba1807f" }
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"
716zstd = "0.11"
717
718[workspace.dependencies.windows]
719version = "0.61"
720features = [
721 "Foundation_Numerics",
722 "Storage_Search",
723 "Storage_Streams",
724 "System_Threading",
725 "UI_ViewManagement",
726 "Wdk_System_SystemServices",
727 "Win32_Globalization",
728 "Win32_Graphics_Direct3D",
729 "Win32_Graphics_Direct3D11",
730 "Win32_Graphics_Direct3D_Fxc",
731 "Win32_Graphics_DirectComposition",
732 "Win32_Graphics_DirectWrite",
733 "Win32_Graphics_Dwm",
734 "Win32_Graphics_Dxgi",
735 "Win32_Graphics_Dxgi_Common",
736 "Win32_Graphics_Gdi",
737 "Win32_Graphics_Imaging",
738 "Win32_Graphics_Hlsl",
739 "Win32_Networking_WinSock",
740 "Win32_Security",
741 "Win32_Security_Credentials",
742 "Win32_Storage_FileSystem",
743 "Win32_System_Com",
744 "Win32_System_Com_StructuredStorage",
745 "Win32_System_Console",
746 "Win32_System_DataExchange",
747 "Win32_System_IO",
748 "Win32_System_LibraryLoader",
749 "Win32_System_Memory",
750 "Win32_System_Ole",
751 "Win32_System_Performance",
752 "Win32_System_Pipes",
753 "Win32_System_SystemInformation",
754 "Win32_System_SystemServices",
755 "Win32_System_Threading",
756 "Win32_System_Variant",
757 "Win32_System_WinRT",
758 "Win32_UI_Controls",
759 "Win32_UI_HiDpi",
760 "Win32_UI_Input_Ime",
761 "Win32_UI_Input_KeyboardAndMouse",
762 "Win32_UI_Shell",
763 "Win32_UI_Shell_Common",
764 "Win32_UI_Shell_PropertiesSystem",
765 "Win32_UI_WindowsAndMessaging",
766]
767
768[patch.crates-io]
769notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
770notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
771windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
772
773# Makes the workspace hack crate refer to the local one, but only when you're building locally
774workspace-hack = { path = "tooling/workspace-hack" }
775
776[profile.dev]
777split-debuginfo = "unpacked"
778codegen-units = 16
779
780# mirror configuration for crates compiled for the build platform
781# (without this cargo will compile ~400 crates twice)
782[profile.dev.build-override]
783codegen-units = 16
784
785[profile.dev.package]
786taffy = { opt-level = 3 }
787cranelift-codegen = { opt-level = 3 }
788cranelift-codegen-meta = { opt-level = 3 }
789cranelift-codegen-shared = { opt-level = 3 }
790resvg = { opt-level = 3 }
791rustybuzz = { opt-level = 3 }
792ttf-parser = { opt-level = 3 }
793wasmtime-cranelift = { opt-level = 3 }
794wasmtime = { opt-level = 3 }
795# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
796activity_indicator = { codegen-units = 1 }
797assets = { codegen-units = 1 }
798breadcrumbs = { codegen-units = 1 }
799collections = { codegen-units = 1 }
800command_palette = { codegen-units = 1 }
801command_palette_hooks = { codegen-units = 1 }
802extension_cli = { codegen-units = 1 }
803feature_flags = { codegen-units = 1 }
804file_icons = { codegen-units = 1 }
805fsevent = { codegen-units = 1 }
806image_viewer = { codegen-units = 1 }
807edit_prediction_button = { codegen-units = 1 }
808install_cli = { codegen-units = 1 }
809journal = { codegen-units = 1 }
810lmstudio = { codegen-units = 1 }
811menu = { codegen-units = 1 }
812notifications = { codegen-units = 1 }
813ollama = { codegen-units = 1 }
814outline = { codegen-units = 1 }
815paths = { codegen-units = 1 }
816prettier = { codegen-units = 1 }
817project_symbols = { codegen-units = 1 }
818refineable = { codegen-units = 1 }
819release_channel = { codegen-units = 1 }
820reqwest_client = { codegen-units = 1 }
821rich_text = { codegen-units = 1 }
822semantic_version = { codegen-units = 1 }
823session = { codegen-units = 1 }
824snippet = { codegen-units = 1 }
825snippets_ui = { codegen-units = 1 }
826sqlez_macros = { codegen-units = 1 }
827story = { codegen-units = 1 }
828supermaven_api = { codegen-units = 1 }
829telemetry_events = { codegen-units = 1 }
830theme_selector = { codegen-units = 1 }
831time_format = { codegen-units = 1 }
832ui_input = { codegen-units = 1 }
833zed_actions = { codegen-units = 1 }
834
835[profile.release]
836debug = "limited"
837lto = "thin"
838codegen-units = 1
839
840[profile.release.package]
841zed = { codegen-units = 16 }
842
843[profile.release-fast]
844inherits = "release"
845debug = "full"
846lto = false
847codegen-units = 16
848
849[workspace.lints.rust]
850unexpected_cfgs = { level = "allow" }
851
852[workspace.lints.clippy]
853dbg_macro = "deny"
854todo = "deny"
855
856# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
857# Remove when the lint gets promoted to `suspicious`.
858declare_interior_mutable_const = "deny"
859
860redundant_clone = "deny"
861
862# We currently do not restrict any style rules
863# as it slows down shipping code to Zed.
864#
865# Running ./script/clippy can take several minutes, and so it's
866# common to skip that step and let CI do it. Any unexpected failures
867# (which also take minutes to discover) thus require switching back
868# to an old branch, manual fixing, and re-pushing.
869#
870# In the future we could improve this by either making sure
871# Zed can surface clippy errors in diagnostics (in addition to the
872# rust-analyzer errors), or by having CI fix style nits automatically.
873style = { level = "allow", priority = -1 }
874
875# Individual rules that have violations in the codebase:
876type_complexity = "allow"
877let_underscore_future = "allow"
878
879# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
880# warning on this rule produces a lot of noise.
881single_range_in_vec_init = "allow"
882
883# in Rust it can be very tedious to reduce argument count without
884# running afoul of the borrow checker.
885too_many_arguments = "allow"
886
887# We often have large enum variants yet we rarely actually bother with splitting them up.
888large_enum_variant = "allow"
889
890# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
891nonminimal_bool = "allow"
892
893[workspace.metadata.cargo-machete]
894ignored = [
895 "bindgen",
896 "cbindgen",
897 "prost_build",
898 "serde",
899 "component",
900 "documented",
901 "workspace-hack",
902]