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