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