1[workspace]
2members = [
3 "crates/activity_indicator",
4 "crates/ai",
5 "crates/assistant",
6 "crates/audio",
7 "crates/audio2",
8 "crates/auto_update",
9 "crates/auto_update2",
10 "crates/breadcrumbs",
11 "crates/call",
12 "crates/call2",
13 "crates/channel",
14 "crates/channel2",
15 "crates/cli",
16 "crates/client",
17 "crates/client2",
18 "crates/clock",
19 "crates/collab",
20 "crates/collab2",
21 "crates/collab_ui",
22 "crates/collab_ui2",
23 "crates/collections",
24 "crates/command_palette",
25 "crates/command_palette2",
26 "crates/component_test",
27 "crates/context_menu",
28 "crates/copilot",
29 "crates/copilot2",
30 "crates/copilot_button",
31 "crates/db",
32 "crates/db2",
33 "crates/refineable",
34 "crates/refineable/derive_refineable",
35 "crates/diagnostics",
36 "crates/diagnostics2",
37 "crates/drag_and_drop",
38 "crates/editor",
39 "crates/feature_flags",
40 "crates/feature_flags2",
41 "crates/feedback",
42 "crates/file_finder",
43 "crates/fs",
44 "crates/fs2",
45 "crates/fsevent",
46 "crates/fuzzy",
47 "crates/fuzzy2",
48 "crates/git",
49 "crates/go_to_line",
50 "crates/go_to_line2",
51 "crates/gpui",
52 "crates/gpui_macros",
53 "crates/gpui2",
54 "crates/gpui2_macros",
55 "crates/install_cli",
56 "crates/install_cli2",
57 "crates/journal",
58 "crates/journal2",
59 "crates/language",
60 "crates/language2",
61 "crates/language_selector",
62 "crates/language_tools",
63 "crates/live_kit_client",
64 "crates/live_kit_server",
65 "crates/lsp",
66 "crates/lsp2",
67 "crates/media",
68 "crates/menu",
69 "crates/menu2",
70 "crates/multi_buffer",
71 "crates/multi_buffer2",
72 "crates/node_runtime",
73 "crates/notifications",
74 "crates/notifications2",
75 "crates/outline",
76 "crates/picker",
77 "crates/picker2",
78 "crates/plugin",
79 "crates/plugin_macros",
80 "crates/plugin_runtime",
81 "crates/prettier",
82 "crates/prettier2",
83 "crates/project",
84 "crates/project2",
85 "crates/project_panel",
86 "crates/project_panel2",
87 "crates/project_symbols",
88 "crates/recent_projects",
89 "crates/rope",
90 "crates/rpc",
91 "crates/rpc2",
92 "crates/search",
93 "crates/search2",
94 "crates/settings",
95 "crates/settings2",
96 "crates/snippet",
97 "crates/sqlez",
98 "crates/sqlez_macros",
99 "crates/rich_text",
100 "crates/storybook2",
101 "crates/sum_tree",
102 "crates/terminal",
103 "crates/terminal2",
104 "crates/terminal_view2",
105 "crates/text",
106 "crates/theme",
107 "crates/theme2",
108 "crates/theme_importer",
109 "crates/theme_selector",
110 "crates/theme_selector2",
111 "crates/ui2",
112 "crates/util",
113 "crates/semantic_index",
114 "crates/story",
115 "crates/vim",
116 "crates/vcs_menu",
117 "crates/workspace2",
118 "crates/welcome",
119 "crates/welcome2",
120 "crates/xtask",
121 "crates/zed",
122 "crates/zed2",
123 "crates/zed-actions",
124 "crates/zed_actions2"
125]
126default-members = ["crates/zed"]
127resolver = "2"
128
129[workspace.dependencies]
130anyhow = { version = "1.0.57" }
131async-trait = { version = "0.1" }
132# TODO: Switch back to the published version of `ctor` once:
133# 1. A new version of `ctor` is published with this change: https://github.com/mmastrac/rust-ctor/pull/295
134# 2. We've confirmed it's fine to update to the latest version of `ctor` (we're currently on v0.1.20).
135ctor = { git = "https://github.com/zed-industries/rust-ctor", rev = "7f824cf6a7943885a649b579f33f9ac53f0d1db6" }
136derive_more = { version = "0.99.17" }
137env_logger = { version = "0.9" }
138futures = { version = "0.3" }
139globset = { version = "0.4" }
140indoc = "1"
141# We explicitly disable a http2 support in isahc.
142isahc = { version = "1.7.2", default-features = false, features = ["static-curl", "text-decoding"] }
143lazy_static = { version = "1.4.0" }
144log = { version = "0.4.16", features = ["kv_unstable_serde"] }
145ordered-float = { version = "2.1.1" }
146parking_lot = { version = "0.11.1" }
147postage = { version = "0.5", features = ["futures-traits"] }
148prost = { version = "0.8" }
149rand = { version = "0.8.5" }
150refineable = { path = "./crates/refineable" }
151regex = { version = "1.5" }
152rust-embed = { version = "8.0", features = ["include-exclude"] }
153rusqlite = { version = "0.29.0", features = ["blob", "array", "modern_sqlite"] }
154schemars = { version = "0.8" }
155serde = { version = "1.0", features = ["derive", "rc"] }
156serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
157serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
158smallvec = { version = "1.6", features = ["union"] }
159smol = { version = "1.2" }
160strum = { version = "0.25.0", features = ["derive"] }
161sysinfo = "0.29.10"
162tempdir = { version = "0.3.7" }
163thiserror = { version = "1.0.29" }
164time = { version = "0.3", features = ["serde", "serde-well-known"] }
165toml = { version = "0.5" }
166tiktoken-rs = "0.5.7"
167tree-sitter = "0.20"
168unindent = { version = "0.1.7" }
169pretty_assertions = "1.3.0"
170git2 = { version = "0.15", default-features = false}
171uuid = { version = "1.1.2", features = ["v4"] }
172
173tree-sitter-bash = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "7331995b19b8f8aba2d5e26deb51d2195c18bc94" }
174tree-sitter-c = "0.20.1"
175tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev="f44509141e7e483323d2ec178f2d2e6c0fc041c1" }
176tree-sitter-css = { git = "https://github.com/tree-sitter/tree-sitter-css", rev = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" }
177tree-sitter-elixir = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "a2861e88a730287a60c11ea9299c033c7d076e30" }
178tree-sitter-elm = { git = "https://github.com/elm-tooling/tree-sitter-elm", rev = "692c50c0b961364c40299e73c1306aecb5d20f40"}
179tree-sitter-embedded-template = "0.20.0"
180tree-sitter-glsl = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "2a56fb7bc8bb03a1892b4741279dd0a8758b7fb3" }
181tree-sitter-go = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "aeb2f33b366fd78d5789ff104956ce23508b85db" }
182tree-sitter-heex = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" }
183tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "40a81c01a40ac48744e0c8ccabbaba1920441199" }
184tree-sitter-rust = "0.20.3"
185tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
186tree-sitter-php = { git = "https://github.com/tree-sitter/tree-sitter-php", rev = "d43130fd1525301e9826f420c5393a4d169819fc" }
187tree-sitter-python = "0.20.2"
188tree-sitter-toml = { git = "https://github.com/tree-sitter/tree-sitter-toml", rev = "342d9be207c2dba869b9967124c679b5e6fd0ebe" }
189tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
190tree-sitter-ruby = "0.20.0"
191tree-sitter-html = "0.19.0"
192tree-sitter-scheme = { git = "https://github.com/6cdh/tree-sitter-scheme", rev = "af0fd1fa452cb2562dc7b5c8a8c55551c39273b9"}
193tree-sitter-svelte = { git = "https://github.com/Himujjal/tree-sitter-svelte", rev = "697bb515471871e85ff799ea57a76298a71a9cca"}
194tree-sitter-racket = { git = "https://github.com/zed-industries/tree-sitter-racket", rev = "eb010cf2c674c6fd9a6316a84e28ef90190fe51a"}
195tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "f545a41f57502e1b5ddf2a6668896c1b0620f930"}
196tree-sitter-lua = "0.0.14"
197tree-sitter-nix = { git = "https://github.com/nix-community/tree-sitter-nix", rev = "66e3e9ce9180ae08fc57372061006ef83f0abde7" }
198tree-sitter-nu = { git = "https://github.com/nushell/tree-sitter-nu", rev = "786689b0562b9799ce53e824cb45a1a2a04dc673"}
199tree-sitter-vue = {git = "https://github.com/zed-industries/tree-sitter-vue", rev = "9b6cb221ccb8d0b956fcb17e9a1efac2feefeb58"}
200tree-sitter-uiua = {git = "https://github.com/shnarazk/tree-sitter-uiua", rev = "9260f11be5900beda4ee6d1a24ab8ddfaf5a19b2"}
201
202[patch.crates-io]
203tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "3b0159d25559b603af566ade3c83d930bf466db1" }
204async-task = { git = "https://github.com/zed-industries/async-task", rev = "341b57d6de98cdfd7b418567b8de2022ca993a6e" }
205
206# TODO - Remove when a version is released with this PR: https://github.com/servo/core-foundation-rs/pull/457
207cocoa = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
208cocoa-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
209core-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
210core-foundation-sys = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
211core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
212
213[profile.dev]
214split-debuginfo = "unpacked"
215debug = "limited"
216
217[profile.dev.package.taffy]
218opt-level = 3
219
220[profile.release]
221debug = "limited"
222lto = "thin"
223codegen-units = 1