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