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