Cargo.toml

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