Cargo.toml

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