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