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