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