From 3dd60ed7dfc57b201fbc92bd7cc7398148066ccc Mon Sep 17 00:00:00 2001 From: Alain Emilia Anna Zscheile Date: Wed, 1 Jan 2025 22:39:10 +0100 Subject: [PATCH] deps(egui): fix missing required feature "async-std" for rfd/xdg-portal Error message: Compiling rfd v0.15.1 error: failed to run custom build command for `rfd v0.15.1` Caused by: process didn't exit successfully: `[redacted]/topola/target/debug/build/rfd-91f81cc3d21cf4fd/build-script-build` (exit status: 101) --- stderr thread 'main' panicked at [redacted]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rfd-0.15.1/build.rs:21:21: One of the `tokio` or `async-std` features must be enabled to use `xdg-portal` note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace --- crates/topola-egui/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/topola-egui/Cargo.toml b/crates/topola-egui/Cargo.toml index 9444e2c..b98b204 100644 --- a/crates/topola-egui/Cargo.toml +++ b/crates/topola-egui/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" default = ["disable_contracts", "xdg-portal"] disable_contracts = ["topola/disable_contracts"] gtk3 = ["rfd/gtk3"] -xdg-portal = ["rfd/xdg-portal"] +xdg-portal = ["rfd/async-std", "rfd/xdg-portal"] [dependencies] derive-getters.workspace = true