From d4f6ca44bc17992b3b88fb687dfe2dd3b52f3aa2 Mon Sep 17 00:00:00 2001 From: Eduardo de Melo Xavier Date: Sun, 11 Jan 2026 17:01:03 -0300 Subject: [PATCH] Update GPUI dependency: ashpd 0.12 -> 0.12.1 (#46564) Release Notes: - N/A TL;DR: There was a closed issue 7 hours ago that changed ashpd version, it needed another bump. A dependency of gpui called ashpd has a fix in v0.12.1, GPUI has the 0.12 version. After forking zed and patching the gpui source to be mine with 0.12.1 it was able to use GPUI as a dependency and compile the project. The error I was getting and the recomendation to do this PR can be seen in this [closed issue from ashpd](https://github.com/bilelmoussaoui/ashpd/issues/325). After changing the dependecy I hit cargo check: ```bash Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 24s ``` And cargo run: ```bash Compiling zed v0.220.0 (/home/user/git/xaviduds/zed/crates/zed) Finished `dev` profile [unoptimized + debuginfo] target(s) in 9m 44s Running `target/debug/zed` ``` Zed compiled and opened: image --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index da1aff033b4e9635f614803a9ec70e2fc0d11343..0e0e47c1ddf80650c355734f800f8da9bcc0c074 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -784,9 +784,9 @@ dependencies = [ [[package]] name = "ashpd" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0986d5b4f0802160191ad75f8d33ada000558757db3defb70299ca95d9fcbd" +checksum = "618a409b91d5265798a99e3d1d0b226911605e581c4e7255e83c1e397b172bce" dependencies = [ "async-fs", "async-net", diff --git a/Cargo.toml b/Cargo.toml index ffd637ee532a5dad26bdc9e51a8e4c0ae2be1ed7..1b76ca469c70c8bf5fd6d272d32cd550a5908d0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -450,7 +450,7 @@ alacritty_terminal = "0.25.1-rc1" any_vec = "0.14" anyhow = "1.0.86" arrayvec = { version = "0.7.4", features = ["serde"] } -ashpd = { version = "0.12", default-features = false, features = ["async-std"] } +ashpd = { version = "0.12.1", default-features = false, features = ["async-std"] } async-compat = "0.2.1" async-compression = { version = "0.4", features = ["gzip", "futures-io"] } async-dispatcher = "0.1"