crates/command_palette/Cargo.toml 🔗
@@ -8,6 +8,9 @@ license = "GPL-3.0-or-later"
[lints]
workspace = true
+[features]
+test-support = ["db/test-support"]
+
[lib]
path = "src/command_palette.rs"
doctest = false
Agus Zubiaga created
crates/command_palette/Cargo.toml | 3 +++
crates/vim/Cargo.toml | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
@@ -8,6 +8,9 @@ license = "GPL-3.0-or-later"
[lints]
workspace = true
+[features]
+test-support = ["db/test-support"]
+
[lib]
path = "src/command_palette.rs"
doctest = false
@@ -55,7 +55,7 @@ zed_actions.workspace = true
[dev-dependencies]
assets.workspace = true
-command_palette.workspace = true
+command_palette = { workspace = true, features = ["test-support"] }
editor = { workspace = true, features = ["test-support"] }
git_ui.workspace = true
gpui = { workspace = true, features = ["test-support"] }