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