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_macros",
 32    "crates/install_cli",
 33    "crates/journal",
 34    "crates/language",
 35    "crates/language_selector",
 36    "crates/language_tools",
 37    "crates/live_kit_client",
 38    "crates/live_kit_server",
 39    "crates/lsp",
 40    "crates/media",
 41    "crates/menu",
 42    "crates/node_runtime",
 43    "crates/outline",
 44    "crates/picker",
 45    "crates/plugin",
 46    "crates/plugin_macros",
 47    "crates/plugin_runtime",
 48    "crates/project",
 49    "crates/project_panel",
 50    "crates/project_symbols",
 51    "crates/recent_projects",
 52    "crates/rope",
 53    "crates/rpc",
 54    "crates/search",
 55    "crates/settings",
 56    "crates/snippet",
 57    "crates/sqlez",
 58    "crates/sqlez_macros",
 59    "crates/staff_mode",
 60    "crates/sum_tree",
 61    "crates/terminal",
 62    "crates/text",
 63    "crates/theme",
 64    "crates/theme_selector",
 65    "crates/util",
 66    "crates/vim",
 67    "crates/vcs_menu",
 68    "crates/workspace",
 69    "crates/welcome",
 70    "crates/xtask",
 71    "crates/zed",
 72    "crates/zed-actions"
 73]
 74default-members = ["crates/zed"]
 75resolver = "2"
 76
 77[workspace.dependencies]
 78anyhow = { version = "1.0.57" }
 79async-trait = { version = "0.1" }
 80ctor = { version = "0.1" }
 81env_logger = { version = "0.9" }
 82futures = { version = "0.3" }
 83globset = { version = "0.4" }
 84indoc = "1"
 85isahc = "1.7.2"
 86lazy_static = { version = "1.4.0" }
 87log = { version = "0.4.16", features = ["kv_unstable_serde"] }
 88ordered-float = { version = "2.1.1" }
 89parking_lot = { version = "0.11.1" }
 90postage = { version = "0.5", features = ["futures-traits"] }
 91rand = { version = "0.8.5" }
 92regex = { version = "1.5" }
 93rust-embed = { version = "6.3", features = ["include-exclude"] }
 94schemars = { version = "0.8" }
 95serde = { version = "1.0", features = ["derive", "rc"] }
 96serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
 97serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
 98smallvec = { version = "1.6", features = ["union"] }
 99smol = { version = "1.2" }
100tempdir = { version = "0.3.7" }
101thiserror = { version = "1.0.29" }
102time = { version = "0.3", features = ["serde", "serde-well-known"] }
103toml = { version = "0.5" }
104tree-sitter = "0.20"
105unindent = { version = "0.1.7" }
106pretty_assertions = "1.3.0"
107
108[patch.crates-io]
109tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "49226023693107fba9a1191136a4f47f38cdca73" }
110async-task = { git = "https://github.com/zed-industries/async-task", rev = "341b57d6de98cdfd7b418567b8de2022ca993a6e" }
111
112# TODO - Remove when a version is released with this PR: https://github.com/servo/core-foundation-rs/pull/457
113cocoa = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
114cocoa-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
115core-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
116core-foundation-sys = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
117core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "079665882507dd5e2ff77db3de5070c1f6c0fb85" }
118
119[profile.dev]
120split-debuginfo = "unpacked"
121
122[profile.release]
123debug = true
124lto = "thin"
125codegen-units = 1