Cargo.toml

  1[workspace]
  2members = [
  3    "crates/activity_indicator",
  4    "crates/ai",
  5    "crates/assets",
  6    "crates/assistant",
  7    "crates/audio",
  8    "crates/auto_update",
  9    "crates/breadcrumbs",
 10    "crates/call",
 11    "crates/channel",
 12    "crates/cli",
 13    "crates/client",
 14    "crates/clock",
 15    "crates/collab",
 16    "crates/collab_ui",
 17    "crates/collections",
 18    "crates/command_palette",
 19    "crates/command_palette_hooks",
 20    "crates/copilot",
 21    "crates/copilot_ui",
 22    "crates/db",
 23    "crates/diagnostics",
 24    "crates/editor",
 25    "crates/extension",
 26    "crates/extension_api",
 27    "crates/extensions_ui",
 28    "crates/feature_flags",
 29    "crates/feedback",
 30    "crates/file_finder",
 31    "crates/fs",
 32    "crates/fsevent",
 33    "crates/fuzzy",
 34    "crates/git",
 35    "crates/go_to_line",
 36    "crates/gpui",
 37    "crates/gpui_macros",
 38    "crates/install_cli",
 39    "crates/journal",
 40    "crates/language",
 41    "crates/language_selector",
 42    "crates/language_tools",
 43    "crates/languages",
 44    "crates/live_kit_client",
 45    "crates/live_kit_server",
 46    "crates/lsp",
 47    "crates/markdown_preview",
 48    "crates/media",
 49    "crates/menu",
 50    "crates/multi_buffer",
 51    "crates/node_runtime",
 52    "crates/notifications",
 53    "crates/outline",
 54    "crates/picker",
 55    "crates/prettier",
 56    "crates/project",
 57    "crates/project_core",
 58    "crates/project_panel",
 59    "crates/project_symbols",
 60    "crates/quick_action_bar",
 61    "crates/recent_projects",
 62    "crates/refineable",
 63    "crates/refineable/derive_refineable",
 64    "crates/release_channel",
 65    "crates/rich_text",
 66    "crates/rope",
 67    "crates/rpc",
 68    "crates/task",
 69    "crates/tasks_ui",
 70    "crates/search",
 71    "crates/semantic_index",
 72    "crates/settings",
 73    "crates/snippet",
 74    "crates/sqlez",
 75    "crates/sqlez_macros",
 76    "crates/story",
 77    "crates/storybook",
 78    "crates/sum_tree",
 79    "crates/terminal",
 80    "crates/terminal_view",
 81    "crates/text",
 82    "crates/theme",
 83    "crates/theme_importer",
 84    "crates/theme_selector",
 85    "crates/telemetry_events",
 86    "crates/time_format",
 87    "crates/ui",
 88    "crates/util",
 89    "crates/vcs_menu",
 90    "crates/vim",
 91    "crates/welcome",
 92    "crates/workspace",
 93    "crates/zed",
 94    "crates/zed_actions",
 95    "extensions/gleam",
 96]
 97default-members = ["crates/zed"]
 98resolver = "2"
 99
