Cargo.toml

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