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