From a6ee4a18c41b18e73fccb6b1d3a41e361a713715 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 3 Jul 2025 15:17:54 +0300 Subject: [PATCH] Fix remote binary bundling (#33845) Follow-up of https://github.com/zed-industries/zed/pull/32937 Fixes remote server bundling: https://github.com/zed-industries/zed/actions/runs/16043840539/job/45271137215#step:6:2079 Excludes `screen-capture` feature from Zed's default, use it only in the components that need it. Release Notes: - N/A --- Cargo.toml | 1 - crates/call/Cargo.toml | 2 +- crates/collab/Cargo.toml | 1 + crates/livekit_client/Cargo.toml | 2 +- crates/title_bar/Cargo.toml | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1d9cf31c14..82cbb53397 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -276,7 +276,6 @@ go_to_line = { path = "crates/go_to_line" } google_ai = { path = "crates/google_ai" } gpui = { path = "crates/gpui", default-features = false, features = [ "http_client", - "screen-capture", ] } gpui_macros = { path = "crates/gpui_macros" } gpui_tokio = { path = "crates/gpui_tokio" } diff --git a/crates/call/Cargo.toml b/crates/call/Cargo.toml index 75c7a6638a..30e2943af3 100644 --- a/crates/call/Cargo.toml +++ b/crates/call/Cargo.toml @@ -29,7 +29,7 @@ client.workspace = true collections.workspace = true fs.workspace = true futures.workspace = true -gpui.workspace = true +gpui = { workspace = true, features = ["screen-capture"] } language.workspace = true log.workspace = true postage.workspace = true diff --git a/crates/collab/Cargo.toml b/crates/collab/Cargo.toml index 74eff5ec4e..55c15cac5a 100644 --- a/crates/collab/Cargo.toml +++ b/crates/collab/Cargo.toml @@ -35,6 +35,7 @@ dashmap.workspace = true derive_more.workspace = true envy = "0.4.2" futures.workspace = true +gpui = { workspace = true, features = ["screen-capture"] } hex.workspace = true http_client.workspace = true jsonwebtoken.workspace = true diff --git a/crates/livekit_client/Cargo.toml b/crates/livekit_client/Cargo.toml index b4518d6c16..319dc76d48 100644 --- a/crates/livekit_client/Cargo.toml +++ b/crates/livekit_client/Cargo.toml @@ -25,7 +25,7 @@ async-trait.workspace = true collections.workspace = true cpal.workspace = true futures.workspace = true -gpui = { workspace = true, features = ["x11", "wayland"] } +gpui = { workspace = true, features = ["screen-capture", "x11", "wayland"] } gpui_tokio.workspace = true http_client_tls.workspace = true image.workspace = true diff --git a/crates/title_bar/Cargo.toml b/crates/title_bar/Cargo.toml index 5bd5821fa2..123d0468ac 100644 --- a/crates/title_bar/Cargo.toml +++ b/crates/title_bar/Cargo.toml @@ -32,7 +32,7 @@ call.workspace = true chrono.workspace = true client.workspace = true db.workspace = true -gpui.workspace = true +gpui = { workspace = true, features = ["screen-capture"] } notifications.workspace = true project.workspace = true remote.workspace = true