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/explorer_command_injector",
63 "crates/extension",
64 "crates/extension_api",
65 "crates/extension_cli",
66 "crates/extension_host",
67 "crates/extensions_ui",
68 "crates/feature_flags",
69 "crates/feedback",
70 "crates/file_finder",
71 "crates/file_icons",
72 "crates/fs",
73 "crates/fs_benchmarks",
74 "crates/fsevent",
75 "crates/fuzzy",
76 "crates/git",
77 "crates/git_hosting_providers",
78 "crates/git_ui",
79 "crates/go_to_line",
80 "crates/google_ai",
81 "crates/gpui",
82 "crates/gpui_macros",
83 "crates/gpui_tokio",
84 "crates/html_to_markdown",
85 "crates/http_client",
86 "crates/http_client_tls",
87 "crates/icons",
88 "crates/image_viewer",
89 "crates/inspector_ui",
90 "crates/install_cli",
91 "crates/journal",
92 "crates/json_schema_store",
93 "crates/keymap_editor",
94 "crates/language",
95 "crates/language_extension",
96 "crates/language_model",
97 "crates/language_models",
98 "crates/language_onboarding",
99 "crates/language_selector",
100 "crates/language_tools",
101 "crates/languages",
102 "crates/line_ending_selector",
103 "crates/livekit_api",
104 "crates/livekit_client",
105 "crates/lmstudio",
106 "crates/lsp",
107 "crates/markdown",
108 "crates/markdown_preview",
109 "crates/media",
110 "crates/menu",
111 "crates/migrator",
112 "crates/mistral",
113 "crates/miniprofiler_ui",
114 "crates/multi_buffer",
115 "crates/nc",
116 "crates/net",
117 "crates/node_runtime",
118 "crates/notifications",
119 "crates/ollama",
120 "crates/onboarding",
121 "crates/open_ai",
122 "crates/open_router",
123 "crates/outline",
124 "crates/outline_panel",
125 "crates/panel",
126 "crates/paths",
127 "crates/picker",
128 "crates/prettier",
129 "crates/project",
130 "crates/project_benchmarks",
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_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/zeta2",
206 "crates/zeta_cli",
207 "crates/zlog",
208 "crates/zlog_settings",
209
210 #
211 # Extensions
212 #
213
214 "extensions/glsl",
215 "extensions/html",
216 "extensions/proto",
217 "extensions/slash-commands-example",
218 "extensions/test-extension",
219
220 #
221 # Tooling
222 #
223
224 "tooling/perf",
225 "tooling/xtask",
226]
227default-members = ["crates/zed"]
228
229[workspace.package]
230publish = false
231edition = "2024"
232
233[workspace.dependencies]
234
235#
236# Workspace member crates
237#
238
239acp_tools = { path = "crates/acp_tools" }
240acp_thread = { path = "crates/acp_thread" }
241action_log = { path = "crates/action_log" }
242agent = { path = "crates/agent" }
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_text_thread = { path = "crates/assistant_text_thread" }
253assistant_slash_command = { path = "crates/assistant_slash_command" }
254assistant_slash_commands = { path = "crates/assistant_slash_commands" }
255audio = { path = "crates/audio" }
256auto_update = { path = "crates/auto_update" }
257auto_update_helper = { path = "crates/auto_update_helper" }
258auto_update_ui = { path = "crates/auto_update_ui" }
259aws_http_client = { path = "crates/aws_http_client" }
260bedrock = { path = "crates/bedrock" }
261breadcrumbs = { path = "crates/breadcrumbs" }
262buffer_diff = { path = "crates/buffer_diff" }
263call = { path = "crates/call" }
264channel = { path = "crates/channel" }
265cli = { path = "crates/cli" }
266client = { path = "crates/client" }
267clock = { path = "crates/clock" }
268cloud_api_client = { path = "crates/cloud_api_client" }
269cloud_api_types = { path = "crates/cloud_api_types" }
270cloud_llm_client = { path = "crates/cloud_llm_client" }
271cloud_zeta2_prompt = { path = "crates/cloud_zeta2_prompt" }
272collab = { path = "crates/collab" }
273collab_ui = { path = "crates/collab_ui" }
274collections = { path = "crates/collections", version = "0.1.0" }
275command_palette = { path = "crates/command_palette" }
276command_palette_hooks = { path = "crates/command_palette_hooks" }
277component = { path = "crates/component" }
278context_server = { path = "crates/context_server" }
279copilot = { path = "crates/copilot" }
280crashes = { path = "crates/crashes" }
281credentials_provider = { path = "crates/credentials_provider" }
282crossbeam = "0.8.4"
283dap = { path = "crates/dap" }
284dap_adapters = { path = "crates/dap_adapters" }
285db = { path = "crates/db" }
286debug_adapter_extension = { path = "crates/debug_adapter_extension" }
287debugger_tools = { path = "crates/debugger_tools" }
288debugger_ui = { path = "crates/debugger_ui" }
289deepseek = { path = "crates/deepseek" }
290derive_refineable = { path = "crates/refineable/derive_refineable" }
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" }
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" }
384semantic_version = { path = "crates/semantic_version" }
385session = { path = "crates/session" }
386settings = { path = "crates/settings" }
387settings_json = { path = "crates/settings_json" }
388settings_macros = { path = "crates/settings_macros" }
389settings_ui = { path = "crates/settings_ui" }
390snippet = { path = "crates/snippet" }
391snippet_provider = { path = "crates/snippet_provider" }
392snippets_ui = { path = "crates/snippets_ui" }
393sqlez = { path = "crates/sqlez" }
394sqlez_macros = { path = "crates/sqlez_macros" }
395story = { path = "crates/story" }
396storybook = { path = "crates/storybook" }
397streaming_diff = { path = "crates/streaming_diff" }
398sum_tree = { path = "crates/sum_tree" }
399supermaven = { path = "crates/supermaven" }
400supermaven_api = { path = "crates/supermaven_api" }
401codestral = { path = "crates/codestral" }
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.7.0", 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-lock = "2.1"
458async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
459async-recursion = "1.0.0"
460async-tar = "0.5.1"
461async-task = "4.7"
462async-trait = "0.1"
463async-tungstenite = "0.31.0"
464async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
465aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
466aws-credential-types = { version = "1.2.2", features = [
467 "hardcoded-credentials",
468] }
469aws-sdk-bedrockruntime = { version = "1.80.0", features = [
470 "behavior-version-latest",
471] }
472aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
473aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
474backtrace = "0.3"
475base64 = "0.22"
476bincode = "1.2.1"
477bitflags = "2.6.0"
478blade-graphics = { version = "0.7.0" }
479blade-macros = { version = "0.3.0" }
480blade-util = { version = "0.3.0" }
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", "wrap_help"] }
489cocoa = "=0.26.0"
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.4.0"
511futures = "0.3"
512futures-batch = "0.6.1"
513futures-lite = "1.13"
514gh-workflow = { git = "https://github.com/zed-industries/gh-workflow", rev = "3eaa84abca0778eb54272f45a312cb24f9a0b435" }
515git2 = { version = "0.20.1", default-features = false }
516globset = "0.4"
517handlebars = "4.3"
518hashbrown = "0.15.3"
519heck = "0.5"
520heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
521hex = "0.4.3"
522human_bytes = "0.4.1"
523html5ever = "0.27.0"
524http = "1.1"
525http-body = "1.0"
526hyper = "0.14"
527ignore = "0.4.22"
528image = "0.25.1"
529imara-diff = "0.1.8"
530indexmap = { version = "2.7.0", features = ["serde"] }
531indoc = "2"
532inventory = "0.3.19"
533itertools = "0.14.0"
534json_dotpath = "1.1"
535jsonschema = "0.30.0"
536jsonwebtoken = "9.3"
537jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
538jupyter-websocket-client = { git = "https://github.com/ConradIrwin/runtimed" ,rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
539libc = "0.2"
540libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
541linkify = "0.10.0"
542log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
543lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "b71ab4eeb27d9758be8092020a46fe33fbca4e33" }
544mach2 = "0.5"
545markup5ever_rcdom = "0.3.0"
546metal = "0.29"
547minidumper = "0.8"
548moka = { version = "0.12.10", features = ["sync"] }
549naga = { version = "25.0", features = ["wgsl-in"] }
550nanoid = "0.4"
551nbformat = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
552nix = "0.29"
553num-format = "0.4.4"
554num-traits = "0.2"
555objc = "0.2"
556objc2-foundation = { version = "=0.3.1", default-features = false, features = [
557 "NSArray",
558 "NSAttributedString",
559 "NSBundle",
560 "NSCoder",
561 "NSData",
562 "NSDate",
563 "NSDictionary",
564 "NSEnumerator",
565 "NSError",
566 "NSGeometry",
567 "NSNotification",
568 "NSNull",
569 "NSObjCRuntime",
570 "NSObject",
571 "NSProcessInfo",
572 "NSRange",
573 "NSRunLoop",
574 "NSString",
575 "NSURL",
576 "NSUndoManager",
577 "NSValue",
578 "objc2-core-foundation",
579 "std"
580] }
581open = "5.0.0"
582ordered-float = "2.1.1"
583palette = { version = "0.7.5", default-features = false, features = ["std"] }
584parking_lot = "0.12.1"
585partial-json-fixer = "0.5.3"
586parse_int = "0.9"
587pciid-parser = "0.8.0"
588pathdiff = "0.2"
589pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
590pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
591pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
592pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
593pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
594pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
595pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
596pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "e97b9508befa0062929da65a01054d25c4be861c" }
597portable-pty = "0.9.0"
598postage = { version = "0.5", features = ["futures-traits"] }
599pretty_assertions = { version = "1.3.0", features = ["unstable"] }
600proc-macro2 = "1.0.93"
601profiling = "1"
602prost = "0.9"
603prost-build = "0.9"
604prost-types = "0.9"
605pulldown-cmark = { version = "0.12.0", default-features = false }
606quote = "1.0.9"
607rand = "0.9"
608rayon = "1.8"
609ref-cast = "1.0.24"
610regex = "1.5"
611# WARNING: If you change this, you must also publish a new version of zed-reqwest to crates.io
612reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
613 "charset",
614 "http2",
615 "macos-system-configuration",
616 "multipart",
617 "rustls-tls-native-roots",
618 "socks",
619 "stream",
620], package = "zed-reqwest", version = "0.12.15-zed" }
621rsa = "0.9.6"
622runtimelib = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
623 "async-dispatcher-runtime",
624] }
625rust-embed = { version = "8.4", features = ["include-exclude"] }
626rustc-hash = "2.1.0"
627rustls = { version = "0.23.26" }
628rustls-platform-verifier = "0.5.0"
629# WARNING: If you change this, you must also publish a new version of zed-scap to crates.io
630scap = { git = "https://github.com/zed-industries/scap", rev = "4afea48c3b002197176fb19cd0f9b180dd36eaac", default-features = false, package = "zed-scap", version = "0.0.8-zed" }
631schemars = { version = "1.0", features = ["indexmap2"] }
632semver = "1.0"
633serde = { version = "1.0.221", features = ["derive", "rc"] }
634serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
635serde_json_lenient = { version = "0.2", features = [
636 "preserve_order",
637 "raw_value",
638] }
639serde_path_to_error = "0.1.17"
640serde_repr = "0.1"
641serde_urlencoded = "0.7"
642serde_with = "3.4.0"
643sha2 = "0.10"
644shellexpand = "2.1.0"
645shlex = "1.3.0"
646simplelog = "0.12.2"
647slotmap = "1.0.6"
648smallvec = { version = "1.6", features = ["union"] }
649smol = "2.0"
650sqlformat = "0.2"
651stacksafe = "0.1"
652streaming-iterator = "0.1"
653strsim = "0.11"
654strum = { version = "0.27.2", features = ["derive"] }
655subtle = "2.5.0"
656syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
657sys-locale = "0.3.1"
658sysinfo = "0.37.0"
659take-until = "0.2.0"
660tempfile = "3.20.0"
661thiserror = "2.0.12"
662tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "30c32a4522751699adeda0d5840c71c3b75ae73d" }
663time = { version = "0.3", features = [
664 "macros",
665 "parsing",
666 "serde",
667 "serde-well-known",
668 "formatting",
669 "local-offset",
670] }
671tiny_http = "0.8"
672tokio = { version = "1" }
673tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
674toml = "0.8"
675toml_edit = { version = "0.22", default-features = false, features = ["display", "parse", "serde"] }
676tower-http = "0.4.4"
677tree-sitter = { version = "0.25.10", features = ["wasm"] }
678tree-sitter-bash = "0.25.0"
679tree-sitter-c = "0.23"
680tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
681tree-sitter-css = "0.23"
682tree-sitter-diff = "0.1.0"
683tree-sitter-elixir = "0.3"
684tree-sitter-embedded-template = "0.23.0"
685tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
686tree-sitter-go = "0.23"
687tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "2e886870578eeba1927a2dc4bd2e2b3f598c5f9a", package = "tree-sitter-gomod" }
688tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
689tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
690tree-sitter-html = "0.23"
691tree-sitter-jsdoc = "0.23"
692tree-sitter-json = "0.24"
693tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
694tree-sitter-python = "0.25"
695tree-sitter-regex = "0.24"
696tree-sitter-ruby = "0.23"
697tree-sitter-rust = "0.24"
698tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
699tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
700unicase = "2.6"
701unicode-script = "0.5.7"
702unicode-segmentation = "1.10"
703unindent = "0.2.0"
704url = "2.2"
705urlencoding = "2.1.2"
706uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
707walkdir = "2.5"
708wasm-encoder = "0.221"
709wasmparser = "0.221"
710wasmtime = { version = "29", default-features = false, features = [
711 "async",
712 "demangle",
713 "runtime",
714 "cranelift",
715 "component-model",
716 "incremental-cache",
717 "parallel-compilation",
718] }
719wasmtime-wasi = "29"
720which = "6.0.0"
721windows-core = "0.61"
722wit-component = "0.221"
723yawc = "0.2.5"
724zeroize = "1.8"
725zstd = "0.11"
726
727[workspace.dependencies.windows]
728version = "0.61"
729features = [
730 "Foundation_Numerics",
731 "Storage_Search",
732 "Storage_Streams",
733 "System_Threading",
734 "UI_ViewManagement",
735 "Wdk_System_SystemServices",
736 "Win32_Globalization",
737 "Win32_Graphics_Direct3D",
738 "Win32_Graphics_Direct3D11",
739 "Win32_Graphics_Direct3D_Fxc",
740 "Win32_Graphics_DirectComposition",
741 "Win32_Graphics_DirectWrite",
742 "Win32_Graphics_Dwm",
743 "Win32_Graphics_Dxgi",
744 "Win32_Graphics_Dxgi_Common",
745 "Win32_Graphics_Gdi",
746 "Win32_Graphics_Imaging",
747 "Win32_Graphics_Hlsl",
748 "Win32_Networking_WinSock",
749 "Win32_Security",
750 "Win32_Security_Credentials",
751 "Win32_Security_Cryptography",
752 "Win32_Storage_FileSystem",
753 "Win32_System_Com",
754 "Win32_System_Com_StructuredStorage",
755 "Win32_System_Console",
756 "Win32_System_DataExchange",
757 "Win32_System_IO",
758 "Win32_System_LibraryLoader",
759 "Win32_System_Memory",
760 "Win32_System_Ole",
761 "Win32_System_Performance",
762 "Win32_System_Pipes",
763 "Win32_System_SystemInformation",
764 "Win32_System_SystemServices",
765 "Win32_System_Threading",
766 "Win32_System_Variant",
767 "Win32_System_WinRT",
768 "Win32_UI_Controls",
769 "Win32_UI_HiDpi",
770 "Win32_UI_Input_Ime",
771 "Win32_UI_Input_KeyboardAndMouse",
772 "Win32_UI_Shell",
773 "Win32_UI_Shell_Common",
774 "Win32_UI_Shell_PropertiesSystem",
775 "Win32_UI_WindowsAndMessaging",
776]
777
778[patch.crates-io]
779notify = { git = "https://github.com/zed-industries/notify.git", rev = "b4588b2e5aee68f4c0e100f140e808cbce7b1419" }
780notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "b4588b2e5aee68f4c0e100f140e808cbce7b1419" }
781windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
782
783[profile.dev]
784split-debuginfo = "unpacked"
785# https://github.com/rust-lang/cargo/issues/16104
786incremental = false
787codegen-units = 16
788
789# mirror configuration for crates compiled for the build platform
790# (without this cargo will compile ~400 crates twice)
791[profile.dev.build-override]
792codegen-units = 16
793
794[profile.dev.package]
795taffy = { opt-level = 3 }
796cranelift-codegen = { opt-level = 3 }
797cranelift-codegen-meta = { opt-level = 3 }
798cranelift-codegen-shared = { opt-level = 3 }
799resvg = { opt-level = 3 }
800rustybuzz = { opt-level = 3 }
801ttf-parser = { opt-level = 3 }
802wasmtime-cranelift = { opt-level = 3 }
803wasmtime = { opt-level = 3 }
804# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
805activity_indicator = { codegen-units = 1 }
806assets = { codegen-units = 1 }
807breadcrumbs = { codegen-units = 1 }
808collections = { codegen-units = 1 }
809command_palette = { codegen-units = 1 }
810command_palette_hooks = { codegen-units = 1 }
811extension_cli = { codegen-units = 1 }
812feature_flags = { codegen-units = 1 }
813file_icons = { codegen-units = 1 }
814fsevent = { codegen-units = 1 }
815image_viewer = { codegen-units = 1 }
816edit_prediction_button = { codegen-units = 1 }
817install_cli = { codegen-units = 1 }
818journal = { codegen-units = 1 }
819json_schema_store = { codegen-units = 1 }
820lmstudio = { codegen-units = 1 }
821menu = { codegen-units = 1 }
822notifications = { codegen-units = 1 }
823ollama = { codegen-units = 1 }
824outline = { codegen-units = 1 }
825paths = { codegen-units = 1 }
826prettier = { codegen-units = 1 }
827project_symbols = { codegen-units = 1 }
828refineable = { codegen-units = 1 }
829release_channel = { codegen-units = 1 }
830reqwest_client = { codegen-units = 1 }
831rich_text = { codegen-units = 1 }
832semantic_version = { codegen-units = 1 }
833session = { codegen-units = 1 }
834snippet = { codegen-units = 1 }
835snippets_ui = { codegen-units = 1 }
836sqlez_macros = { codegen-units = 1 }
837story = { codegen-units = 1 }
838supermaven_api = { codegen-units = 1 }
839telemetry_events = { codegen-units = 1 }
840theme_selector = { codegen-units = 1 }
841time_format = { codegen-units = 1 }
842ui_input = { codegen-units = 1 }
843zed_actions = { codegen-units = 1 }
844
845[profile.release]
846debug = "limited"
847lto = "thin"
848codegen-units = 1
849
850[profile.release.package]
851zed = { codegen-units = 16 }
852
853[profile.release-fast]
854inherits = "release"
855debug = "full"
856lto = false
857codegen-units = 16
858
859[workspace.lints.rust]
860unexpected_cfgs = { level = "allow" }
861
862[workspace.lints.clippy]
863dbg_macro = "deny"
864todo = "deny"
865
866# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
867# Remove when the lint gets promoted to `suspicious`.
868declare_interior_mutable_const = "deny"
869
870redundant_clone = "deny"
871disallowed_methods = "deny"
872
873# We currently do not restrict any style rules
874# as it slows down shipping code to Zed.
875#
876# Running ./script/clippy can take several minutes, and so it's
877# common to skip that step and let CI do it. Any unexpected failures
878# (which also take minutes to discover) thus require switching back
879# to an old branch, manual fixing, and re-pushing.
880#
881# In the future we could improve this by either making sure
882# Zed can surface clippy errors in diagnostics (in addition to the
883# rust-analyzer errors), or by having CI fix style nits automatically.
884style = { level = "allow", priority = -1 }
885
886# Individual rules that have violations in the codebase:
887type_complexity = "allow"
888let_underscore_future = "allow"
889
890# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
891# warning on this rule produces a lot of noise.
892single_range_in_vec_init = "allow"
893
894# in Rust it can be very tedious to reduce argument count without
895# running afoul of the borrow checker.
896too_many_arguments = "allow"
897
898# We often have large enum variants yet we rarely actually bother with splitting them up.
899large_enum_variant = "allow"
900
901# Boolean expressions can be hard to read, requiring only the minimal form gets in the way
902nonminimal_bool = "allow"
903
904[workspace.metadata.cargo-machete]
905ignored = [
906 "bindgen",
907 "cbindgen",
908 "prost_build",
909 "serde",
910 "component",
911 "documented",
912 "sea-orm-macros",
913]