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