From acced53c06d0a0350fe9160a843f4c200dc2d51f Mon Sep 17 00:00:00 2001 From: Ren Amamiya Date: Sat, 14 Nov 2026 10:10:53 +0700 Subject: [PATCH] chore: add gpui-pre-web dependency --- Cargo.lock | 1 + Cargo.toml | 1 + crates/workspace/src/dialogs/settings.rs | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index cfc05891..9ea58fba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1837,6 +1837,7 @@ dependencies = [ "gpui-kit", "gpui-pre", "gpui-pre-platform", + "gpui-pre-web", "instant", "js-sys", "log", diff --git a/Cargo.toml b/Cargo.toml index 28b8b11e..ccb999e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ publish = false [workspace.dependencies] gpui = { package = "gpui-pre", version = "0.3.12" } gpui_platform = { package = "gpui-pre-platform", version = "0.3.12", features = ["font-kit", "x11", "wayland"] } +gpui_web = { package = "gpui-pre-web", version = "0.3.12" } gpui_util = { package = "gpui-pre-util", version = "0.3.12" } reqwest_client = { package = "gpui-pre-reqwest-client", version = "0.3.12" } gpui_tokio = { path = "crates/gpui_tokio" } diff --git a/crates/workspace/src/dialogs/settings.rs b/crates/workspace/src/dialogs/settings.rs index 68662503..1b311aac 100644 --- a/crates/workspace/src/dialogs/settings.rs +++ b/crates/workspace/src/dialogs/settings.rs @@ -7,7 +7,6 @@ use gpui::PathPromptOptions; #[cfg(not(target_arch = "wasm32"))] use gpui::Task; use gpui::http_client::Url; -#[cfg(not(target_arch = "wasm32"))] use gpui::prelude::FluentBuilder as _; use gpui::{ AnyElement, App, AppContext, Context, Entity, IntoElement, ParentElement, Render, Styled,