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