Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

assistant2: fix use with rust-analyzer `"workspace": false` (#23326)

Michael Sloan9a7b73b161ea
diff --git a/crates/assistant2/Cargo.toml b/crates/assistant2/Cargo.toml
index ea3b7935e68..bb83607bba8 100644
--- a/crates/assistant2/Cargo.toml
+++ b/crates/assistant2/Cargo.toml
@@ -12,6 +12,14 @@ workspace = true
path = "src/assistant.rs"
doctest = false
+[features]
+test-support = [
+ "editor/test-support",
+ "language/test-support",
+ "project/test-support",
+ "text/test-support",
+]
+
[dependencies]
anyhow.workspace = true
assistant_settings.workspace = true