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/csv_preview",
49 "crates/dap",
50 "crates/dap_adapters",
51 "crates/db",
52 "crates/debug_adapter_extension",
53 "crates/debugger_tools",
54 "crates/debugger_ui",
55 "crates/deepseek",
56 "crates/denoise",
57 "crates/dev_container",
58 "crates/diagnostics",
59 "crates/docs_preprocessor",
60 "crates/edit_prediction",
61 "crates/edit_prediction_cli",
62 "crates/edit_prediction_context",
63 "crates/edit_prediction_types",
64 "crates/edit_prediction_ui",
65 "crates/editor",
66 "crates/encoding_selector",
67 "crates/etw_tracing",
68 "crates/eval",
69 "crates/eval_utils",
70 "crates/explorer_command_injector",
71 "crates/extension",
72 "crates/extension_api",
73 "crates/extension_cli",
74 "crates/extension_host",
75 "crates/extensions_ui",
76 "crates/feature_flags",
77 "crates/feedback",
78 "crates/file_finder",
79 "crates/file_icons",
80 "crates/fs",
81 "crates/fs_benchmarks",
82 "crates/fuzzy",
83 "crates/git",
84 "crates/git_graph",
85 "crates/git_hosting_providers",
86 "crates/git_ui",
87 "crates/go_to_line",
88 "crates/google_ai",
89 "crates/gpui",
90 "crates/gpui_linux",
91 "crates/gpui_macos",
92 "crates/gpui_macros",
93 "crates/gpui_platform",
94 "crates/gpui_tokio",
95 "crates/gpui_util",
96 "crates/gpui_web",
97 "crates/gpui_wgpu",
98 "crates/gpui_windows",
99 "crates/html_to_markdown",
100 "crates/http_client",
101 "crates/http_client_tls",
102 "crates/icons",
103 "crates/image_viewer",
104 "crates/inspector_ui",
105 "crates/install_cli",
106 "crates/journal",
107 "crates/json_schema_store",
108 "crates/keymap_editor",
109 "crates/language",
110 "crates/language_extension",
111 "crates/language_model",
112 "crates/language_models",
113 "crates/language_onboarding",
114 "crates/language_selector",
115 "crates/language_tools",
116 "crates/languages",
117 "crates/line_ending_selector",
118 "crates/livekit_api",
119 "crates/livekit_client",
120 "crates/lmstudio",
121 "crates/lsp",
122 "crates/markdown",
123 "crates/markdown_preview",
124 "crates/media",
125 "crates/menu",
126 "crates/migrator",
127 "crates/miniprofiler_ui",
128 "crates/mistral",
129 "crates/multi_buffer",
130 "crates/nc",
131 "crates/net",
132 "crates/node_runtime",
133 "crates/notifications",
134 "crates/ollama",
135 "crates/onboarding",
136 "crates/open_ai",
137 "crates/open_path_prompt",
138 "crates/open_router",
139 "crates/outline",
140 "crates/outline_panel",
141 "crates/panel",
142 "crates/paths",
143 "crates/picker",
144 "crates/platform_title_bar",
145 "crates/prettier",
146 "crates/project",
147 "crates/project_benchmarks",
148 "crates/project_panel",
149 "crates/project_symbols",
150 "crates/prompt_store",
151 "crates/proto",
152 "crates/recent_projects",
153 "crates/refineable",
154 "crates/refineable/derive_refineable",
155 "crates/release_channel",
156 "crates/remote",
157 "crates/remote_connection",
158 "crates/remote_server",
159 "crates/repl",
160 "crates/reqwest_client",
161 "crates/rich_text",
162 "crates/rope",
163 "crates/rpc",
164 "crates/rules_library",
165 "crates/scheduler",
166 "crates/schema_generator",
167 "crates/search",
168 "crates/session",
169 "crates/settings",
170 "crates/settings_content",
171 "crates/settings_json",
172 "crates/settings_macros",
173 "crates/settings_profile_selector",
174 "crates/settings_ui",
175 "crates/shell_command_parser",
176 "crates/sidebar",
177 "crates/snippet",
178 "crates/snippet_provider",
179 "crates/snippets_ui",
180 "crates/sqlez",
181 "crates/sqlez_macros",
182 "crates/story",
183 "crates/storybook",
184 "crates/streaming_diff",
185 "crates/sum_tree",
186 "crates/svg_preview",
187 "crates/system_specs",
188 "crates/tab_switcher",
189 "crates/task",
190 "crates/tasks_ui",
191 "crates/telemetry",
192 "crates/telemetry_events",
193 "crates/terminal",
194 "crates/terminal_view",
195 "crates/text",
196 "crates/theme",
197 "crates/theme_extension",
198 "crates/theme_importer",
199 "crates/theme_selector",
200 "crates/time_format",
201 "crates/title_bar",
202 "crates/toolchain_selector",
203 "crates/ui",
204 "crates/ui_input",
205 "crates/ui_macros",
206 "crates/ui_prompt",
207 "crates/util",
208 "crates/util_macros",
209 "crates/vercel",
210 "crates/vim",
211 "crates/vim_mode_setting",
212 "crates/watch",
213 "crates/web_search",
214 "crates/web_search_providers",
215 "crates/which_key",
216 "crates/workspace",
217 "crates/worktree",
218 "crates/worktree_benchmarks",
219 "crates/x_ai",
220 "crates/zed",
221 "crates/zed_actions",
222 "crates/zed_env_vars",
223 "crates/zeta_prompt",
224 "crates/zlog",
225 "crates/zlog_settings",
226 "crates/ztracing",
227 "crates/ztracing_macro",
228
229 #
230 # Extensions
231 #
232
233 "extensions/glsl",
234 "extensions/html",
235 "extensions/proto",
236 "extensions/slash-commands-example",
237 "extensions/test-extension",
238
239 #
240 # Tooling
241 #
242
243 "tooling/perf",
244 "tooling/xtask",
245]
246default-members = ["crates/zed"]
247
248[workspace.package]
249publish = false
250edition = "2024"
251
252[workspace.dependencies]
253
254#
255# Workspace member crates
256#
257
258acp_tools = { path = "crates/acp_tools" }
259acp_thread = { path = "crates/acp_thread" }
260action_log = { path = "crates/action_log" }
261agent = { path = "crates/agent" }
262activity_indicator = { path = "crates/activity_indicator" }
263agent_ui = { path = "crates/agent_ui" }
264agent_settings = { path = "crates/agent_settings" }
265agent_servers = { path = "crates/agent_servers" }
266ai_onboarding = { path = "crates/ai_onboarding" }
267anthropic = { path = "crates/anthropic" }
268askpass = { path = "crates/askpass" }
269assets = { path = "crates/assets" }
270assistant_text_thread = { path = "crates/assistant_text_thread" }
271assistant_slash_command = { path = "crates/assistant_slash_command" }
272assistant_slash_commands = { path = "crates/assistant_slash_commands" }
273audio = { path = "crates/audio" }
274auto_update = { path = "crates/auto_update" }
275auto_update_ui = { path = "crates/auto_update_ui" }
276aws_http_client = { path = "crates/aws_http_client" }
277bedrock = { path = "crates/bedrock" }
278breadcrumbs = { path = "crates/breadcrumbs" }
279buffer_diff = { path = "crates/buffer_diff" }
280call = { path = "crates/call" }
281channel = { path = "crates/channel" }
282cli = { path = "crates/cli" }
283client = { path = "crates/client" }
284clock = { path = "crates/clock" }
285cloud_api_client = { path = "crates/cloud_api_client" }
286cloud_api_types = { path = "crates/cloud_api_types" }
287cloud_llm_client = { path = "crates/cloud_llm_client" }
288collab = { path = "crates/collab" }
289collab_ui = { path = "crates/collab_ui" }
290collections = { path = "crates/collections", version = "0.1.0" }
291command_palette = { path = "crates/command_palette" }
292command_palette_hooks = { path = "crates/command_palette_hooks" }
293component = { path = "crates/component" }
294component_preview = { path = "crates/component_preview" }
295context_server = { path = "crates/context_server" }
296copilot = { path = "crates/copilot" }
297copilot_chat = { path = "crates/copilot_chat" }
298copilot_ui = { path = "crates/copilot_ui" }
299crashes = { path = "crates/crashes" }
300credentials_provider = { path = "crates/credentials_provider" }
301crossbeam = "0.8.4"
302csv_preview = { path = "crates/csv_preview"}
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 = "374db9ead5426697c6c2111151d9f246899bc638", 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" }
430codestral = { path = "crates/codestral" }
431system_specs = { path = "crates/system_specs" }
432tab_switcher = { path = "crates/tab_switcher" }
433task = { path = "crates/task" }
434tasks_ui = { path = "crates/tasks_ui" }
435telemetry = { path = "crates/telemetry" }
436telemetry_events = { path = "crates/telemetry_events" }
437terminal = { path = "crates/terminal" }
438terminal_view = { path = "crates/terminal_view" }
439text = { path = "crates/text" }
440theme = { path = "crates/theme" }
441theme_extension = { path = "crates/theme_extension" }
442theme_selector = { path = "crates/theme_selector" }
443time_format = { path = "crates/time_format" }
444platform_title_bar = { path = "crates/platform_title_bar" }
445title_bar = { path = "crates/title_bar" }
446toolchain_selector = { path = "crates/toolchain_selector" }
447ui = { path = "crates/ui" }
448ui_input = { path = "crates/ui_input" }
449ui_macros = { path = "crates/ui_macros" }
450ui_prompt = { path = "crates/ui_prompt" }
451util = { path = "crates/util" }
452util_macros = { path = "crates/util_macros" }
453vercel = { path = "crates/vercel" }
454vim = { path = "crates/vim" }
455vim_mode_setting = { path = "crates/vim_mode_setting" }
456which_key = { path = "crates/which_key" }
457
458watch = { path = "crates/watch" }
459web_search = { path = "crates/web_search" }
460web_search_providers = { path = "crates/web_search_providers" }
461workspace = { path = "crates/workspace" }
462worktree = { path = "crates/worktree" }
463x_ai = { path = "crates/x_ai" }
464zed = { path = "crates/zed" }
465zed_actions = { path = "crates/zed_actions" }
466zed_env_vars = { path = "crates/zed_env_vars" }
467edit_prediction = { path = "crates/edit_prediction" }
468zeta_prompt = { path = "crates/zeta_prompt" }
469zlog = { path = "crates/zlog" }
470zlog_settings = { path = "crates/zlog_settings" }
471ztracing = { path = "crates/ztracing" }
472ztracing_macro = { path = "crates/ztracing_macro" }
473
474#
475# External crates
476#
477
478agent-client-protocol = { version = "=0.9.4", features = ["unstable"] }
479aho-corasick = "1.1"
480alacritty_terminal = { git = "https://github.com/zed-industries/alacritty", rev = "9d9640d4" }
481any_vec = "0.14"
482anyhow = "1.0.86"
483arrayvec = { version = "0.7.4", features = ["serde"] }
484ashpd = { version = "0.13", default-features = false, features = [
485 "async-io",
486 "notification",
487 "open_uri",
488 "file_chooser",
489 "settings",
490 "trash"
491] }
492async-channel = "2.5.0"
493async-compat = "0.2.1"
494async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
495async-dispatcher = "0.1"
496async-fs = "2.1"
497async-lock = "2.1"
498async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
499async-recursion = "1.0.0"
500async-tar = "0.5.1"
501async-task = "4.7"
502async-trait = "0.1"
503async-tungstenite = "0.31.0"
504async_zip = { version = "0.0.18", features = ["deflate", "deflate64"] }
505aws-config = { version = "1.8.10", features = ["behavior-version-latest"] }
506aws-credential-types = { version = "1.2.8", features = [
507 "hardcoded-credentials",
508] }
509aws-sdk-bedrockruntime = { version = "1.112.0", features = [
510 "behavior-version-latest",
511] }
512aws-smithy-runtime-api = { version = "1.9.2", features = ["http-1x", "client"] }
513aws-smithy-types = { version = "1.3.4", features = ["http-body-1-x"] }
514backtrace = "0.3"
515base64 = "0.22"
516bincode = "1.2.1"
517bitflags = "2.6.0"
518brotli = "8.0.2"
519bytes = "1.0"
520cargo_metadata = "0.19"
521cargo_toml = "0.21"
522brush-parser = "0.3"
523cfg-if = "1.0.3"
524chardetng = "0.1"
525chrono = { version = "0.4", features = ["serde"] }
526ciborium = "0.2"
527circular-buffer = "1.0"
528clap = { version = "4.4", features = ["derive", "wrap_help"] }
529cocoa = "=0.26.0"
530cocoa-foundation = "=0.2.0"
531convert_case = "0.8.0"
532core-foundation = "=0.10.0"
533core-foundation-sys = "0.8.6"
534core-video = { version = "0.5.2", features = ["metal"] }
535cpal = "0.17"
536crash-handler = "0.6"
537criterion = { version = "0.5", features = ["html_reports"] }
538ctor = "0.4.0"
539dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
540dashmap = "6.0"
541derive_more = "0.99.17"
542dirs = "4.0"
543documented = "0.9.1"
544dotenvy = "0.15.0"
545ec4rs = "1.1"
546emojis = "0.6.1"
547env_logger = "0.11"
548encoding_rs = "0.8"
549exec = "0.3.1"
550fancy-regex = "0.16.0"
551fork = "0.4.0"
552futures = "0.3"
553futures-concurrency = "7.7.1"
554futures-lite = "1.13"
555gh-workflow = { git = "https://github.com/zed-industries/gh-workflow", rev = "c9eac0ed361583e1072860d96776fa52775b82ac" }
556git2 = { version = "0.20.1", default-features = false, features = ["vendored-libgit2"] }
557globset = "0.4"
558handlebars = "4.3"
559heck = "0.5"
560heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
561hex = "0.4.3"
562human_bytes = "0.4.1"
563html5ever = "0.27.0"
564http = "1.1"
565http-body = "1.0"
566hyper = "0.14"
567ignore = "0.4.22"
568image = "0.25.1"
569imara-diff = "0.1.8"
570indexmap = { version = "2.7.0", features = ["serde"] }
571indoc = "2"
572inventory = "0.3.19"
573itertools = "0.14.0"
574json_dotpath = "1.1"
575jsonschema = "0.37.0"
576jsonwebtoken = "10.0"
577jupyter-protocol = "1.2.0"
578jupyter-websocket-client = "1.0.0"
579libc = "0.2"
580libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
581linkify = "0.10.0"
582libwebrtc = "0.3.26"
583livekit = { version = "0.7.32", features = ["tokio", "rustls-tls-native-roots"] }
584log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
585lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "a4f410987660bf560d1e617cb78117c6b6b9f599" }
586mach2 = "0.5"
587markup5ever_rcdom = "0.3.0"
588metal = "0.33"
589minidumper = "0.8"
590moka = { version = "0.12.10", features = ["sync"] }
591naga = { version = "28.0", features = ["wgsl-in"] }
592nanoid = "0.4"
593nbformat = "1.1.0"
594nix = "0.29"
595num-format = "0.4.4"
596objc = "0.2"
597objc2-foundation = { version = "=0.3.1", default-features = false, features = [
598 "NSArray",
599 "NSAttributedString",
600 "NSBundle",
601 "NSCoder",
602 "NSData",
603 "NSDate",
604 "NSDictionary",
605 "NSEnumerator",
606 "NSError",
607 "NSGeometry",
608 "NSNotification",
609 "NSNull",
610 "NSObjCRuntime",
611 "NSObject",
612 "NSProcessInfo",
613 "NSRange",
614 "NSRunLoop",
615 "NSString",
616 "NSURL",
617 "NSUndoManager",
618 "NSValue",
619 "objc2-core-foundation",
620 "std",
621] }
622open = "5.0.0"
623ordered-float = "2.1.1"
624palette = { version = "0.7.5", default-features = false, features = ["std"] }
625parking_lot = "0.12.1"
626partial-json-fixer = "0.5.3"
627parse_int = "0.9"
628pciid-parser = "0.8.0"
629pathdiff = "0.2"
630percent-encoding = "2.3.2"
631pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
632pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
633pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
634pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
635pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
636pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
637pet-virtualenv = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "d5b5bb0c4558a51d8cc76b514bc870fd1c042f16" }
638portable-pty = "0.9.0"
639postage = { version = "0.5", features = ["futures-traits"] }
640pretty_assertions = { version = "1.3.0", features = ["unstable"] }
641proc-macro2 = "1.0.93"
642profiling = "1"
643prost = "0.9"
644prost-build = "0.9"
645prost-types = "0.9"
646pollster = "0.4.0"
647pulldown-cmark = { version = "0.13.0", default-features = false }
648quote = "1.0.9"
649rand = "0.9"
650rayon = "1.8"
651regex = "1.5"
652# WARNING: If you change this, you must also publish a new version of zed-reqwest to crates.io
653reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "c15662463bda39148ba154100dd44d3fba5873a4", default-features = false, features = [
654 "charset",
655 "http2",
656 "macos-system-configuration",
657 "multipart",
658 "rustls-tls-native-roots",
659 "socks",
660 "stream",
661], package = "zed-reqwest", version = "0.12.15-zed" }
662rsa = "0.9.6"
663runtimelib = { version = "1.2.0", default-features = false, features = [
664 "async-dispatcher-runtime", "aws-lc-rs"
665] }
666rust-embed = { version = "8.4", features = ["include-exclude"] }
667rustc-hash = "2.1.0"
668rustls = { version = "0.23.26" }
669rustls-platform-verifier = "0.5.0"
670# WARNING: If you change this, you must also publish a new version of zed-scap to crates.io
671scap = { git = "https://github.com/zed-industries/scap", rev = "4afea48c3b002197176fb19cd0f9b180dd36eaac", default-features = false, package = "zed-scap", version = "0.0.8-zed" }
672schemars = { version = "1.0", features = ["indexmap2"] }
673semver = { version = "1.0", features = ["serde"] }
674serde = { version = "1.0.221", features = ["derive", "rc"] }
675serde_json = { version = "1.0.144", features = ["preserve_order", "raw_value"] }
676serde_json_lenient = { version = "0.2", features = [
677 "preserve_order",
678 "raw_value",
679] }
680serde_path_to_error = "0.1.17"
681serde_repr = "0.1"
682serde_urlencoded = "0.7"
683sha2 = "0.10"
684shellexpand = "2.1.0"
685shlex = "1.3.0"
686simplelog = "0.12.2"
687slotmap = "1.0.6"
688smallvec = { version = "1.6", features = ["union", "const_new"] }
689smol = "2.0"
690sqlformat = "0.2"
691stacksafe = "0.1"
692streaming-iterator = "0.1"
693strsim = "0.11"
694strum = { version = "0.27.2", features = ["derive"] }
695syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] }
696sys-locale = "0.3.1"
697sysinfo = "0.37.0"
698take-until = "0.2.0"
699tempfile = "3.20.0"
700thiserror = "2.0.12"
701tiktoken-rs = { git = "https://github.com/zed-industries/tiktoken-rs", rev = "2570c4387a8505fb8f1d3f3557454b474f1e8271" }
702time = { version = "0.3", features = [
703 "macros",
704 "parsing",
705 "serde",
706 "serde-well-known",
707 "formatting",
708 "local-offset",
709] }
710tiny_http = "0.8"
711tokio = { version = "1" }
712tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
713tokio-socks = { version = "0.5.2", default-features = false, features = [
714 "futures-io",
715 "tokio",
716] }
717toml = "0.8"
718toml_edit = { version = "0.22", default-features = false, features = [
719 "display",
720 "parse",
721 "serde",
722] }
723tower-http = "0.4.4"
724tree-sitter = { version = "0.26", features = ["wasm"] }
725tree-sitter-bash = "0.25.1"
726tree-sitter-c = "0.24.1"
727tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "5cb9b693cfd7bfacab1d9ff4acac1a4150700609" }
728tree-sitter-css = "0.23"
729tree-sitter-diff = "0.1.0"
730tree-sitter-elixir = "0.3"
731tree-sitter-embedded-template = "0.23.0"
732tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
733tree-sitter-go = "0.25"
734tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "2e886870578eeba1927a2dc4bd2e2b3f598c5f9a", package = "tree-sitter-gomod" }
735tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
736tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
737tree-sitter-html = "0.23"
738tree-sitter-jsdoc = "0.23"
739tree-sitter-json = "0.24"
740tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
741tree-sitter-python = "0.25"
742tree-sitter-regex = "0.24"
743tree-sitter-ruby = "0.23"
744tree-sitter-rust = "0.24"
745tree-sitter-typescript = { git = "https://github.com/zed-industries/tree-sitter-typescript", rev = "e2c53597d6a5d9cf7bbe8dccde576fe1e46c5899" } # https://github.com/tree-sitter/tree-sitter-typescript/pull/347
746tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
747tracing = "0.1.40"
748unicase = "2.6"
749unicode-script = "0.5.7"
750unicode-segmentation = "1.10"
751unicode-width = "0.2"
752unindent = "0.2.0"
753url = "2.2"
754urlencoding = "2.1.2"
755uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
756walkdir = "2.5"
757wasm-encoder = "0.221"
758wasmparser = "0.221"
759wasmtime = { version = "33", default-features = false, features = [
760 "async",
761 "demangle",
762 "runtime",
763 "cranelift",
764 "component-model",
765 "incremental-cache",
766 "parallel-compilation",
767] }
768wasmtime-wasi = "33"
769wax = "0.7"
770which = "6.0.0"
771wasm-bindgen = "0.2.113"
772web-time = "1.1.0"
773wgpu = { git = "https://github.com/zed-industries/wgpu", rev = "6e0c2546d99dad72ce6ffb5b04349e6a4ce96e6d" }
774windows-core = "0.61"
775yawc = "0.2.5"
776zeroize = "1.8"
777zstd = "0.11"
778
779
780[workspace.dependencies.windows]
781version = "0.61"
782features = [
783 "Foundation_Numerics",
784 "Globalization_DateTimeFormatting",
785 "Storage_Search",
786 "Storage_Streams",
787 "System_Threading",
788 "UI_ViewManagement",
789 "Wdk_System_SystemServices",
790 "Win32_Foundation",
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_RestartManager",
819 "Win32_System_SystemInformation",
820 "Win32_System_SystemServices",
821 "Win32_System_Threading",
822 "Win32_System_Variant",
823 "Win32_System_WinRT",
824 "Win32_UI_Controls",
825 "Win32_UI_HiDpi",
826 "Win32_UI_Input_Ime",
827 "Win32_UI_Input_KeyboardAndMouse",
828 "Win32_UI_Shell",
829 "Win32_UI_Shell_Common",
830 "Win32_UI_Shell_PropertiesSystem",
831 "Win32_UI_WindowsAndMessaging",
832 "Win32_Media",
833]
834
835[patch.crates-io]
836async-task = { git = "https://github.com/smol-rs/async-task.git", rev = "b4486cd71e4e94fbda54ce6302444de14f4d190e" }
837notify = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
838notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "ce58c24cad542c28e04ced02e20325a4ec28a31d" }
839windows-capture = { git = "https://github.com/zed-industries/windows-capture.git", rev = "f0d6c1b6691db75461b732f6d5ff56eed002eeb9" }
840calloop = { git = "https://github.com/zed-industries/calloop" }
841livekit = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "37835f840d0070d45ac8b31cce6a6ae7aca3f459" }
842libwebrtc = { git = "https://github.com/zed-industries/livekit-rust-sdks", rev = "37835f840d0070d45ac8b31cce6a6ae7aca3f459" }
843
844[profile.dev]
845split-debuginfo = "unpacked"
846incremental = true
847codegen-units = 16
848
849# mirror configuration for crates compiled for the build platform
850# (without this cargo will compile ~400 crates twice)
851[profile.dev.build-override]
852codegen-units = 16
853split-debuginfo = "unpacked"
854debug = true
855
856[profile.dev.package]
857# proc-macros start
858gpui_macros = { opt-level = 3 }
859derive_refineable = { opt-level = 3 }
860settings_macros = { opt-level = 3 }
861sqlez_macros = { opt-level = 3, codegen-units = 1 }
862ui_macros = { opt-level = 3 }
863util_macros = { opt-level = 3 }
864quote = { opt-level = 3 }
865syn = { opt-level = 3 }
866proc-macro2 = { opt-level = 3 }
867# proc-macros end
868
869taffy = { opt-level = 3 }
870resvg = { opt-level = 3 }
871wasmtime = { opt-level = 3 }
872# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
873activity_indicator = { codegen-units = 1 }
874assets = { codegen-units = 1 }
875breadcrumbs = { codegen-units = 1 }
876collections = { codegen-units = 1 }
877command_palette = { codegen-units = 1 }
878command_palette_hooks = { codegen-units = 1 }
879feature_flags = { codegen-units = 1 }
880file_icons = { codegen-units = 1 }
881image_viewer = { codegen-units = 1 }
882edit_prediction_ui = { codegen-units = 1 }
883install_cli = { codegen-units = 1 }
884journal = { codegen-units = 1 }
885json_schema_store = { codegen-units = 1 }
886lmstudio = { codegen-units = 1 }
887menu = { codegen-units = 1 }
888notifications = { codegen-units = 1 }
889ollama = { codegen-units = 1 }
890outline = { codegen-units = 1 }
891paths = { codegen-units = 1 }
892prettier = { codegen-units = 1 }
893project_symbols = { codegen-units = 1 }
894refineable = { codegen-units = 1 }
895release_channel = { codegen-units = 1 }
896reqwest_client = { codegen-units = 1 }
897session = { codegen-units = 1 }
898sidebar = { codegen-units = 1 }
899snippet = { codegen-units = 1 }
900snippets_ui = { codegen-units = 1 }
901story = { 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]