Cargo.toml

  1[workspace]
  2members = [
  3    "crates/activity_indicator",
  4    "crates/ai",
  5    "crates/audio",
  6    "crates/auto_update",
  7    "crates/breadcrumbs",
  8    "crates/call",
  9    "crates/cli",
 10    "crates/client",
 11    "crates/clock",
 12    "crates/collab",
 13    "crates/collab_ui",
 14    "crates/collections",
 15    "crates/command_palette",
 16    "crates/context_menu",
 17    "crates/copilot",
 18    "crates/copilot_button",
 19    "crates/db",
 20    "crates/diagnostics",
 21    "crates/drag_and_drop",
 22    "crates/editor",
 23    "crates/feedback",
 24    "crates/file_finder",
 25    "crates/fs",
 26    "crates/fsevent",
 27    "crates/fuzzy",
 28    "crates/git",
 29    "crates/go_to_line",
 30    "crates/gpui",
 31    "crates/gpui/playground",
 32    "crates/gpui/playground/ui",
 33    "crates/gpui_macros",
 34    "crates/install_cli",
 35    "crates/journal",
 36    "crates/language",
 37    "crates/language_selector",
 38    "crates/language_tools",
 39    "crates/live_kit_client",
 40    "crates/live_kit_server",
 41    "crates/lsp",
 42    "crates/media",
 43    "crates/menu",
 44    "crates/node_runtime",
 45    "crates/outline",
 46    "crates/picker",
 47    "crates/plugin",
 48    "crates/plugin_macros",
 49    "crates/plugin_runtime",
 50    "crates/project",
 51    "crates/project_panel",
 52    "crates/project_symbols",
 53    "crates/recent_projects",
 54    "crates/rope",
 55    "crates/rpc",
 56    "crates/search",
 57    "crates/settings",
 58    "crates/snippet",
 59    "crates/sqlez",
 60    "crates/sqlez_macros",
 61    "crates/staff_mode",
 62    "crates/sum_tree",
 63    "crates/terminal",
 64    "crates/text",
 65    "crates/theme",
 66    "crates/theme_selector",
 67    "crates/util",
 68    "crates/vector_store",
 69    "crates/vim",
 70    "crates/vcs_menu",
 71    "crates/workspace",
 72    "crates/welcome",
 73    "crates/xtask",
 74    "crates/zed",
 75    "crates/zed-actions"
 76]
 77default-members = ["crates/zed"]
 78resolver = "2"
 79
 80[workspace.dependencies]
 81anyhow = { version = "1.0.57" }
 82async-trait = { version = "0.1" }
 83ctor = { version = "0.1" }
 84env_logger = { version = "0.9" }
 85futures = { version = "0.3" }
 86globset = { version = "0.4" }
 87indoc = "1"
 88# We explicitly disable a http2 support in isahc.
 89isahc = { version = "1.7.2", default-features = false, features = ["static-curl", "text-decoding"] }
 90lazy_static = { version = "1.4.0" }
 91log = { version = "0.4.16", features = ["kv_unstable_serde"] }
 92ordered-float = { version = "2.1.1" }
 93parking_lot = { version = "0.11.1" }
 94postage = { version = "0.5", features = ["futures-traits"] }
 95rand = { version = "0.8.5" }
 96regex = { version = "1.5" }
 97rust-embed = { version = "6.3", features = ["include-exclude"] }
 98schemars = { version = "0.8" }
 99serde = { version = "1.0", features = ["derive", "rc"] }
100serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
101serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
102smallvec = { version = "1.6", features = ["union"] }
103smol = { version = "1.2" }
104tempdir = { version = "0.3.7" }
105thiserror = { version = "1.0.29" }
106time = { version = "0.3", features = ["serde", "serde-well-known"] }
107toml = { version = "0.5" }
108tree-sitter = "0.20"
109unindent = { version = "0.1.7" }
110pretty_assertions = "1.3.0"
111
112[patch.crates-io]
113tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "49226023693107fba9a1191136a4f47f38cdca73" }
114async-task = { git = "https://github.com/zed-industries/async-task", rev = "341b57d6de98cdfd7b418567b8de2022ca993a6e" }
115
116# TODO - Remove when a version is released with this PR: https://github.com/servo/core-foundation-rs/pull/457
117cocoa = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
118cocoa-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
119core-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
120core-foundation-sys = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
121core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
122
123[profile.dev]
124split-debuginfo = "unpacked"
125
126[profile.release]
127debug = true
128lto = "thin"
129codegen-units = 1