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