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