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
This commit is contained in:
Alain Emilia Anna Zscheile 2025-01-01 22:39:10 +01:00
parent 0ef323070b
commit 3dd60ed7df
1 changed files with 1 additions and 1 deletions

View File

@ -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