100[workspace.dependencies]
101activity_indicator = { path = "crates/activity_indicator" }
102ai = { path = "crates/ai" }
103assets = { path = "crates/assets" }
104assistant = { path = "crates/assistant" }
105audio = { path = "crates/audio" }
106auto_update = { path = "crates/auto_update" }
107breadcrumbs = { path = "crates/breadcrumbs" }
108call = { path = "crates/call" }
109channel = { path = "crates/channel" }
110cli = { path = "crates/cli" }
111client = { path = "crates/client" }
112clock = { path = "crates/clock" }
113collab = { path = "crates/collab" }
114collab_ui = { path = "crates/collab_ui" }
115collections = { path = "crates/collections" }
116color = { path = "crates/color" }
117command_palette = { path = "crates/command_palette" }
118command_palette_hooks = { path = "crates/command_palette_hooks" }
119copilot = { path = "crates/copilot" }
120copilot_ui = { path = "crates/copilot_ui" }
121db = { path = "crates/db" }
122diagnostics = { path = "crates/diagnostics" }
123editor = { path = "crates/editor" }
124extension = { path = "crates/extension" }
125extensions_ui = { path = "crates/extensions_ui" }
126feature_flags = { path = "crates/feature_flags" }
127feedback = { path = "crates/feedback" }
128file_finder = { path = "crates/file_finder" }
129fs = { path = "crates/fs" }
130fsevent = { path = "crates/fsevent" }
131fuzzy = { path = "crates/fuzzy" }
132git = { path = "crates/git" }
133go_to_line = { path = "crates/go_to_line" }
134gpui = { path = "crates/gpui" }
135gpui_macros = { path = "crates/gpui_macros" }
136install_cli = { path = "crates/install_cli" }
137journal = { path = "crates/journal" }
138language = { path = "crates/language" }
139language_selector = { path = "crates/language_selector" }
140language_tools = { path = "crates/language_tools" }
141languages = { path = "crates/languages" }
142live_kit_client = { path = "crates/live_kit_client" }
143live_kit_server = { path = "crates/live_kit_server" }
144lsp = { path = "crates/lsp" }
145markdown_preview = { path = "crates/markdown_preview" }
146media = { path = "crates/media" }
147menu = { path = "crates/menu" }
148multi_buffer = { path = "crates/multi_buffer" }
149node_runtime = { path = "crates/node_runtime" }
150notifications = { path = "crates/notifications" }
151outline = { path = "crates/outline" }
152picker = { path = "crates/picker" }
153plugin = { path = "crates/plugin" }
154plugin_macros = { path = "crates/plugin_macros" }
155prettier = { path = "crates/prettier" }
156project = { path = "crates/project" }
157project_core = { path = "crates/project_core" }
158project_panel = { path = "crates/project_panel" }
159project_symbols = { path = "crates/project_symbols" }
160quick_action_bar = { path = "crates/quick_action_bar" }
161recent_projects = { path = "crates/recent_projects" }
162release_channel = { path = "crates/release_channel" }
163rich_text = { path = "crates/rich_text" }
164rope = { path = "crates/rope" }
165rpc = { path = "crates/rpc" }
166task = { path = "crates/task" }
167tasks_ui = { path = "crates/tasks_ui" }
168search = { path = "crates/search" }
169semantic_index = { path = "crates/semantic_index" }
170settings = { path = "crates/settings" }
171snippet = { path = "crates/snippet" }
172sqlez = { path = "crates/sqlez" }
173sqlez_macros = { path = "crates/sqlez_macros" }
174story = { path = "crates/story" }
175storybook = { path = "crates/storybook" }
176sum_tree = { path = "crates/sum_tree" }
177terminal = { path = "crates/terminal" }
178terminal_view = { path = "crates/terminal_view" }
179text = { path = "crates/text" }
180theme = { path = "crates/theme" }
181theme_importer = { path = "crates/theme_importer" }
182theme_selector = { path = "crates/theme_selector" }
183telemetry_events = { path = "crates/telemetry_events" }
184time_format = { path = "crates/time_format" }
185ui = { path = "crates/ui" }
186util = { path = "crates/util" }
187vcs_menu = { path = "crates/vcs_menu" }
188vim = { path = "crates/vim" }
189welcome = { path = "crates/welcome" }
190workspace = { path = "crates/workspace" }
191zed = { path = "crates/zed" }
192zed_actions = { path = "crates/zed_actions" }
193
194anyhow = "1.0.57"
195async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
196async-tar = "0.4.2"
197async-trait = "0.1"
198bitflags = "2.4.2"
199blade-graphics = { git = "https://github.com/kvark/blade", rev = "e9d93a4d41f3946a03ffb76136290d6ccf7f2b80" }
200blade-macros = { git = "https://github.com/kvark/blade", rev = "e9d93a4d41f3946a03ffb76136290d6ccf7f2b80" }
201blade-rwh = { package = "raw-window-handle", version = "0.5" }
202chrono = { version = "0.4", features = ["serde"] }
203clickhouse = { version = "0.11.6" }
204ctor = "0.2.6"
205core-foundation = { version = "0.9.3" }
206core-foundation-sys = "0.8.6"
207derive_more = "0.99.17"
208env_logger = "0.9"
209futures = "0.3"
210git2 = { version = "0.15", default-features = false }
211globset = "0.4"
212hex = "0.4.3"
213ignore = "0.4.22"
214indoc = "1"
215# We explicitly disable http2 support in isahc.
216isahc = { version = "1.7.2", default-features = false, features = ["static-curl", "text-decoding"] }
217itertools = "0.11.0"
218lazy_static = "1.4.0"
219linkify = "0.10.0"
220log = { version = "0.4.16", features = ["kv_unstable_serde"] }
221ordered-float = "2.1.1"
222palette = { version = "0.7.5", default-features = false, features = ["std"] }
223parking_lot = "0.11.1"
224profiling = "1"
225postage = { version = "0.5", features = ["futures-traits"] }
226pretty_assertions = "1.3.0"
227prost = "0.8"
228pulldown-cmark = { version = "0.10.0", default-features = false }
229rand = "0.8.5"
230refineable = { path = "./crates/refineable" }
231regex = "1.5"
232rusqlite = { version = "0.29.0", features = ["blob", "array", "modern_sqlite"] }
233rust-embed = { version = "8.0", features = ["include-exclude"] }
234schemars = "0.8"
235semver = "1.0"
236serde = { version = "1.0", features = ["derive", "rc"] }
237serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
238serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
239serde_json_lenient = { version = "0.1", features = ["preserve_order", "raw_value"] }
240serde_repr = "0.1"
241sha2 = "0.10"
242shellexpand = "2.1.0"
243smallvec = { version = "1.6", features = ["union"] }
244smol = "1.2"
245strum = { version = "0.25.0", features = ["derive"] }
246sysinfo = "0.29.10"
247tempfile = "3.9.0"
248thiserror = "1.0.29"
249tiktoken-rs = "0.5.7"
250time = { version = "0.3", features = ["serde", "serde-well-known", "formatting"] }
251toml = "0.8"
252tower-http = "0.4.4"
253tree-sitter = { version = "0.20", features = ["wasm"] }
254tree-sitter-astro = { git = "https://github.com/virchau13/tree-sitter-astro.git", rev = "e924787e12e8a03194f36a113290ac11d6dc10f3" }
255tree-sitter-bash = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "7331995b19b8f8aba2d5e26deb51d2195c18bc94" }
256tree-sitter-c = "0.20.1"
257tree-sitter-clojure = { git = "https://github.com/prcastro/tree-sitter-clojure", branch = "update-ts" }
258tree-sitter-c-sharp = { git = "https://github.com/tree-sitter/tree-sitter-c-sharp", rev = "dd5e59721a5f8dae34604060833902b882023aaf" }
259tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "f44509141e7e483323d2ec178f2d2e6c0fc041c1" }
260tree-sitter-css = { git = "https://github.com/tree-sitter/tree-sitter-css", rev = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" }
261tree-sitter-dockerfile = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "33e22c33bcdbfc33d42806ee84cfd0b1248cc392" }
262tree-sitter-dart = { git = "https://github.com/agent3bood/tree-sitter-dart", rev = "48934e3bf757a9b78f17bdfaa3e2b4284656fdc7" }
263tree-sitter-elixir = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "a2861e88a730287a60c11ea9299c033c7d076e30" }
264tree-sitter-elm = { git = "https://github.com/elm-tooling/tree-sitter-elm", rev = "692c50c0b961364c40299e73c1306aecb5d20f40" }
265tree-sitter-embedded-template = "0.20.0"
266tree-sitter-erlang = "0.4.0"
267tree-sitter-gitcommit = { git = "https://github.com/gbprod/tree-sitter-gitcommit" }
268tree-sitter-gleam = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "58b7cac8fc14c92b0677c542610d8738c373fa81" }
269tree-sitter-glsl = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "2a56fb7bc8bb03a1892b4741279dd0a8758b7fb3" }
270tree-sitter-go = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "aeb2f33b366fd78d5789ff104956ce23508b85db" }
271tree-sitter-gomod = { git = "https://github.com/camdencheek/tree-sitter-go-mod" }
272tree-sitter-gowork = { git = "https://github.com/d1y/tree-sitter-go-work" }
273tree-sitter-haskell = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "8a99848fc734f9c4ea523b3f2a07df133cbbcec2" }
274tree-sitter-hcl = { git = "https://github.com/MichaHoffmann/tree-sitter-hcl", rev = "v1.1.0" }
275rustc-demangle = "0.1.23"
276tree-sitter-heex = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" }
277tree-sitter-html = "0.19.0"
278tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "40a81c01a40ac48744e0c8ccabbaba1920441199" }
279tree-sitter-lua = "0.0.14"
280tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
281tree-sitter-nix = { git = "https://github.com/nix-community/tree-sitter-nix", rev = "66e3e9ce9180ae08fc57372061006ef83f0abde7" }
282tree-sitter-nu = { git = "https://github.com/nushell/tree-sitter-nu", rev = "7dd29f9616822e5fc259f5b4ae6c4ded9a71a132" }
283tree-sitter-ocaml = { git = "https://github.com/tree-sitter/tree-sitter-ocaml", rev = "4abfdc1c7af2c6c77a370aee974627be1c285b3b" }
284tree-sitter-php = "0.21.1"
285tree-sitter-prisma-io = { git = "https://github.com/victorhqc/tree-sitter-prisma" }
286tree-sitter-proto = { git = "https://github.com/rewinfrey/tree-sitter-proto", rev = "36d54f288aee112f13a67b550ad32634d0c2cb52" }
287tree-sitter-purescript = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "v0.1.0" }
288tree-sitter-python = "0.20.2"
289tree-sitter-racket = { git = "https://github.com/zed-industries/tree-sitter-racket", rev = "eb010cf2c674c6fd9a6316a84e28ef90190fe51a" }
290tree-sitter-ruby = "0.20.0"
291tree-sitter-rust = "0.20.3"
292tree-sitter-scheme = { git = "https://github.com/6cdh/tree-sitter-scheme", rev = "af0fd1fa452cb2562dc7b5c8a8c55551c39273b9" }
293tree-sitter-svelte = { git = "https://github.com/Himujjal/tree-sitter-svelte", rev = "bd60db7d3d06f89b6ec3b287c9a6e9190b5564bd" }
294tree-sitter-toml = { git = "https://github.com/tree-sitter/tree-sitter-toml", rev = "342d9be207c2dba869b9967124c679b5e6fd0ebe" }
295tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
296tree-sitter-uiua = { git = "https://github.com/shnarazk/tree-sitter-uiua", rev = "21dc2db39494585bf29a3f86d5add6e9d11a22ba" }
297tree-sitter-vue = { git = "https://github.com/zed-industries/tree-sitter-vue", rev = "6608d9d60c386f19d80af7d8132322fa11199c42" }
298tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "f545a41f57502e1b5ddf2a6668896c1b0620f930" }
299tree-sitter-zig = { git = "https://github.com/maxxnino/tree-sitter-zig", rev = "0d08703e4c3f426ec61695d7617415fff97029bd" }
300unindent = "0.1.7"
301unicase = "2.6"
302url = "2.2"
303uuid = { version = "1.1.2", features = ["v4"] }
304wasmparser = "0.121"
305wasmtime = "18.0"
306wasmtime-wasi = "18.0"
307which = "6.0.0"
308sys-locale = "0.3.1"
309
310[patch.crates-io]
311tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "e4a23971ec3071a09c1e84816954c98f96e98e52" }
312# Workaround for a broken nightly build of gpui: See #7644 and revisit once 0.5.3 is released.
313pathfinder_simd = { git = "https://github.com/servo/pathfinder.git", rev = "e4fcda0d5259d0acf902aee6de7d2501f2bd6629" }
314
315[profile.dev]
316split-debuginfo = "unpacked"
317debug = "limited"
318
319# todo(linux) - Remove this
320[profile.dev.package.blade-graphics]
321split-debuginfo = "off"
322debug = "full"
323
324[profile.dev.package]
325taffy = { opt-level = 3 }
326cranelift-codegen = { opt-level = 3 }
327wasmtime-cranelift = { opt-level = 3 }
328
329[profile.release]
330debug = "limited"
331lto = "thin"
332codegen-units = 1
333
334[workspace.metadata.cargo-machete]
335ignored = ["bindgen", "cbindgen", "prost_build", "serde"]