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