1[workspace]
2resolver = "2"
3members = [
4 "crates/activity_indicator",
5 "crates/acp",
6 "crates/agent_ui",
7 "crates/agent",
8 "crates/agent_settings",
9 "crates/anthropic",
10 "crates/askpass",
11 "crates/assets",
12 "crates/assistant_context",
13 "crates/assistant_slash_command",
14 "crates/assistant_slash_commands",
15 "crates/assistant_tool",
16 "crates/assistant_tools",
17 "crates/audio",
18 "crates/auto_update",
19 "crates/auto_update_helper",
20 "crates/auto_update_ui",
21 "crates/aws_http_client",
22 "crates/bedrock",
23 "crates/breadcrumbs",
24 "crates/buffer_diff",
25 "crates/call",
26 "crates/channel",
27 "crates/cli",
28 "crates/client",
29 "crates/clock",
30 "crates/collab",
31 "crates/collab_ui",
32 "crates/collections",
33 "crates/command_palette",
34 "crates/command_palette_hooks",
35 "crates/component",
36 "crates/context_server",
37 "crates/copilot",
38 "crates/credentials_provider",
39 "crates/dap",
40 "crates/dap_adapters",
41 "crates/db",
42 "crates/debug_adapter_extension",
43 "crates/debugger_tools",
44 "crates/debugger_ui",
45 "crates/deepseek",
46 "crates/diagnostics",
47 "crates/docs_preprocessor",
48 "crates/editor",
49 "crates/eval",
50 "crates/extension",
51 "crates/extension_api",
52 "crates/extension_cli",
53 "crates/extension_host",
54 "crates/extensions_ui",
55 "crates/feature_flags",
56 "crates/feedback",
57 "crates/file_finder",
58 "crates/file_icons",
59 "crates/fs",
60 "crates/fsevent",
61 "crates/fuzzy",
62 "crates/git",
63 "crates/git_hosting_providers",
64 "crates/git_ui",
65 "crates/go_to_line",
66 "crates/google_ai",
67 "crates/gpui",
68 "crates/gpui_macros",
69 "crates/gpui_tokio",
70
71 "crates/html_to_markdown",
72 "crates/http_client",
73 "crates/http_client_tls",
74 "crates/icons",
75 "crates/image_viewer",
76 "crates/indexed_docs",
77 "crates/inline_completion",
78 "crates/inline_completion_button",
79 "crates/inspector_ui",
80 "crates/install_cli",
81 "crates/jj",
82 "crates/jj_ui",
83 "crates/journal",
84 "crates/language",
85 "crates/language_extension",
86 "crates/language_model",
87 "crates/language_models",
88 "crates/language_selector",
89 "crates/language_tools",
90 "crates/languages",
91 "crates/livekit_api",
92 "crates/livekit_client",
93 "crates/lmstudio",
94 "crates/lsp",
95 "crates/markdown",
96 "crates/markdown_preview",
97 "crates/media",
98 "crates/menu",
99 "crates/svg_preview",
100 "crates/migrator",
101 "crates/mistral",
102 "crates/multi_buffer",
103 "crates/node_runtime",
104 "crates/notifications",
105 "crates/ollama",
106 "crates/open_ai",
107 "crates/open_router",
108 "crates/outline",
109 "crates/outline_panel",
110 "crates/panel",
111 "crates/paths",
112 "crates/picker",
113 "crates/prettier",
114 "crates/project",
115 "crates/project_panel",
116 "crates/project_symbols",
117 "crates/prompt_store",
118 "crates/proto",
119 "crates/recent_projects",
120 "crates/refineable",
121 "crates/refineable/derive_refineable",
122 "crates/release_channel",
123 "crates/remote",
124 "crates/remote_server",
125 "crates/repl",
126 "crates/reqwest_client",
127 "crates/rich_text",
128 "crates/rope",
129 "crates/rpc",
130 "crates/rules_library",
131 "crates/schema_generator",
132 "crates/search",
133 "crates/semantic_index",
134 "crates/semantic_version",
135 "crates/session",
136 "crates/settings",
137 "crates/settings_ui",
138 "crates/snippet",
139 "crates/snippet_provider",
140 "crates/snippets_ui",
141 "crates/sqlez",
142 "crates/sqlez_macros",
143 "crates/story",
144 "crates/storybook",
145 "crates/streaming_diff",
146 "crates/sum_tree",
147 "crates/supermaven",
148 "crates/supermaven_api",
149 "crates/tab_switcher",
150 "crates/task",
151 "crates/tasks_ui",
152 "crates/telemetry",
153 "crates/telemetry_events",
154 "crates/terminal",
155 "crates/terminal_view",
156 "crates/text",
157 "crates/theme",
158 "crates/theme_extension",
159 "crates/theme_importer",
160 "crates/theme_selector",
161 "crates/time_format",
162 "crates/title_bar",
163 "crates/toolchain_selector",
164 "crates/ui",
165 "crates/ui_input",
166 "crates/ui_macros",
167 "crates/ui_prompt",
168 "crates/util",
169 "crates/util_macros",
170 "crates/vercel",
171 "crates/vim",
172 "crates/vim_mode_setting",
173 "crates/watch",
174 "crates/web_search",
175 "crates/web_search_providers",
176 "crates/welcome",
177 "crates/workspace",
178 "crates/worktree",
179 "crates/zed",
180 "crates/zed_actions",
181 "crates/zeta",
182 "crates/zlog",
183 "crates/zlog_settings",
184
185 #
186 # Extensions
187 #
188
189 "extensions/emmet",
190 "extensions/glsl",
191 "extensions/html",
192 "extensions/perplexity",
193 "extensions/proto",
194 "extensions/ruff",
195 "extensions/slash-commands-example",
196 "extensions/snippets",
197 "extensions/test-extension",
198 "extensions/toml",
199
200 #
201 # Tooling
202 #
203
204 "tooling/workspace-hack",
205 "tooling/xtask",
206]
207default-members = ["crates/zed"]
208
209[workspace.package]
210publish = false
211edition = "2024"
212
213[workspace.dependencies]
214
215#
216# Workspace member crates
217#
218
219acp = { path = "crates/acp" }
220agent = { path = "crates/agent" }
221activity_indicator = { path = "crates/activity_indicator" }
222agent_ui = { path = "crates/agent_ui" }
223agent_settings = { path = "crates/agent_settings" }
224ai = { path = "crates/ai" }
225anthropic = { path = "crates/anthropic" }
226askpass = { path = "crates/askpass" }
227assets = { path = "crates/assets" }
228assistant_context = { path = "crates/assistant_context" }
229assistant_slash_command = { path = "crates/assistant_slash_command" }
230assistant_slash_commands = { path = "crates/assistant_slash_commands" }
231assistant_tool = { path = "crates/assistant_tool" }
232assistant_tools = { path = "crates/assistant_tools" }
233audio = { path = "crates/audio" }
234auto_update = { path = "crates/auto_update" }
235auto_update_helper = { path = "crates/auto_update_helper" }
236auto_update_ui = { path = "crates/auto_update_ui" }
237aws_http_client = { path = "crates/aws_http_client" }
238bedrock = { path = "crates/bedrock" }
239breadcrumbs = { path = "crates/breadcrumbs" }
240buffer_diff = { path = "crates/buffer_diff" }
241call = { path = "crates/call" }
242channel = { path = "crates/channel" }
243cli = { path = "crates/cli" }
244client = { path = "crates/client" }
245clock = { path = "crates/clock" }
246collab = { path = "crates/collab" }
247collab_ui = { path = "crates/collab_ui" }
248collections = { path = "crates/collections" }
249command_palette = { path = "crates/command_palette" }
250command_palette_hooks = { path = "crates/command_palette_hooks" }
251component = { path = "crates/component" }
252context_server = { path = "crates/context_server" }
253copilot = { path = "crates/copilot" }
254credentials_provider = { path = "crates/credentials_provider" }
255dap = { path = "crates/dap" }
256dap_adapters = { path = "crates/dap_adapters" }
257db = { path = "crates/db" }
258debug_adapter_extension = { path = "crates/debug_adapter_extension" }
259debugger_tools = { path = "crates/debugger_tools" }
260debugger_ui = { path = "crates/debugger_ui" }
261deepseek = { path = "crates/deepseek" }
262diagnostics = { path = "crates/diagnostics" }
263editor = { path = "crates/editor" }
264extension = { path = "crates/extension" }
265extension_host = { path = "crates/extension_host" }
266extensions_ui = { path = "crates/extensions_ui" }
267feature_flags = { path = "crates/feature_flags" }
268feedback = { path = "crates/feedback" }
269file_finder = { path = "crates/file_finder" }
270file_icons = { path = "crates/file_icons" }
271fs = { path = "crates/fs" }
272fsevent = { path = "crates/fsevent" }
273fuzzy = { path = "crates/fuzzy" }
274git = { path = "crates/git" }
275git_hosting_providers = { path = "crates/git_hosting_providers" }
276git_ui = { path = "crates/git_ui" }
277go_to_line = { path = "crates/go_to_line" }
278google_ai = { path = "crates/google_ai" }
279gpui = { path = "crates/gpui", default-features = false, features = [
280 "http_client",
281] }
282gpui_macros = { path = "crates/gpui_macros" }
283gpui_tokio = { path = "crates/gpui_tokio" }
284html_to_markdown = { path = "crates/html_to_markdown" }
285http_client = { path = "crates/http_client" }
286http_client_tls = { path = "crates/http_client_tls" }
287icons = { path = "crates/icons" }
288image_viewer = { path = "crates/image_viewer" }
289indexed_docs = { path = "crates/indexed_docs" }
290inline_completion = { path = "crates/inline_completion" }
291inline_completion_button = { path = "crates/inline_completion_button" }
292inspector_ui = { path = "crates/inspector_ui" }
293install_cli = { path = "crates/install_cli" }
294jj = { path = "crates/jj" }
295jj_ui = { path = "crates/jj_ui" }
296journal = { path = "crates/journal" }
297language = { path = "crates/language" }
298language_extension = { path = "crates/language_extension" }
299language_model = { path = "crates/language_model" }
300language_models = { path = "crates/language_models" }
301language_selector = { path = "crates/language_selector" }
302language_tools = { path = "crates/language_tools" }
303languages = { path = "crates/languages" }
304livekit_api = { path = "crates/livekit_api" }
305livekit_client = { path = "crates/livekit_client" }
306lmstudio = { path = "crates/lmstudio" }
307lsp = { path = "crates/lsp" }
308markdown = { path = "crates/markdown" }
309markdown_preview = { path = "crates/markdown_preview" }
310svg_preview = { path = "crates/svg_preview" }
311media = { path = "crates/media" }
312menu = { path = "crates/menu" }
313migrator = { path = "crates/migrator" }
314mistral = { path = "crates/mistral" }
315multi_buffer = { path = "crates/multi_buffer" }
316node_runtime = { path = "crates/node_runtime" }
317notifications = { path = "crates/notifications" }
318ollama = { path = "crates/ollama" }
319open_ai = { path = "crates/open_ai" }
320open_router = { path = "crates/open_router", features = ["schemars"] }
321outline = { path = "crates/outline" }
322outline_panel = { path = "crates/outline_panel" }
323panel = { path = "crates/panel" }
324paths = { path = "crates/paths" }
325picker = { path = "crates/picker" }
326plugin = { path = "crates/plugin" }
327plugin_macros = { path = "crates/plugin_macros" }
328prettier = { path = "crates/prettier" }
329project = { path = "crates/project" }
330project_panel = { path = "crates/project_panel" }
331project_symbols = { path = "crates/project_symbols" }
332prompt_store = { path = "crates/prompt_store" }
333proto = { path = "crates/proto" }
334recent_projects = { path = "crates/recent_projects" }
335refineable = { path = "crates/refineable" }
336release_channel = { path = "crates/release_channel" }
337remote = { path = "crates/remote" }
338remote_server = { path = "crates/remote_server" }
339repl = { path = "crates/repl" }
340reqwest_client = { path = "crates/reqwest_client" }
341rich_text = { path = "crates/rich_text" }
342rope = { path = "crates/rope" }
343rpc = { path = "crates/rpc" }
344rules_library = { path = "crates/rules_library" }
345search = { path = "crates/search" }
346semantic_index = { path = "crates/semantic_index" }
347semantic_version = { path = "crates/semantic_version" }
348session = { path = "crates/session" }
349settings = { path = "crates/settings" }
350settings_ui = { path = "crates/settings_ui" }
351snippet = { path = "crates/snippet" }
352snippet_provider = { path = "crates/snippet_provider" }
353snippets_ui = { path = "crates/snippets_ui" }
354sqlez = { path = "crates/sqlez" }
355sqlez_macros = { path = "crates/sqlez_macros" }
356story = { path = "crates/story" }
357storybook = { path = "crates/storybook" }
358streaming_diff = { path = "crates/streaming_diff" }
359sum_tree = { path = "crates/sum_tree" }
360supermaven = { path = "crates/supermaven" }
361supermaven_api = { path = "crates/supermaven_api" }
362tab_switcher = { path = "crates/tab_switcher" }
363task = { path = "crates/task" }
364tasks_ui = { path = "crates/tasks_ui" }
365telemetry = { path = "crates/telemetry" }
366telemetry_events = { path = "crates/telemetry_events" }
367terminal = { path = "crates/terminal" }
368terminal_view = { path = "crates/terminal_view" }
369text = { path = "crates/text" }
370theme = { path = "crates/theme" }
371theme_extension = { path = "crates/theme_extension" }
372theme_importer = { path = "crates/theme_importer" }
373theme_selector = { path = "crates/theme_selector" }
374time_format = { path = "crates/time_format" }
375title_bar = { path = "crates/title_bar" }
376toolchain_selector = { path = "crates/toolchain_selector" }
377ui = { path = "crates/ui" }
378ui_input = { path = "crates/ui_input" }
379ui_macros = { path = "crates/ui_macros" }
380ui_prompt = { path = "crates/ui_prompt" }
381util = { path = "crates/util" }
382util_macros = { path = "crates/util_macros" }
383vercel = { path = "crates/vercel" }
384vim = { path = "crates/vim" }
385vim_mode_setting = { path = "crates/vim_mode_setting" }
386
387watch = { path = "crates/watch" }
388web_search = { path = "crates/web_search" }
389web_search_providers = { path = "crates/web_search_providers" }
390welcome = { path = "crates/welcome" }
391workspace = { path = "crates/workspace" }
392worktree = { path = "crates/worktree" }
393zed = { path = "crates/zed" }
394zed_actions = { path = "crates/zed_actions" }
395zeta = { path = "crates/zeta" }
396zlog = { path = "crates/zlog" }
397zlog_settings = { path = "crates/zlog_settings" }
398
399#
400# External crates
401#
402
403agentic-coding-protocol = { path = "../agentic-coding-protocol" }
404aho-corasick = "1.1"
405alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }
406any_vec = "0.14"
407anyhow = "1.0.86"
408arrayvec = { version = "0.7.4", features = ["serde"] }
409ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
410async-compat = "0.2.1"
411async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
412async-dispatcher = "0.1"
413async-fs = "2.1"
414async-pipe = { git = "https://github.com/zed-industries/async-pipe-rs", rev = "82d00a04211cf4e1236029aa03e6b6ce2a74c553" }
415async-recursion = "1.0.0"
416async-tar = "0.5.0"
417async-trait = "0.1"
418async-tungstenite = "0.29.1"
419async_zip = { version = "0.0.17", features = ["deflate", "deflate64"] }
420aws-config = { version = "1.6.1", features = ["behavior-version-latest"] }
421aws-credential-types = { version = "1.2.2", features = [
422 "hardcoded-credentials",
423] }
424aws-sdk-bedrockruntime = { version = "1.80.0", features = [
425 "behavior-version-latest",
426] }
427aws-smithy-runtime-api = { version = "1.7.4", features = ["http-1x", "client"] }
428aws-smithy-types = { version = "1.3.0", features = ["http-body-1-x"] }
429base64 = "0.22"
430bitflags = "2.6.0"
431blade-graphics = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
432blade-macros = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
433blade-util = { git = "https://github.com/kvark/blade", rev = "e0ec4e720957edd51b945b64dd85605ea54bcfe5" }
434blake3 = "1.5.3"
435bytes = "1.0"
436cargo_metadata = "0.19"
437cargo_toml = "0.21"
438chrono = { version = "0.4", features = ["serde"] }
439circular-buffer = "1.0"
440clap = { version = "4.4", features = ["derive"] }
441cocoa = "0.26"
442cocoa-foundation = "0.2.0"
443convert_case = "0.8.0"
444core-foundation = "0.10.0"
445core-foundation-sys = "0.8.6"
446core-video = { version = "0.4.3", features = ["metal"] }
447cpal = "0.16"
448criterion = { version = "0.5", features = ["html_reports"] }
449ctor = "0.4.0"
450dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "7f39295b441614ca9dbf44293e53c32f666897f9" }
451dashmap = "6.0"
452derive_more = "0.99.17"
453dirs = "4.0"
454documented = "0.9.1"
455dotenvy = "0.15.0"
456ec4rs = "1.1"
457emojis = "0.6.1"
458env_logger = "0.11"
459exec = "0.3.1"
460fancy-regex = "0.14.0"
461fork = "0.2.0"
462futures = "0.3"
463futures-batch = "0.6.1"
464futures-lite = "1.13"
465git2 = { version = "0.20.1", default-features = false }
466globset = "0.4"
467handlebars = "4.3"
468heck = "0.5"
469heed = { version = "0.21.0", features = ["read-txn-no-tls"] }
470hex = "0.4.3"
471html5ever = "0.27.0"
472http = "1.1"
473hyper = "0.14"
474ignore = "0.4.22"
475image = "0.25.1"
476imara-diff = "0.1.8"
477indexmap = { version = "2.7.0", features = ["serde"] }
478indoc = "2"
479inventory = "0.3.19"
480itertools = "0.14.0"
481jj-lib = { git = "https://github.com/jj-vcs/jj", rev = "e18eb8e05efaa153fad5ef46576af145bba1807f" }
482json_dotpath = "1.1"
483jsonschema = "0.30.0"
484jsonwebtoken = "9.3"
485jupyter-protocol = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
486jupyter-websocket-client = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
487libc = "0.2"
488libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }
489linkify = "0.10.0"
490log = { version = "0.4.16", features = ["kv_unstable_serde", "serde"] }
491lsp-types = { git = "https://github.com/zed-industries/lsp-types", rev = "c9c189f1c5dd53c624a419ce35bc77ad6a908d18" }
492markup5ever_rcdom = "0.3.0"
493metal = "0.29"
494moka = { version = "0.12.10", features = ["sync"] }
495naga = { version = "25.0", features = ["wgsl-in"] }
496nanoid = "0.4"
497nbformat = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734" }
498nix = "0.29"
499num-format = "0.4.4"
500objc = "0.2"
501open = "5.0.0"
502ordered-float = "2.1.1"
503palette = { version = "0.7.5", default-features = false, features = ["std"] }
504parking_lot = "0.12.1"
505partial-json-fixer = "0.5.3"
506pathdiff = "0.2"
507pet = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
508pet-conda = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
509pet-core = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
510pet-fs = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
511pet-pixi = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
512pet-poetry = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
513pet-reporter = { git = "https://github.com/microsoft/python-environment-tools.git", rev = "845945b830297a50de0e24020b980a65e4820559" }
514portable-pty = "0.9.0"
515postage = { version = "0.5", features = ["futures-traits"] }
516pretty_assertions = { version = "1.3.0", features = ["unstable"] }
517proc-macro2 = "1.0.93"
518profiling = "1"
519prost = "0.9"
520prost-build = "0.9"
521prost-types = "0.9"
522pulldown-cmark = { version = "0.12.0", default-features = false }
523quote = "1.0.9"
524rand = "0.8.5"
525rayon = "1.8"
526ref-cast = "1.0.24"
527regex = "1.5"
528reqwest = { git = "https://github.com/zed-industries/reqwest.git", rev = "951c770a32f1998d6e999cef3e59e0013e6c4415", default-features = false, features = [
529 "charset",
530 "http2",
531 "macos-system-configuration",
532 "rustls-tls-native-roots",
533 "socks",
534 "stream",
535] }
536rsa = "0.9.6"
537runtimelib = { git = "https://github.com/ConradIrwin/runtimed", rev = "7130c804216b6914355d15d0b91ea91f6babd734", default-features = false, features = [
538 "async-dispatcher-runtime",
539] }
540rust-embed = { version = "8.4", features = ["include-exclude"] }
541rustc-demangle = "0.1.23"
542rustc-hash = "2.1.0"
543rustls = { version = "0.23.26" }
544rustls-platform-verifier = "0.5.0"
545scap = { git = "https://github.com/zed-industries/scap", rev = "08f0a01417505cc0990b9931a37e5120db92e0d0", default-features = false }
546schemars = { version = "1.0", features = ["indexmap2"] }
547semver = "1.0"
548serde = { version = "1.0", features = ["derive", "rc"] }
549serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
550serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
551serde_json_lenient = { version = "0.2", features = [
552 "preserve_order",
553 "raw_value",
554] }
555serde_repr = "0.1"
556sha2 = "0.10"
557shellexpand = "2.1.0"
558shlex = "1.3.0"
559simplelog = "0.12.2"
560smallvec = { version = "1.6", features = ["union"] }
561smol = "2.0"
562sqlformat = "0.2"
563streaming-iterator = "0.1"
564strsim = "0.11"
565strum = { version = "0.27.0", features = ["derive"] }
566subtle = "2.5.0"
567syn = { version = "2.0.101", features = ["full", "extra-traits"] }
568sys-locale = "0.3.1"
569sysinfo = "0.31.0"
570take-until = "0.2.0"
571tempfile = "3.20.0"
572thiserror = "2.0.12"
573tiktoken-rs = "0.7.0"
574time = { version = "0.3", features = [
575 "macros",
576 "parsing",
577 "serde",
578 "serde-well-known",
579 "formatting",
580] }
581tiny_http = "0.8"
582tokio = { version = "1" }
583tokio-tungstenite = { version = "0.26", features = ["__rustls-tls"] }
584toml = "0.8"
585tower-http = "0.4.4"
586tree-sitter = { version = "0.25.6", features = ["wasm"] }
587tree-sitter-bash = "0.25.0"
588tree-sitter-c = "0.23"
589tree-sitter-cpp = "0.23"
590tree-sitter-css = "0.23"
591tree-sitter-diff = "0.1.0"
592tree-sitter-elixir = "0.3"
593tree-sitter-embedded-template = "0.23.0"
594tree-sitter-gitcommit = { git = "https://github.com/zed-industries/tree-sitter-git-commit", rev = "88309716a69dd13ab83443721ba6e0b491d37ee9" }
595tree-sitter-go = "0.23"
596tree-sitter-go-mod = { git = "https://github.com/camdencheek/tree-sitter-go-mod", rev = "6efb59652d30e0e9cd5f3b3a669afd6f1a926d3c", package = "tree-sitter-gomod" }
597tree-sitter-gowork = { git = "https://github.com/zed-industries/tree-sitter-go-work", rev = "acb0617bf7f4fda02c6217676cc64acb89536dc7" }
598tree-sitter-heex = { git = "https://github.com/zed-industries/tree-sitter-heex", rev = "1dd45142fbb05562e35b2040c6129c9bca346592" }
599tree-sitter-html = "0.23"
600tree-sitter-jsdoc = "0.23"
601tree-sitter-json = "0.24"
602tree-sitter-md = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "9a23c1a96c0513d8fc6520972beedd419a973539" }
603tree-sitter-python = { git = "https://github.com/zed-industries/tree-sitter-python", rev = "218fcbf3fda3d029225f3dec005cb497d111b35e" }
604tree-sitter-regex = "0.24"
605tree-sitter-ruby = "0.23"
606tree-sitter-rust = "0.24"
607tree-sitter-typescript = "0.23"
608tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "baff0b51c64ef6a1fb1f8390f3ad6015b83ec13a" }
609unicase = "2.6"
610unicode-script = "0.5.7"
611unicode-segmentation = "1.10"
612unindent = "0.2.0"
613url = "2.2"
614urlencoding = "2.1.2"
615uuid = { version = "1.1.2", features = ["v4", "v5", "v7", "serde"] }
616walkdir = "2.5"
617wasm-encoder = "0.221"
618wasmparser = "0.221"
619wasmtime = { version = "29", default-features = false, features = [
620 "async",
621 "demangle",
622 "runtime",
623 "cranelift",
624 "component-model",
625 "incremental-cache",
626 "parallel-compilation",
627] }
628wasmtime-wasi = "29"
629which = "6.0.0"
630workspace-hack = "0.1.0"
631zed_llm_client = "0.8.5"
632zstd = "0.11"
633
634[workspace.dependencies.async-stripe]
635git = "https://github.com/zed-industries/async-stripe"
636rev = "3672dd4efb7181aa597bf580bf5a2f5d23db6735"
637default-features = false
638features = [
639 "runtime-tokio-hyper-rustls",
640 "billing",
641 "checkout",
642 "events",
643 # The features below are only enabled to get the `events` feature to build.
644 "chrono",
645 "connect",
646]
647
648[workspace.dependencies.windows]
649version = "0.61"
650features = [
651 "Foundation_Numerics",
652 "Storage_Search",
653 "Storage_Streams",
654 "System_Threading",
655 "UI_ViewManagement",
656 "Wdk_System_SystemServices",
657 "Win32_Globalization",
658 "Win32_Graphics_Direct2D",
659 "Win32_Graphics_Direct2D_Common",
660 "Win32_Graphics_DirectWrite",
661 "Win32_Graphics_Dwm",
662 "Win32_Graphics_Dxgi_Common",
663 "Win32_Graphics_Gdi",
664 "Win32_Graphics_Imaging",
665 "Win32_Graphics_Imaging_D2D",
666 "Win32_Security",
667 "Win32_Security_Credentials",
668 "Win32_Storage_FileSystem",
669 "Win32_System_Com",
670 "Win32_System_Com_StructuredStorage",
671 "Win32_System_Console",
672 "Win32_System_DataExchange",
673 "Win32_System_IO",
674 "Win32_System_LibraryLoader",
675 "Win32_System_Memory",
676 "Win32_System_Ole",
677 "Win32_System_Pipes",
678 "Win32_System_SystemInformation",
679 "Win32_System_SystemServices",
680 "Win32_System_Threading",
681 "Win32_System_Variant",
682 "Win32_System_WinRT",
683 "Win32_UI_Controls",
684 "Win32_UI_HiDpi",
685 "Win32_UI_Input_Ime",
686 "Win32_UI_Input_KeyboardAndMouse",
687 "Win32_UI_Shell",
688 "Win32_UI_Shell_Common",
689 "Win32_UI_Shell_PropertiesSystem",
690 "Win32_UI_WindowsAndMessaging",
691]
692
693[patch.crates-io]
694notify = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
695notify-types = { git = "https://github.com/zed-industries/notify.git", rev = "bbb9ea5ae52b253e095737847e367c30653a2e96" }
696
697# Makes the workspace hack crate refer to the local one, but only when you're building locally
698workspace-hack = { path = "tooling/workspace-hack" }
699
700[profile.dev]
701split-debuginfo = "unpacked"
702codegen-units = 16
703
704[profile.dev.package]
705taffy = { opt-level = 3 }
706cranelift-codegen = { opt-level = 3 }
707cranelift-codegen-meta = { opt-level = 3 }
708cranelift-codegen-shared = { opt-level = 3 }
709resvg = { opt-level = 3 }
710rustybuzz = { opt-level = 3 }
711ttf-parser = { opt-level = 3 }
712wasmtime-cranelift = { opt-level = 3 }
713wasmtime = { opt-level = 3 }
714# Build single-source-file crates with cg=1 as it helps make `cargo build` of a whole workspace a bit faster
715activity_indicator = { codegen-units = 1 }
716assets = { codegen-units = 1 }
717breadcrumbs = { codegen-units = 1 }
718collections = { codegen-units = 1 }
719command_palette = { codegen-units = 1 }
720command_palette_hooks = { codegen-units = 1 }
721extension_cli = { codegen-units = 1 }
722feature_flags = { codegen-units = 1 }
723file_icons = { codegen-units = 1 }
724fsevent = { codegen-units = 1 }
725image_viewer = { codegen-units = 1 }
726inline_completion_button = { codegen-units = 1 }
727install_cli = { codegen-units = 1 }
728journal = { codegen-units = 1 }
729lmstudio = { codegen-units = 1 }
730menu = { codegen-units = 1 }
731notifications = { codegen-units = 1 }
732ollama = { codegen-units = 1 }
733outline = { codegen-units = 1 }
734paths = { codegen-units = 1 }
735prettier = { codegen-units = 1 }
736project_symbols = { codegen-units = 1 }
737refineable = { codegen-units = 1 }
738release_channel = { codegen-units = 1 }
739reqwest_client = { codegen-units = 1 }
740rich_text = { codegen-units = 1 }
741semantic_version = { codegen-units = 1 }
742session = { codegen-units = 1 }
743snippet = { codegen-units = 1 }
744snippets_ui = { codegen-units = 1 }
745sqlez_macros = { codegen-units = 1 }
746story = { codegen-units = 1 }
747supermaven_api = { codegen-units = 1 }
748telemetry_events = { codegen-units = 1 }
749theme_selector = { codegen-units = 1 }
750time_format = { codegen-units = 1 }
751ui_input = { codegen-units = 1 }
752zed_actions = { codegen-units = 1 }
753
754[profile.release]
755debug = "limited"
756lto = "thin"
757codegen-units = 1
758
759[profile.release.package]
760zed = { codegen-units = 16 }
761
762[profile.release-fast]
763inherits = "release"
764debug = "full"
765lto = false
766codegen-units = 16
767
768[workspace.lints.rust]
769unexpected_cfgs = { level = "allow" }
770
771[workspace.lints.clippy]
772dbg_macro = "deny"
773todo = "deny"
774
775# Motivation: We use `vec![a..b]` a lot when dealing with ranges in text, so
776# warning on this rule produces a lot of noise.
777single_range_in_vec_init = "allow"
778
779# These are all of the rules that currently have violations in the Zed
780# codebase.
781#
782# We'll want to drive this list down by either:
783# 1. fixing violations of the rule and begin enforcing it
784# 2. deciding we want to allow the rule permanently, at which point
785# we should codify that separately above.
786#
787# This list shouldn't be added to; it should only get shorter.
788# =============================================================================
789
790# There are a bunch of rules currently failing in the `style` group, so
791# allow all of those, for now.
792style = { level = "allow", priority = -1 }
793
794# Temporary list of style lints that we've fixed so far.
795module_inception = { level = "deny" }
796question_mark = { level = "deny" }
797redundant_closure = { level = "deny" }
798# Individual rules that have violations in the codebase:
799type_complexity = "allow"
800# We often return trait objects from `new` functions.
801new_ret_no_self = { level = "allow" }
802# We have a few `next` functions that differ in lifetimes
803# compared to Iterator::next. Yet, clippy complains about those.
804should_implement_trait = { level = "allow" }
805let_underscore_future = "allow"
806
807# in Rust it can be very tedious to reduce argument count without
808# running afoul of the borrow checker.
809too_many_arguments = "allow"
810
811# We often have large enum variants yet we rarely actually bother with splitting them up.
812large_enum_variant = "allow"
813
814[workspace.metadata.cargo-machete]
815ignored = [
816 "bindgen",
817 "cbindgen",
818 "prost_build",
819 "serde",
820 "component",
821 "documented",
822 "workspace-hack",
823]