diff --git a/crates/assistant/Cargo.toml b/crates/assistant/Cargo.toml index 3b68b5cc9a0ee337e0483f94f77c68e62f3cf3df..456cf9dcd6e8f8e99847812d8b57549b990e4c97 100644 --- a/crates/assistant/Cargo.toml +++ b/crates/assistant/Cargo.toml @@ -103,6 +103,7 @@ pretty_assertions.workspace = true project = { workspace = true, features = ["test-support"] } rand.workspace = true serde_json_lenient.workspace = true +terminal_view = { workspace = true, features = ["test-support"] } text = { workspace = true, features = ["test-support"] } tree-sitter-md.workspace = true unindent.workspace = true diff --git a/crates/image_viewer/Cargo.toml b/crates/image_viewer/Cargo.toml index f194b2c49565a7e5a6ea877a9885eb33916508f2..f408d31177d68b4b72b66397ec5ef68fefb23311 100644 --- a/crates/image_viewer/Cargo.toml +++ b/crates/image_viewer/Cargo.toml @@ -24,3 +24,6 @@ theme.workspace = true ui.workspace = true util.workspace = true workspace.workspace = true + +[features] +test-support = ["gpui/test-support"] diff --git a/crates/repl/Cargo.toml b/crates/repl/Cargo.toml index ac22bb52d094f9c1e0ffc3fb82034bc6f3e3e52a..cc6cd7c1c84f8cf91b0175b94b519941916713e8 100644 --- a/crates/repl/Cargo.toml +++ b/crates/repl/Cargo.toml @@ -63,6 +63,7 @@ language = { workspace = true, features = ["test-support"] } languages = { workspace = true, features = ["test-support"] } project = { workspace = true, features = ["test-support"] } settings = { workspace = true, features = ["test-support"] } +terminal_view = { workspace = true, features = ["test-support"] } theme = { workspace = true, features = ["test-support"] } tree-sitter-md.workspace = true tree-sitter-typescript.workspace = true diff --git a/crates/terminal_view/Cargo.toml b/crates/terminal_view/Cargo.toml index 7e4a4fe76ff717f8e47d7d6d4d5f5dbc460ddffe..83803ff21c9761d1b32d270336d07b5cd676e958 100644 --- a/crates/terminal_view/Cargo.toml +++ b/crates/terminal_view/Cargo.toml @@ -8,6 +8,9 @@ license = "GPL-3.0-or-later" [lints] workspace = true +[features] +test-support = ["editor/test-support", "gpui/test-support"] + [lib] path = "src/terminal_view.rs" doctest = false diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml index c25698e041703281bc399c5c5cacda7f0af40ebc..8f911b73cfd3f26c0fa33cbbabc95705287df356 100644 --- a/crates/zed/Cargo.toml +++ b/crates/zed/Cargo.toml @@ -143,8 +143,10 @@ ashpd.workspace = true call = { workspace = true, features = ["test-support"] } editor = { workspace = true, features = ["test-support"] } gpui = { workspace = true, features = ["test-support"] } +image_viewer = { workspace = true, features = ["test-support"] } language = { workspace = true, features = ["test-support"] } project = { workspace = true, features = ["test-support"] } +terminal_view = { workspace = true, features = ["test-support"] } tree-sitter-md.workspace = true tree-sitter-rust.workspace = true workspace = { workspace = true, features = ["test-support"] }