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