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